Re: img partitioning & swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 > 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" system in production yet. All are smaller and much, much 
more focused on precisely what they need to do and not commingled as 
multipurpose machines (e.g. webserver + file server + vpn server).

It is an engineering and use question and YMMV, but you can always add 
it later if the need arises and by really measuring where you are 
bottlenecking.

Adam wrote:
> 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. <dennisml@xxxxxxxxxxxx 
> <mailto:dennisml@xxxxxxxxxxxx>> 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 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 informative so why don't I feel informed? :-)
>      >>
>      >> OK.  I'll bite.  How?
>      > using the procedure described at
>      >
>     http://www.centos.org/docs/5/html/5.2/Virtualization/sect-Virtualization-How_To_troubleshoot_Red_Hat_Virtualization-Accessing_data_on_guest_disk_image.html
> 
>     It should be mentioned that it's important not to accept the default
>     volume
>     group name when using LVM as that will lead to a collision in a case
>     such
>     as this where the VG name of both host and guest might end up beeing
>     "VolGroup00". I hope RHEL/Centos 6 chooses better defaults based on the
>     hostname for example.
> 
>     Regards,
>       Dennis
>     _______________________________________________
>     CentOS-virt mailing list
>     CentOS-virt@xxxxxxxxxx <mailto:CentOS-virt@xxxxxxxxxx>
>     http://lists.centos.org/mailman/listinfo/centos-virt
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos-virt

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux