Howto: Use mount USB Pen under Solaris UNIX

by Vivek Gite · 3 comments

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

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 3 comments… read them below or add one }

1 Prakash 10.09.08 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

2 thierry Manna-Jameson 01.21.09 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

3 A.satish 07.16.09 at 4:43 am

it is very helpful to me

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All