Howto: Use mount USB Pen under Solaris UNIX

by on February 21, 2007 · 3 comments· LAST UPDATED February 21, 2007

in

Q. How do I use USB Pen under Solaris UNIX?

A. Solaris does support USB devices including USB pen / key.

You need to use cfgadm command which is SCSI hardware specific commands. USB device emulated as SCSI hot-plug under Solaris
vold is Volume Management daemon to manage CD-ROM and floppy, ZIP/JAZ, USB and DVD-ROM devices. So you need to start/restart this device.

Procedure to mount USB pen

Login as the root user.

Next insert USB pen.

Type cfgadm to see if it detected or not:
# cfgadm
You should see something as follows:

...
...
usb0/2.0 usb-storage connected configured ok
...
....

Now just create a directory called /rmdisk with mkdir command:
# mkdir /rmdisk

Now start vold daemon to pick up USB pen and mount to /rmdisk/rmdisk0
# /etc/init.d/vold start; volcheck
OR restart vold daemon
# /etc/init.d/vold stop
# /etc/init.d/vold start; volcheck

OR just kill and restart (same as above but less typing)
# pkill -HUP vold; volcheck

Task: Access my USB pen under Solaris?

To access your USB pen under /rmdisk/rmdisk0
# cd /rmdisk/rmdisk0
# ls -l

Use cp and other commands to copy files.

Read man pages of vold, volcheck, pkill, cfgadm for more information.
$ man vold
$ man volcheck
$ man pkill
$ man cfgadm

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 Prakash October 9, 2008 at 7:53 pm

Thank u for ur suggestion… i’m using the command # /etc/init.d/vold start; volcheck but some error occurs.. that is /etc/init.d/vold command not found.. can u suggess me any other alternative

Reply

2 thierry Manna-Jameson January 21, 2009 at 4:23 pm

Hi Prakash,

You’re probably under Solaris10, vold no longer exists, you have to use :
#svcadm disable volfs
#svcadm enable volfs

to check if volfs is online :
#svcs | grep volfs

Reply

3 A.satish July 16, 2009 at 4:43 am

it is very helpful to me

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: