What is the best way to attach an USB harddisk to Solaris 10u7? I know some program is running to auto detect such a device (have forgotten the name, because I do almost all work on OSOL (hal). do I use "that program" or disable it an manualy attach the drive to the system? -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS 10u7 05/09 | OpenSolaris 2010.02 B118 + All that''s really worth doing is what we do for others (Lewis Carrol)
Hi Dick, The Solaris 10 volume management service is volfs. If you attach the USB hard disk and run volcheck, the disk should be mounted under the /rmdisk directory. If the auto-mounting doesn''t occur, you can disable volfs and mount it manually. You can read more about this feature here: http://docs.sun.com/app/docs/doc/817-5093/medaccess-29267?a=view Cindy On 07/28/09 07:56, dick hoogendijk wrote:> What is the best way to attach an USB harddisk to Solaris 10u7? > I know some program is running to auto detect such a device (have > forgotten the name, because I do almost all work on OSOL (hal). > do I use "that program" or disable it an manualy attach the drive to > the system? >
On Tue, 28 Jul 2009 09:03:14 -0600 Cindy.Swearingen at Sun.COM wrote:> The Solaris 10 volume management service is volfs.#svcs -a | grep vol has told me that ;-)> If the auto-mounting doesn''t occur, you can disable volfs and mount > it manually.I don''t want the automounting to occur, so I diabled volfs. I then did a "rmformat" to learn the device name, followed by a "zpool create archive /dev/rdsk/devicename All running nicely. Thanks for the advice. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS 10u7 05/09 | OpenSolaris 2010.02 B118 + All that''s really worth doing is what we do for others (Lewis Carrol)
On Tue, 28 Jul 2009, dick hoogendijk wrote:> > I don''t want the automounting to occur, so I diabled volfs. > I then did a "rmformat" to learn the device name, followed by a "zpool > create archive /dev/rdsk/devicenameIt is better to edit /etc/vold.conf since vold is used for other purposes as well such as auto-mounting CDs, DVDs, and floppies. I commented out this line: #use rmdisk drive /dev/rdsk/c*s2 dev_rmdisk.so rmdisk%d and then all was good. With a bit more care, some removable devices could be handled differently than others so you could just exclude the ones used for zfs. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/