- Make sure that the USB HDD is not plugged into a USB port on the laptop.
- Log into your system.
- Disable the volume manager: svcadm disable volfs
- Plug in the USB HDD to the laptop.
- Determine the SCSI ID for the USB HDD by performing the following command:
# rmformat -l
Looking for devices...
1. Logical Node: /dev/rdsk/c0t2d0p0
Physical Node: /pci@0,0/pci1028,293@1f,2/cdrom@2,0
Connected Device: PLDS DVD-ROM DH-16D5S VD15
Device Type: DVD Reader
2. Logical Node: /dev/rdsk/c4t0d0p0
Physical Node: /pci@0,0/pci1028,293@1a,7/storage@1/disk@0,0
Connected Device: WD 10EAVS External 1.75
Device Type: Removable
3. Logical Node: /dev/rdsk/c0t3d0p0
Physical Node: /pci@0,0/pci1028,293@1f,2/cdrom@3,0
Connected Device: TSSTcorp DVD+-RW SH-216AB D200
Device Type: DVD Reader/Writer
- Determine the partition of the USB HDD with the following command:
# For file in /dev/dsk/c4t0d0* ; do echo $file ; fstyp $file 2>&1 /dev/null ; done
- Mount the USB HDD by performing the following:
# mount /dev/dsk/c4t0d0s2 /USB
- Enable the volume manager: svcadm enable volfs
Monday, January 23, 2012
Determine Partition prior to Mount
This is how you determine what sort of partition type is located on your media attached to a Unix machine. In this example, I am trying to mount a USB Hard Disk Drive (HDD) that has a UFS file system to my laptop. I am working in a Solaris environment, so specific commands may vary: