I''ve create DomUs in a cluster environment and with a SAN storage. I''ve created a VG and a domU has its own LVM. My intent is to create domuS with a single root partition and put data, like /var/vmail, in a separate lvm. Do you think it''s a good solution or it''s better to separate partitions like /usr, /home, etc.? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I guess with having partitions you don’t have the worry of something filling up all the disk space causing the DomU to potentially crash. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mauro Sent: 26 September 2011 11:32 To: xen-users Subject: [Xen-users] how do you create domU partitions? I've create DomUs in a cluster environment and with a SAN storage. I've created a VG and a domU has its own LVM. My intent is to create domuS with a single root partition and put data, like /var/vmail, in a separate lvm. Do you think it's a good solution or it's better to separate partitions like /usr, /home, etc.? _______________________________________________ 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
On 26 September 2011 12:35, Ian Tobin <itobin@tidyhosts.com> wrote:> I guess with having partitions you don’t have the worry of something filling up all the disk space causing the DomU to potentially crash.I have that problem if I use partitions, I think, if I have only a single partition I don''t have that problem. Do you use single partitions in your DomUs? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
At 12:32 +0200 26/9/11, Mauro wrote:>I''ve create DomUs in a cluster environment and with a SAN storage. >I''ve created a VG and a domU has its own LVM. >My intent is to create domuS with a single root partition and put >data, like /var/vmail, in a separate lvm. >Do you think it''s a good solution or it''s better to separate >partitions like /usr, /home, etc.?It all depends on your requirements and usage. I have some systems with just a single partition, some where /var is separate, and some with several more volumes - eg on a mail server I''ll have a separate volume for just the mail. I tend to do all the partitioning in Dom0 (LV for each required volume), pass each volume to the DomU as an individual disk, and then just use the entire disk in DomU. It''s easy to deal with in Dom0 as you can handle the filesystems easily, eg : lvm lvcreate -L 2G -n guestnameroot vg0 mkfs -t ext3 /dev/vg0/guestnameroot mount /dev/vg0/guestnameroot /mnt <copy files to disk etc> But it''s really a matter of preference. Some people create a "disk" for each DomU, then partition it inside the DomU (even using LVM). The arrangement as seen in the DomU is more normal, but it''s harder to work with the disk in Dom0 -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users