LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Howto Mount USB drive in Solaris 8 (https://www.linuxquestions.org/questions/solaris-opensolaris-20/howto-mount-usb-drive-in-solaris-8-a-486261/)

talat 09-23-2006 10:40 AM

Howto Mount USB drive in Solaris 8
 
Hi Guys

I am new to solaris .I have Sparc 280R machine on which i have installed Solaris 8 . I need to mount my 128 MB USB drive on it.But i am unable to figure out what is the drive to mount following is my /var/adm/messages file out put.Plz help me.

Regard
Talat


# tail /var/adm/messages
Sep 23 19:17:44 nms.dancom.net.pk pseudo: [ID 129642 kern.info] pseu do-device: devinfo0
Sep 23 19:17:44 nms.dancom.net.pk genunix: [ID 936769 kern.info] dev info0 is /pseudo/devinfo@0
Sep 23 19:19:40 nms.dancom.net.pk su: [ID 810491 auth.crit] 'su root ' failed for talat on /dev/pts/1
Sep 23 21:28:04 nms.dancom.net.pk usba: [ID 855233 kern.info] USB-de vice: storage@4, scsa2usb0 at bus address 3
Sep 23 21:28:04 nms.dancom.net.pk usba: [ID 349649 kern.info] King ston, DataTraveler 2.0, 0E21665013A18BD2
Sep 23 21:28:04 nms.dancom.net.pk genunix: [ID 936769 kern.info] scs a2usb0 is /pci@8,700000/usb@5,3/storage@4
Sep 23 21:31:05 nms.dancom.net.pk scsi: [ID 193665 kern.info] usb_sd 0 at scsa2usb0: target 0 lun 0
Sep 23 21:31:05 nms.dancom.net.pk genunix: [ID 936769 kern.info] usb _sd0 is /pci@8,700000/usb@5,3/storage@4/disk@0,0
Sep 23 21:33:06 nms.dancom.net.pk genunix: [ID 408114 kern.info] /pc i@8,700000/usb@5,3/storage@4/disk@0,0 (usb_sd0) online
Sep 23 21:33:06 nms.dancom.net.pk genunix: [ID 408114 kern.info] /pc i@8,700000/usb@5,3/storage@4 (scsa2usb0) online

jlliagre 09-23-2006 01:32 PM

Run "devfsadm -v" and see what devices show up.

talat 09-23-2006 04:30 PM

following is the output


# devfsadm -v
devfsadm[413]: verbose: removing link /dev/syscon -> ../devices/pseudo/cn@0:syst ty invalid contents
devfsadm[413]: verbose: symlink /dev/syscon -> ../devices/pseudo/cn@0:syscon
#


Regard
Talat

jlliagre 09-24-2006 12:20 AM

Okay, the device looks to be already there.
Run this now:
Code:

ls -l /dev/dsk/*p0 | grep "pci@8,700000/usb@5,3/storage@4"

talat 09-24-2006 12:40 AM

Hi jlliagre

It gives

# ls -l /dev/dsk/*p0 | grep "pci@8,700000/usb@5,3/storage@4"
/dev/dsk/*p0: No such file or directory
#

Regard
Talat

jlliagre 09-24-2006 01:42 AM

Hmm, try
Code:

eject -n

talat 09-25-2006 02:03 PM

Hi

# eject -n
fd -> floppy0
fd0 -> floppy0
fd1 -> floppy1
diskette -> floppy0
diskette0 -> floppy0
diskette1 -> floppy1
rdiskette -> floppy0
rdiskette0 -> floppy0
rdiskette1 -> floppy1
cd -> cdrom0
cd0 -> cdrom0
cd1 -> cdrom1
sr -> cdrom0
sr0 -> cdrom0
/dev/sr0 -> cdrom0
/dev/rsr0 -> cdrom0

Regard
Talat

jlliagre 09-25-2006 02:34 PM

Well, perhaps your Solaris release is too old to support USB storage devices.

Last thing you can try:
Code:

/etc/init.d/volmgt stop
/etc/init.d/volmgt start

and see if some device show up in /rmdisk

Otherwise, you may want to install Solaris 10 or Express.

talat 09-25-2006 03:58 PM

Hi jlliagre

This time i got rmdisk


# eject -n
fd -> floppy0
fd0 -> floppy0
fd1 -> floppy1
diskette -> floppy0
diskette0 -> floppy0
diskette1 -> floppy1
rdiskette -> floppy0
rdiskette0 -> floppy0
rdiskette1 -> floppy1
cd -> cdrom0
cd0 -> cdrom0
cd1 -> cdrom1
sr -> cdrom0
sr0 -> cdrom0
/dev/sr0 -> cdrom0
/dev/rsr0 -> cdrom0
rmdisk0 -> /vol/dev/rdsk/c4t0d0/unnamed_rmdisk

Regard
Talat

jlliagre 09-25-2006 04:14 PM

Okay, so you've go your device automounted, just go to /rmdisk/rmdisk0 or /rmdisk/unnamed_rmdisk.

talat 09-25-2006 04:45 PM

Dear jlliagre

When i go to this directory it showes



# cd /rmdisk
# ls -al
total 4
drwxr-xr-x 2 root other 512 Sep 24 00:01 .
drwxr-xr-x 24 root root 512 Sep 26 03:12 ..


Regard
Talat

jlliagre 09-25-2006 05:11 PM

Too bad, let's try that now:
Code:

/etc/init.d/volmgt stop
devfsadm -v
ls -l /dev/dsk/*0 | grep "pci@8,700000/usb@5,3/storage@4"


talat 09-25-2006 05:27 PM

Following are the results


# devfsadm -v
devfsadm[477]: verbose: removing link /dev/syscon -> ../devices/pseudo/cn@0:systty invalid contents
devfsadm[477]: verbose: symlink /dev/syscon -> ../devices/pseudo/cn@0:syscon


# ls -l /dev/dsk/*p0 | grep "pci@8,700000/usb@5,3/storage@4"
/dev/dsk/*p0: No such file or directory
#

regard
Talat

jlliagre 09-25-2006 07:11 PM

Not that I am optimistic, but you didn't run the command I asked for:
Quote:

ls -l /dev/dsk/*0 | grep "pci@8,700000/usb@5,3/storage@4"
Note ".../*0" vs ".../*p0".

Try also that one:
Code:

ls -l /dev/rdsk/c4t0d0*

ic_torres 03-25-2009 09:49 PM

mine does not work. .. using SOLARIS 10, via guest OS in vmware:

Quote:

bash-3.00# Mar 26 10:15:45 unknown usba: [ID 691482 kern.warning] WARNING: /pci@0,0/pci15ad,1976@7,2 (uhci0): Connecting device on port 1 failed


bash-3.00# /etc/init.d/volmgt stop
bash-3.00# /etc/init.d/volmgt start
volume management starting.

iostat -En
c0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: VMware Virtual Revision: Serial No: 000000000000000 Size: 8.59GB <8589611520 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0
c1t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: DVD+-RW GSA-H31L Revision: W616 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0



bash-3.00# cd /dev/rdsk
bash-3.00# devfsadm -C
bash-3.00# ls -l c*0 | grep usb
bash-3.00#










anything wrong?

but i have used the usb drive in the RH guest OS with ntfs-3g and fuse


All times are GMT -5. The time now is 10:40 PM.