Is there a way today to mount Xen disk images (Solaris Guests or Linux Guests) from Solaris? If not, is there anyway to make changes to domU''s from dom0? -Paul -- ______ /_____/\ /_____\\ \ Paul Roberts /_____\ \\ / Sun Microsystems, Inc. /_____/ \/ / / Sun Serviceability and Readiness Ops /_____/ / \//\ \_____\//\ / / email: p.roberts@sun.com \_____/ / /\ / direct: 877-477-7642 \_____/ \\ \ \_____\ \\ \_____\/ http://www.sun.com
Paul Roberts wrote:> Is there a way today to mount Xen disk images (Solaris Guests or Linux > Guests) from Solaris? If not, is there anyway to make changes to > domU''s from dom0? >lofiadm does not support partitioned disk images so there is no way I know of to mount a Xen disk image in the Dom0. You can split the disk image into the slices and then mount each slice separat with lofiadm (but then you must recreate the disk image file from the slices again after your''re done ) regards Bernd> -Paul > > -- > ______ > /_____/\ > /_____\\ \ Paul Roberts > /_____\ \\ / Sun Microsystems, Inc. > /_____/ \/ / / Sun Serviceability and Readiness Ops > /_____/ / \//\ > \_____\//\ / / email: p.roberts@sun.com > <mailto:p.roberts@sun.com> > \_____/ / /\ / direct: 877-477-7642 > \_____/ \\ \ > \_____\ \\ > \_____\/ http://www.sun.com <http://www.sun.com/> > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro
What if you used iSCSI or NFS on a zfs filesystem (to install the OS into) instead of installing on a ZVOL? Mal On Wed, Oct 8, 2008 at 11:26 AM, Bernd Schemmer <Bernd.Schemmer@gmx.de>wrote:> Paul Roberts wrote: > > Is there a way today to mount Xen disk images (Solaris Guests or Linux > > Guests) from Solaris? If not, is there anyway to make changes to > > domU''s from dom0? > > > lofiadm does not support partitioned disk images so there is no way I > know of to mount a Xen disk image in the Dom0. You can split the disk > image into the slices and then mount each slice separat with lofiadm > (but then you must recreate the disk image file from the slices again > after your''re done ) > > regards > > Bernd > > > -Paul > > > > -- > > ______ > > /_____/\ > > /_____\\ \ Paul Roberts > > /_____\ \\ / Sun Microsystems, Inc. > > /_____/ \/ / / Sun Serviceability and Readiness Ops > > /_____/ / \//\ > > \_____\//\ / / email: p.roberts@sun.com > > <mailto:p.roberts@sun.com> > > \_____/ / /\ / direct: 877-477-7642 > > \_____/ \\ \ > > \_____\ \\ > > \_____\/ http://www.sun.com <http://www.sun.com/> > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > xen-discuss mailing list > > xen-discuss@opensolaris.org > > > -- > Bernd Schemmer, Frankfurt am Main, Germany > http://home.arcor.de/bnsmb/index.html > > M s temprano que tarde el mundo cambiar . > Fidel Castro > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
How about something like virsh attach-disk Domain-0 ... Would that work? Malachi de Ælfweald wrote:> What if you used iSCSI or NFS on a zfs filesystem (to install the OS > into) instead of installing on a ZVOL? > > Mal > > On Wed, Oct 8, 2008 at 11:26 AM, Bernd Schemmer <Bernd.Schemmer@gmx.de > <mailto:Bernd.Schemmer@gmx.de>> wrote: > > Paul Roberts wrote: > > Is there a way today to mount Xen disk images (Solaris Guests or > Linux > > Guests) from Solaris? If not, is there anyway to make changes to > > domU's from dom0? > > > lofiadm does not support partitioned disk images so there is no > way I > know of to mount a Xen disk image in the Dom0. You can split the disk > image into the slices and then mount each slice separat with lofiadm > (but then you must recreate the disk image file from the slices again > after your're done ) > > regards > > Bernd > > > -Paul > > > > -- > > ______ > > /_____/\ > > /_____\\ \ Paul Roberts > > /_____\ \\ / Sun Microsystems, Inc. > > /_____/ \/ / / Sun Serviceability and Readiness Ops > > /_____/ / \//\ > > \_____\//\ / / email: p.roberts@sun.com > <mailto:p.roberts@sun.com> > > <mailto:p.roberts@sun.com <mailto:p.roberts@sun.com>> > > \_____/ / /\ / direct: 877-477-7642 > > \_____/ \\ \ > > \_____\ \\ > > \_____\/ http://www.sun.com > <http://www.sun.com/> > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > xen-discuss mailing list > > xen-discuss@opensolaris.org <mailto:xen-discuss@opensolaris.org> > > > -- > Bernd Schemmer, Frankfurt am Main, Germany > http://home.arcor.de/bnsmb/index.html > > M s temprano que tarde el mundo cambiar . > Fidel Castro > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org <mailto:xen-discuss@opensolaris.org> > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Replying inline... On Oct 8, 2008, at 3:36 PM, Joseph Mocker wrote:> How about something like > > virsh attach-disk Domain-0 ... > > Would that work?What am I attaching? The idea is to get inside the domU and see its contents...I''m not sure this would work.> > Malachi de Ælfweald wrote: >> What if you used iSCSI or NFS on a zfs filesystem (to install the OS >> into) instead of installing on a ZVOL? >>Can you install a domU into *any* raw disk? I''ve only seen examples of ZVOLs and image files... Great discussion so far...Linux can do it why can''t Solaris? -Paul -- ______ /_____/\ /_____\\ \ Paul Roberts /_____\ \\ / Sun Microsystems, Inc. /_____/ \/ / / Sun Serviceability and Readiness Ops /_____/ / \//\ \_____\//\ / / email: p.roberts@sun.com \_____/ / /\ / direct: 877-477-7642 \_____/ \\ \ \_____\ \\ \_____\/ http://www.sun.com
What about: http://sun.systemnews.com/articles/127/3/opt-sysadmin/20597 On Wed, Oct 8, 2008 at 12:46 PM, Paul Roberts <P.Roberts@sun.com> wrote:> Replying inline... > > On Oct 8, 2008, at 3:36 PM, Joseph Mocker wrote: > > How about something like > > virsh attach-disk Domain-0 ... > > Would that work? > > > What am I attaching? The idea is to get inside the domU and see its > contents...I'm not sure this would work. > > > Malachi de Ælfweald wrote: > > What if you used iSCSI or NFS on a zfs filesystem (to install the OS > > into) instead of installing on a ZVOL? > > > > Can you install a domU into *any* raw disk? I've only seen examples of > ZVOLs and image files... > > Great discussion so far...Linux can do it why can't Solaris? > > -Paul > > -- > ______ > /_____/\ > /_____\\ \ Paul Roberts > /_____\ \\ / Sun Microsystems, Inc. > /_____/ \/ / / Sun Serviceability and Readiness Ops > /_____/ / \//\ > \_____\//\ / / email: p.roberts@sun.com > \_____/ / /\ / direct: 877-477-7642 > \_____/ \\ \ > \_____\ \\ > \_____\/ http://www.sun.com > > > > > > >
Doesn''t seem be allowed anyways: bash-3.2# virsh attach-disk Domain-0 /dev/vdsk/web xvdc libvir: Xen Daemon error : POST operation failed: (xend.err ''Devices cannot be attached to Domain 0'') Paul Roberts wrote:> Replying inline... > > > On Oct 8, 2008, at 3:36 PM, Joseph Mocker wrote: > >> How about something like >> >> virsh attach-disk Domain-0 ... >> >> Would that work? > > What am I attaching? The idea is to get inside the domU and see its > contents...I''m not sure this would work. > >> >> Malachi de Ælfweald wrote: >>> What if you used iSCSI or NFS on a zfs filesystem (to install the OS >>> into) instead of installing on a ZVOL? >>> > > Can you install a domU into *any* raw disk? I''ve only seen examples > of ZVOLs and image files... > > Great discussion so far...Linux can do it why can''t Solaris? > > -Paul > > -- > ______ > /_____/\ > /_____\\ \ Paul Roberts > /_____\ \\ / Sun Microsystems, Inc. > /_____/ \/ / / Sun Serviceability and Readiness Ops > /_____/ / \//\ > \_____\//\ / / email: p.roberts@sun.com > <mailto:p.roberts@sun.com> > \_____/ / /\ / direct: 877-477-7642 > \_____/ \\ \ > \_____\ \\ > \_____\/ http://www.sun.com <http://www.sun.com/> > > > > > >