Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

USB Drive: Can't open /dev/rdsk/c2t0d0s2: I/O error

802 views
Skip to first unread message

Jack Dao

unread,
Dec 22, 2009, 9:26:51 PM12/22/09
to

I have a USB drive connected to a SunBlade 150. I turn off all
external drive boxes. I reinstall the OS and now I find that I can't
mount 1 of the drives in a 4 disc external drive box. All other drives
mount OK.

# mount /dev/dsk/c2t0d0s2 /sata2
mount: I/O error
mount: Cannot mount /dev/dsk/c2t0d0s2
#
#
# fsck -y /dev/rdsk/c2t0d0s2
Can't open /dev/rdsk/c2t0d0s2: I/O error


# ls -l /dev/dsk/c2t0d0s2
lrwxrwxrwx 1 root root 57 Dec 22 20:11 /dev/dsk/
c2t0d0s2 -> ../../devices/pci@1f,0/pci@5/usb@2,2/storage@4/disk@0,0:c


# rmformat -l
Looking for devices...
1. Logical Node: /dev/rdsk/c0t1d0s2
Physical Node: /pci@1f,0/ide@d/sd@1,0
Connected Device: PIONEER 16X DVD-ROM 1.21
Device Type: DVD Reader
2. Logical Node: /dev/rdsk/c2t0d0s2
Physical Node: /pci@1f,0/pci@5/usb@2,2/storage@4/disk@0,0
Connected Device: ST310005 28AS
Device Type: Removable
3. Logical Node: /dev/rdsk/c2t0d1s2
Physical Node: /pci@1f,0/pci@5/usb@2,2/storage@4/disk@0,1
Connected Device: WDC WD30 00JS-00PDB0
Device Type: Removable
4. Logical Node: /dev/rdsk/c2t0d2s2
Physical Node: /pci@1f,0/pci@5/usb@2,2/storage@4/disk@0,2
Connected Device: ST330083 1AS
Device Type: Removable
5. Logical Node: /dev/rdsk/c2t0d3s2
Physical Node: /pci@1f,0/pci@5/usb@2,2/storage@4/disk@0,3
Connected Device: WDC WD30 00JS-00PDB0
Device Type: Removable

I can't seem to do anything with it. Any suggestions on what I can do?


Thanks, Dan


Jack Dao

unread,
Dec 22, 2009, 9:41:41 PM12/22/09
to


Using the output of prtvtoc:

# prtvtoc /dev/rdsk/c2t0d0s2
* /dev/rdsk/c2t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 1953525168 sectors
* 1953525101 accessible sectors
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 34 262144 262177
1 3 01 262178 262144 524321
6 4 00 524322 1952984428 1953508749
8 11 00 1953508750 16384 1953525133

I find that I dod not create a filesystem on the '2' partition, but
rather the '6' partition. This was because it is a 1TB disk and for
some reason I couldn't create a 1TB filesysteon on '2', but on;y '6'.

All is well now. Thanks for reading.

/dev/dsk/c2t0d0s6 961710839 579466200 372627531 61% /sata2

Dan

0 new messages