WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Dean Pullen <dean.pullen@xxxxxxxxxx>
Subject: Re: [Xen-users] SuSE /var/ disk space
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 19:34:13 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Feb 2008 07:50:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A080E40BE7E4974DAB0184862C826041267CF2@msp-srv01>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
References: <A080E40BE7E4974DAB0184862C826041267CC7@msp-srv01> <47BD5167.5050507@xxxxxxxxxxxx> <A080E40BE7E4974DAB0184862C826041267CF2@msp-srv01>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
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
<Prev in Thread] Current Thread [Next in Thread>