Dean Pullen schrieb:
Could you explain a bit more what you mean and how you do it?
Would this solve the disk space problem?
I always use LVM (some as CLVM over iSCSI, some on local machine raidset) for
domU images,
so at least one VG is always present in dom0. To leave dom0 rootfs small and to
have all
in one place, I do setup one LV in this VG for /var/xen.
In short words:
lvcreate -n mydom0name_var_xen -L 40G vg0
mkfs.ext3 /dev/vg0/mydom0name_var_xen
mount /dev/vg0/mydom0name_var_xen /mnt
mv /var/xen/* /mnt
umount /mnt
mount /dev/vg0/mydom0name_var_xen /var/xen
edit fstab to mount on boot.
You'll need at least the RAM size of all of your domU's available at /var/xen.
Hope this was clear ;)
Cheers,
Stephan
-----Original Message-----
From: Stephan Seitz [mailto:s.seitz@xxxxxxxxxxxx]
Sent: 21 February 2008 10:25
To: Dean Pullen
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] SuSE /var/ disk space
Dean Pullen schrieb:
Hi all,
I’m playing with Xen for the first time, and encounter problems when
installing a client.
We basically have limited space on the /var/ partition, and Xen seems
to use this as temporary storage during installation.
I prefer to keep standard pathes for easier work. For /var/xen I always create
a LV and mount it in place.
Is there anyway of configuring it to use some other location?
Cheers,
Dean.
----------------------------------------------------------------------
--
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
--
Stephan Seitz
Senior System Administrator
*netz-haut* e.K.
multimediale kommunikation
zweierweg 22
97074 würzburg
fon: +49 931 2876247
fax: +49 931 2876248
web: www.netz-haut.de <http://www.netz-haut.de/>
registriergericht: amtsgericht würzburg, hra 5054
------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
--
Stephan Seitz
Senior System Administrator
*netz-haut* e.K.
multimediale kommunikation
zweierweg 22
97074 würzburg
fon: +49 931 2876247
fax: +49 931 2876248
web: www.netz-haut.de <http://www.netz-haut.de/>
registriergericht: amtsgericht würzburg, hra 5054
s_seitz.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|