Hi, I''ve two questions related to the use of a shared iSCSI storage for the DomU disk and swap block devices: The first. When we use iSCSI (or other kind of network shared storage) for the domU disks, is recommended to use it for the swap partition too? I think that maybe is better to use a local swap partition for better performance but I don''t know if live migration could be possible if the swap isn''t in the network storage, I think it''s needed to have disk and swap in the shared storage, is this correct? The second. Which is the best method to get persistent device names for the domU disk and swap block devices? I think that the use of /dev/disk/by-path or /dev/disk/by-uuid symbolic links is a good and clean way to get it, but maybe there''s a better way. The udev tricks didn''t like so much... which is the most popular way to get it? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jerry Amundson
2007-Apr-06 23:05 UTC
Re: [Xen-users] Questions related to iSCSI storage for DomU
On 4/6/07, Angel Lopez <angel@futur3.com> wrote:> I''ve two questions related to the use of a shared iSCSI storage for the > DomUI believe the general consensus is to use iSCSI in dom0, not in domU. It''s been discussed before... jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Hierling
2007-Apr-07 09:40 UTC
Re: [Xen-users] Questions related to iSCSI storage for DomU
Hi, 2007/4/7, Jerry Amundson <jamundso@gmail.com>:> > On 4/6/07, Angel Lopez <angel@futur3.com> wrote: > > I''ve two questions related to the use of a shared iSCSI storage for the > > DomUi use scsidev to generate persistent dev nodes. http://www.garloff.de/kurt/linux/scsidev/ regards Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Angel Lopez
2007-Apr-07 20:48 UTC
Re: [Xen-users] Questions related to iSCSI storage for DomU
Hi Jerry,>> I''ve two questions related to the use of a shared iSCSI storage for the >> DomU > > I believe the general consensus is to use iSCSI in dom0, not in domU. > It''s been discussed before...Yes, I''ve my iSCSI initiator configured in Dom0 not in DomU. But in my message I was asking about having the swap partition of DomU in the network storage or in the local Dom0 and about persistent iSCSI names for the DomU devices. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Apr-07 20:55 UTC
Re: [Xen-users] Questions related to iSCSI storage for DomU
> >> I''ve two questions related to the use of a shared iSCSI storage for the > >> DomU > > > > I believe the general consensus is to use iSCSI in dom0, not in domU. > > It''s been discussed before... > > Yes, I''ve my iSCSI initiator configured in Dom0 not in DomU. But in my > message I was asking about having the swap partition of DomU in the > network storage or in the local Dom0 and about persistent iSCSI names for > the DomU devices.I can''t remember if this portion was answered, but you''d need to have the swap in network storage: otherwise, a domU could swap stuff out to storage, then be migrated to another host and not be able to access the stuff it''d swapped out. So swap needs to always be available. Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Angel Lopez
2007-Apr-08 19:20 UTC
Re: [Xen-users] Questions related to iSCSI storage for DomU
Hi Mark,> I can''t remember if this portion was answered, but you''d need to have > the swap in network storage: otherwise, a domU could swap stuff out to > storage, then be migrated to another host and not be able to access the > stuff it''d swapped out. So swap needs to always be available.Yes, thanks. Un saludote. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users