Hi all I would like to install for testing an Oracle RAC on two DomU and I need of some block devices simulating an external storage. I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but when I try to attach the block device I receive this message: # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw Error: Device 2065 (vbd) could not be connected. Device /dev/vg0/oracle-db is mounted in a guest domain, and so cannot be mounted now. Is it possible to force in some way? Thanks Marco Natali _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Monday 13 February 2006 23:44, Marco Natali wrote:> Hi all > I would like to install for testing an Oracle RAC on two DomU and I need > of some block devices simulating an external storage. > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but > when I try to attach the block device I receive this message: > > # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw > Error: Device 2065 (vbd) could not be connected. > Device /dev/vg0/oracle-db is mounted in a guest domain, > and so cannot be mounted now. > > Is it possible to force in some way? > > Thanks > > Marco Natali > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi, you really wouldn''t want to do that. The possibility for destroying the filesystem during the first few minutes is nearly 100 %. For this purpose, you should consider using a cluster filesystem, like gfs, ocfs2 (easier to set up) or sth similar. Michael -- ---------------------------------------------------------------------------------------- Michael Mey Thinking Objects Software GmbH | mailto: michael.mey@to.com Lilienthalstrasse 2/1 | phone: +49 711 88770-147 70825 Stuttgart-Korntal, Germany | fax: +49 711 88770-449 ---------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, if I will access to that volume in asyncronous way! Instead I''ll install Oracle RAC with ASM (Automatic Storage Managment) and OCR (Oracle Cluste Ready), two objects that manage in a cluster way the volume I want to use in r/w. This could work like a real external storage. Don''t you think so? Marco Natali On Tue, 2006-02-14 at 11:52 +0100, Michael Mey wrote:> On Monday 13 February 2006 23:44, Marco Natali wrote: > > Hi all > > I would like to install for testing an Oracle RAC on two DomU and I need > > of some block devices simulating an external storage. > > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but > > when I try to attach the block device I receive this message: > > > > # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw > > Error: Device 2065 (vbd) could not be connected. > > Device /dev/vg0/oracle-db is mounted in a guest domain, > > and so cannot be mounted now. > > > > Is it possible to force in some way? > > > > Thanks > > > > Marco Natali > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > Hi, > > you really wouldn''t want to do that. The possibility for destroying the > filesystem during the first few minutes is nearly 100 %. For this purpose, > you should consider using a cluster filesystem, like gfs, ocfs2 (easier to > set up) or sth similar. > > Michael_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Oh, I see. Sorry, I''ve missed something. You could possibly simulate an external storage by e.g. exporting the LV from dom0 using GNBD and import it in your domUs. An alternative could be using iSCSI instead of GNBD though it''s harder to set up. Michael On Tuesday 14 February 2006 12:01, Marco Natali wrote:> Yes, if I will access to that volume in asyncronous way! > Instead I''ll install Oracle RAC with ASM (Automatic Storage Managment) > and OCR (Oracle Cluste Ready), two objects that manage in a cluster way > the volume I want to use in r/w. > This could work like a real external storage. > Don''t you think so? > > Marco Natali > > On Tue, 2006-02-14 at 11:52 +0100, Michael Mey wrote: > > On Monday 13 February 2006 23:44, Marco Natali wrote: > > > Hi all > > > I would like to install for testing an Oracle RAC on two DomU and I > > > need of some block devices simulating an external storage. > > > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but > > > when I try to attach the block device I receive this message: > > > > > > # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw > > > Error: Device 2065 (vbd) could not be connected. > > > Device /dev/vg0/oracle-db is mounted in a guest domain, > > > and so cannot be mounted now. > > > > > > Is it possible to force in some way? > > > > > > Thanks > > > > > > Marco Natali > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > Hi, > > > > you really wouldn''t want to do that. The possibility for destroying the > > filesystem during the first few minutes is nearly 100 %. For this > > purpose, you should consider using a cluster filesystem, like gfs, ocfs2 > > (easier to set up) or sth similar. > > > > Michael-- ---------------------------------------------------------------------------------------- Michael Mey Thinking Objects Software GmbH | mailto: michael.mey@to.com Lilienthalstrasse 2/1 | phone: +49 711 88770-147 70825 Stuttgart-Korntal, Germany | fax: +49 711 88770-449 ---------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Specify w! instead of w in the configuration file to override the double-use checking. Without knowing much about how these oracle tools work, I''m not sure that I''m convinced it can be safe. Regards, Anthony Liguori Marco Natali wrote:> Yes, if I will access to that volume in asyncronous way! > Instead I''ll install Oracle RAC with ASM (Automatic Storage Managment) > and OCR (Oracle Cluste Ready), two objects that manage in a cluster > way the volume I want to use in r/w. > This could work like a real external storage. > Don''t you think so? > > Marco Natali > > > On Tue, 2006-02-14 at 11:52 +0100, Michael Mey wrote: >> On Monday 13 February 2006 23:44, Marco Natali wrote: >> > Hi all >> > I would like to install for testing an Oracle RAC on two DomU and I need >> > of some block devices simulating an external storage. >> > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but >> > when I try to attach the block device I receive this message: >> > >> > # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw >> > Error: Device 2065 (vbd) could not be connected. >> > Device /dev/vg0/oracle-db is mounted in a guest domain, >> > and so cannot be mounted now. >> > >> > Is it possible to force in some way? >> > >> > Thanks >> > >> > Marco Natali >> > >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> >> > http://lists.xensource.com/xen-users >> >> Hi, >> >> you really wouldn''t want to do that. The possibility for destroying the >> filesystem during the first few minutes is nearly 100 %. For this purpose, >> you should consider using a cluster filesystem, like gfs, ocfs2 (easier to >> set up) or sth similar. >> >> Michael >> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Great! I''ll go to try ASAP! Regards Marco Natali On Tue, 2006-02-14 at 09:03 -0600, Anthony Liguori wrote:> Specify w! instead of w in the configuration file to override the > double-use checking. > > Without knowing much about how these oracle tools work, I''m not sure > that I''m convinced it can be safe. > > Regards, > > Anthony Liguori > > Marco Natali wrote: > > Yes, if I will access to that volume in asyncronous way! > > Instead I''ll install Oracle RAC with ASM (Automatic Storage Managment) > > and OCR (Oracle Cluste Ready), two objects that manage in a cluster > > way the volume I want to use in r/w. > > This could work like a real external storage. > > Don''t you think so? > > > > Marco Natali > > > > > > On Tue, 2006-02-14 at 11:52 +0100, Michael Mey wrote: > >> On Monday 13 February 2006 23:44, Marco Natali wrote: > >> > Hi all > >> > I would like to install for testing an Oracle RAC on two DomU and I need > >> > of some block devices simulating an external storage. > >> > I would like to mount an LVM volume in Dom0 mounted rw by two DomU, but > >> > when I try to attach the block device I receive this message: > >> > > >> > # xm block-attach oracle1 phy:/dev/vg0/oracle-db /dev/sdb1 rw > >> > Error: Device 2065 (vbd) could not be connected. > >> > Device /dev/vg0/oracle-db is mounted in a guest domain, > >> > and so cannot be mounted now. > >> > > >> > Is it possible to force in some way? > >> > > >> > Thanks > >> > > >> > Marco Natali > >> > > >> > > >> > _______________________________________________ > >> > Xen-users mailing list > >> > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > >> > http://lists.xensource.com/xen-users > >> > >> Hi, > >> > >> you really wouldn''t want to do that. The possibility for destroying the > >> filesystem during the first few minutes is nearly 100 %. For this purpose, > >> you should consider using a cluster filesystem, like gfs, ocfs2 (easier to > >> set up) or sth similar. > >> > >> Michael > >> > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users