#fdisk /dev/rdsk/c2t0d0p0
I got a result like :
......
Total disk size is 9729 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active IFS: NTFS 0 2610 2611 27
2 EXT LBA 2611 9727 7117 73
SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration)
Enter Selection:
6
#
above result told me that the first partition of my device , i.e c2t0d0p1 is a ntfs partition.
Then I do the following :
#cd /mnt
#mkdir usb
# mount -F ntfs -o ro /dev/dsk/c2t0d0p1 /mnt/usb
you can execute the following :
#rmformat
I got a result like :
Looking for devices...
1. Logical Node: /dev/rdsk/c2t0d0p0
Physical Node: /pci@0,0/pci152d,754@1d,7/storage@1/disk@0,0
Connected Device: ST380211 0A 3.AA
Device Type: Removable
Bus: USB
Size: 76.3 GB
Label:
Access permissions: Medium is not write protected.
2. Logical Node: /dev/rdsk/c0t0d0p0
Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
Connected Device: Optiarc DVD RW AD-7530A EX32
Device Type: DVD Reader/Writer
Bus: IDE
Size:
Label:
Access permissions:
I will encourage you to check out this documentation for more detailed information about usb storage support in solaris.
so cool blog man... this is what i needed!
ReplyDeleteBTW - I love rmformat command :0
Hey Ritwiki
ReplyDeleteI have one issue trying to mount an USB hdd NTFS, i haveinstalled Opensolaris 09 06 on a sparc ultra60, is this posible??