[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] NBD, GNBD, or NFS, and where to use LVM?
Don't use NFS as a root filesystem if you can help it - it's known to be problematic on Linux. If you use *NBD, how about importing the Network block dev into dom0, then re-exporting as a standard virtual block dev to the guest. That way you hide your storage setup from all the domUs. There used to be a script for automatically connecting to NBDs on behalf of domUs at create-time - don't know if it's still there, if it works, etc but it might be worth a look. Cheers, Mark On Thursday 06 October 2005 15:49, Steven McCoy wrote: > A good question to see in the FAQ. I have a server running Xen with > multiple domains, the storage is provided by a 1 TB array attached to > another host. The array is partitioned using LVM2. What is the best or > preferred way of running such a configuration? The possibilities include: > > 1. NBD to xen0, LVM2 on xen0, export volumes to xenUs. > 2. LVM2 on storage host, NBD to each xenU. > 3. GNBD to xen0, LVM2 on xen0, export volumes to xenUs. > 4. LVM2 on storage host, GNBD to each xenU. > 5. NFS from storage host to each xenU. > > > I'm running OpenAFS, Hula mail, Apache and MySQL of the exported volumes, > none requiring raw disk support. > > NBD would mean only one xen machine can use each device. GNBD currently > doesn't build for Xen 2.0.7 on Gentoo, because the CMAN kernel modules > requires 2.6.12. Unfortunately I only have 100mb network to the storage > host, "hdparm -t" for NBD shows 8MB/s in xen0, 24MB/s on the storage host > (its a firewire storage array). > > -- > Steve-o _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |