Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mounting a USB flash drive on Solaris 8

Status
Not open for further replies.

ooids

Technical User
May 2, 2001
21
0
0
US
Hi All,

I am trying to mount a USB flash drive onto a Sunblade running Solaris 8

In /var/adm/messages it appears that the device is being picked up but i am getting an error:
"corrupt label - wrong magic number"

Doing the following appears to list the device correctly:
> ls -l /dev/dsk/c*|grep storage

I have run devfsadm.

I have tried mounting it using:
> mount -F pcfs /dev/dsk/c3t0d0s2:c /usb
..but I get a "mount i/o error" message

The USB drive is currently usable on my PC.

Any ideas?

Many Thanks!
 
The only idea I have is that if it's usable on your PC, it's probably not readable by Solaris, but I may be wrong. Perhaps you need to run format on it so that it is recognised?
 
Thanks - but if i run format, won't that destroy data on the drive?
 
Hmm. Possibly - I think you need someone who's used these drives before. Sorry.
 
Just a further thought, althogh cross-posting is generally frowned upon, you might also like to post in Forum60 which is for Solaris-related issues only.
 
Thanks,

I tried the suggestions but got the same results as before - do you think that i need to stop/start the volume manager with the device attached?
 
You shouldn't have to. Are you sure you've installed the USB drivers?

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Good question - i haven't installed anything extra on the machine - i assumed that because the messages file was spilling out with lots of USB related messages, and it seemed to recognize the device, that they were already installed.

How do i check this?

Cheers
 
Here we go:

c3t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: Generic Product: Flash Di Revision: Serial No:  Size: 0.07GB <65536000 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST373307FSUN72G Revision: 0207 Serial No: 0311B0Y37X
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
rmt/0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: EXABYTE Product: EXB-8505SMBANSH2 Revision: 0098 Serial No:

Isn't that patch for Solaris 9? I am on 8... or can a drop a 9 patch on the 8 OS?

Thanks
 
You're right sorry, may be worth looking to see if a patch is available for 8

Can you supply the following

ls /vol/dev/dsk/c3t0d0

if it comes back with unknown format, solaris simply doesn't no about the filesystem on the drive. Make sure it's a fat type file system.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
I have nothing in /vol/dev/dsk
/vol/dev exists but not the dsk directory...

ls -l /dev/dsk/c* | grep stor gives me:
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s0 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:a
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s1 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:b
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s2 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:c
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s3 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:d
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s4 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:e
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s5 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:f
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s6 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:g
lrwxrwxrwx 1 root root 55 Apr 11 08:25 /dev/dsk/c3t0d0s7 -> ../../devices/pci@8,700000/usb@5,3/storage@1/disk@0,0:h

..if that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top