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

Re: [Xen-users] SuSE /var/ disk space



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

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.