NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Manually Mounting a CDROM on Solaris
Topic: Solaris   Posted:2003-12-14
Printer Friendly: Print

spacerspacer
We had trouble with a CD automatically mounting, so we had to dig in a bit to mount the CD manually.

First we ascertained that the cd was on the same controller as the internal HDD, so listing the devices on controller 0.

# ls /dev/dsk/c0*
/dev/dsk/c0t0d0s0   /dev/dsk/c0t10d0s6  /dev/dsk/c0t12d0s4  /dev/dsk/c0t6d0s2
/dev/dsk/c0t0d0s1   /dev/dsk/c0t10d0s7  /dev/dsk/c0t12d0s5  /dev/dsk/c0t6d0s3
/dev/dsk/c0t0d0s2   /dev/dsk/c0t11d0s0  /dev/dsk/c0t12d0s6  /dev/dsk/c0t6d0s4
/dev/dsk/c0t0d0s3   /dev/dsk/c0t11d0s1  /dev/dsk/c0t12d0s7  /dev/dsk/c0t6d0s5
/dev/dsk/c0t0d0s4   /dev/dsk/c0t11d0s2  /dev/dsk/c0t1d0s0   /dev/dsk/c0t6d0s6
/dev/dsk/c0t0d0s5   /dev/dsk/c0t11d0s3  /dev/dsk/c0t1d0s1   /dev/dsk/c0t6d0s7
/dev/dsk/c0t0d0s6   /dev/dsk/c0t11d0s4  /dev/dsk/c0t1d0s2   /dev/dsk/c0t9d0s0
/dev/dsk/c0t0d0s7   /dev/dsk/c0t11d0s5  /dev/dsk/c0t1d0s3   /dev/dsk/c0t9d0s1
/dev/dsk/c0t10d0s0  /dev/dsk/c0t11d0s6  /dev/dsk/c0t1d0s4   /dev/dsk/c0t9d0s2
/dev/dsk/c0t10d0s1  /dev/dsk/c0t11d0s7  /dev/dsk/c0t1d0s5   /dev/dsk/c0t9d0s3
/dev/dsk/c0t10d0s2  /dev/dsk/c0t12d0s0  /dev/dsk/c0t1d0s6   /dev/dsk/c0t9d0s4
/dev/dsk/c0t10d0s3  /dev/dsk/c0t12d0s1  /dev/dsk/c0t1d0s7   /dev/dsk/c0t9d0s5
/dev/dsk/c0t10d0s4  /dev/dsk/c0t12d0s2  /dev/dsk/c0t6d0s0   /dev/dsk/c0t9d0s6
/dev/dsk/c0t10d0s5  /dev/dsk/c0t12d0s3  /dev/dsk/c0t6d0s1   /dev/dsk/c0t9d0s7

The target number in a solaris device pathname is the SCSI ID, generally 6 for the CDROM drive. Now all we have to do is choose the right slice. Let's try 0:

# mount -o ro /dev/dsk/c0t6d0s0 /mnt/cdrom
mount: /dev/dsk/c0t6d0s0 is not this fstype.

That doesn't seem to work. Maybe it's slice 1.

# mount -o ro /dev/dsk/c0t6d0s1 /mnt/cdrom
# df
/                  (/dev/dsk/c0t0d0s0 ): 5785196 blocks   500003 files
/proc              (/proc             ):       0 blocks     7871 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/dev/fd            (fd                ):       0 blocks        0 files
/var/run           (swap              ): 1861312 blocks    48876 files
/tmp               (swap              ): 1861312 blocks    48876 files
/export/home       (/dev/dsk/c0t0d0s7 ):  623948 blocks   162556 files
/mnt/cdrom         (/dev/dsk/c0t6d0s1 ):   41268 blocks   114922 files
# cd /mnt/cdrom
# ls
a            dev          kernel       opt          reconfigure  usr
bin          devices      lib          platform     sbin         var
cdrom        etc          mnt          proc         tmp          webstart

Total joy. Note: we had to create the mountpoint /mnt/cdrom.




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS