Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Brett Worth
Christopher G. Stach II wrote: I'd recommend not using LVM inside the images because if you just have a raw disk image in there with regular partitions you can mount it on dom0 (with losetup) for maintenance. I don't think that would be possible with LVM. But it is. I guess that's

Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Dennis J.
On 11/01/2009 10:51 AM, Manuel Wolfshant wrote: On 11/01/2009 08:37 AM, Brett Worth wrote: Christopher G. Stach II wrote: I'd recommend not using LVM inside the images because if you just have a raw disk image in there with regular partitions you can mount it on dom0 (with losetup) for

Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Adam
There is no need for a second img to use as swap right? -Adam On Sun, Nov 1, 2009 at 7:34 AM, Dennis J. denni...@conversis.de wrote: On 11/01/2009 10:51 AM, Manuel Wolfshant wrote: On 11/01/2009 08:37 AM, Brett Worth wrote: Christopher G. Stach II wrote: I'd recommend not using LVM

Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Christopher G. Stach II
- Adam adam0...@gmail.com wrote: There is no need for a second img to use as swap right? Correct, unless you were in a pinch and strangely needed to add more swap, had no unallocated space in your image, and couldn't shut down the guest to resize the image. -- Christopher G. Stach II

Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Christopher G. Stach II
- Adam adam0...@gmail.com wrote: There is no need for a second img to use as swap right? Rereading your original message got me to wondering whether the examples you saw were putting swap on local storage and the filesystems on remote storage. You can do that for swap performance, but

Re: [CentOS-virt] img partitioning swap

2009-11-01 Thread Ben M.
There is no need for a second img to use as swap right? Yes and no. On physical machines I am very used to putting swaps on separate controllers and drives for performance reasons as am sure many others here are. I have yet to see that pay off on Xen, but I really haven't had a hammered on

[CentOS-virt] img partitioning swap

2009-10-31 Thread Adam
Hello everyone, I am moving a 2 node cluster from XenServer + iSCSI with lvm to CentOS 5.4+Xen on NFS using .img files. What do you guys use for your partition scheme for .img files? I see examples where people create another .img to use it as swap. I was gonna put lvm inside the .img and create

Re: [CentOS-virt] img partitioning swap

2009-10-31 Thread Brett Worth
Adam wrote: What do you guys use for your partition scheme for .img files? I see examples where people create another .img to use it as swap. I was gonna put lvm inside the .img and create separate filesystems in logical volumes(/var, /home, /opt, /tmp and swap). I'd recommend not using LVM