LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 09-23-2006, 11:40 AM   #1
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Rep: Reputation: 16
Unhappy 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
 
Old 09-23-2006, 02:32 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Run "devfsadm -v" and see what devices show up.
 
1 members found this post helpful.
Old 09-23-2006, 05:30 PM   #3
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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
 
Old 09-24-2006, 01:20 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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"
 
Old 09-24-2006, 01:40 AM   #5
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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
 
Old 09-24-2006, 02:42 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Hmm, try
Code:
eject -n
 
1 members found this post helpful.
Old 09-25-2006, 03:03 PM   #7
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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
 
Old 09-25-2006, 03:34 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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.
 
Old 09-25-2006, 04:58 PM   #9
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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.
Old 09-25-2006, 05:14 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Okay, so you've go your device automounted, just go to /rmdisk/rmdisk0 or /rmdisk/unnamed_rmdisk.
 
Old 09-25-2006, 05:45 PM   #11
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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
 
Old 09-25-2006, 06:11 PM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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"
 
Old 09-25-2006, 06:27 PM   #13
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
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
 
Old 09-25-2006, 08:11 PM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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 05:25 AM.
 
Old 03-25-2009, 10:49 PM   #15
ic_torres
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: Reputation: 34
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount Usb in solaris 9 sajidmumtaz Solaris / OpenSolaris 40 02-15-2007 03:40 AM
How To Mount Flash Drive In Solaris 9 rajaniyer123 Solaris / OpenSolaris 2 02-08-2006 12:56 PM
HowTo mount all Solaris (sun) ufs slices under Linux? DrLou Solaris / OpenSolaris 1 11-17-2004 12:36 PM
howto mount usb pen drive? name_in_use450 Linux - Hardware 2 08-24-2004 08:23 AM
nfs mount of solaris drive starkeylabs Linux - Networking 4 06-20-2003 11:16 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration