Andre,
if you have a CD in the drive, the command
rmmount -l
will give you the path you are looking for. An example on snv_124:
bash-3.2# cdrw -l
Looking for CD devices...
Node Connected Device Device type
----------------------+--------------------------------+-----------------
cdrom0 | TOSHIBA DVDW/HD TS-L802A AC03 | CD Reader/Writer
bash-3.2# rmmount -l
/dev/dsk/c1t0d0s2 cdrom,cdrom0,cd,cd0,sr,sr0,OpenSolaris,/media/OpenSolaris
you can disable the volume manager using the command
svcadm disable rmvolmgr
hth
stefan
Andre Molyneux wrote:
> 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 mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
--
Stefan Hinker
Systems Practice - Systems & Performance
Sun Microsystems GmbH Tel: +49 6103 752-300
Brandenburger Str. 2-6 Stefan.Hinker at Sun.COM
D-40880 Ratingen http://www.sun.de/
Performance Considerations: http://wikis.sun.com/x/yIAeBQ
http://blogs.sun.com/cmt
---------------------------------------------------------------------------
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6110 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20091207/235898d9/attachment.bin>