We're attempting to do some testing with LDOMs on OpenSolaris that
involves booting the guest off of CD-ROM.  I've been given pointers
to the section of the admin guide that describes how to export a
CD/DVD device from the service domain to a guest domain.  However,
I've run into a problem trying to follow the procedure listed in
the admin guide.

The guide says to edit /etc/vold.conf and refresh/restart the
volfs SMF service.  This system (running build 128 OpenSolaris
bits) does not have a vold.conf file or a volfs service.  My
understanding is that rmvolmgr replaced volfs some time ago
in svn/OpenSolaris.  Are there alternate instructions for rmvolmgr
instead of volfs?

Also, the guide uses 'cdrw -l' to get the /dev/dsk/cNtNdN ID
of the CD-ROM drive.  I had to add the SUNWcdrw package to the
system to get the cdrw command, and when I execute it I get
the following output:

Looking for CD devices...
     Node                   Connected Device                Device type
----------------------+--------------------------------+-----------------
  cdrom0               | MATSHITA CD-RW  CW-8124   DZ13 | CD Reader/Writer

Note that it gives me 'cdrom0' rather than the device path, so
I don't have a path I can provide to 'ldm add-vdsdev'.

I also tried copying the ISO image onto the primary domain, exporting
it to the guest, and booting off of that.  The export seemed to work,
and I see the device in OBP on the guest domain.  The example given
in the admin guide showed booting off <device>:f, which resulted in
a "This device is not bootable!" error.  So I tried booting from it
without the trailing :f and get:

WARNING: pool 'rpool' could not be loaded as it was last
accessed by another system (host:  hostid: 0x83d8cef6).  See: 
http://www.sun.com/msg/ZFS-8000-EY
NOTICE:
spa_import_rootpool: error 9

'Bare metal' does boot off of this image when it's burned to a
CD-ROM.

I'm stumped at the moment.  Thanks in advance for any assistance
in getting this to work.

Andre
  • [ldoms-discuss... Andre Molyneux
    • [ldoms-di... Stefan Hinker - Systems Practice - Sun Microsystems Germany

Reply via email to