Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-23-2006, 10:40 AM
#1
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Rep:
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
09-23-2006, 01:32 PM
#2
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Run "devfsadm -v" and see what devices show up.
1 members found this post helpful.
09-23-2006, 04:30 PM
#3
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
09-24-2006, 12:20 AM
#4
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
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"
09-24-2006, 12:40 AM
#5
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
09-24-2006, 01:42 AM
#6
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
1 members found this post helpful.
09-25-2006, 02:03 PM
#7
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
09-25-2006, 02:34 PM
#8
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
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.
09-25-2006, 03:58 PM
#9
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
1 members found this post helpful.
09-25-2006, 04:14 PM
#10
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Okay, so you've go your device automounted, just go to /rmdisk/rmdisk0 or /rmdisk/unnamed_rmdisk.
09-25-2006, 04:45 PM
#11
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
09-25-2006, 05:11 PM
#12
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
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"
09-25-2006, 05:27 PM
#13
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
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
09-25-2006, 07:11 PM
#14
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
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*
Last edited by jlliagre; 09-26-2006 at 04:25 AM .
03-25-2009, 09:49 PM
#15
Member
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389
Rep:
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 03:47 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News