Howto: Use mount USB Pen under Solaris UNIX

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


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 3 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
3 comments… add one
  • Prakash Oct 9, 2008 @ 19:53

    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

  • thierry Manna-Jameson Jan 21, 2009 @ 16:23

    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

  • A.satish Jul 16, 2009 @ 4:43

    it is very helpful to me

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum