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. Is there anyway of configuring it to use some other location? Cheers, Dean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 21 February 2008 17:22:03 Dean Pullen wrote:> 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. > > Is there anyway of configuring it to use some other location?Are you installing a DomU to a disk image file or a physical disk/partition? By default, virt-install (assuming that''s what you''re using to install the DomU) will put a disk image file to a location in /var - this can be changed however. Depending on the OS of the DomU you''re installing, /var will be used to store various bits that are needed. Are you using SLES or openSUSE and what OS are you attempting to install as a DomU? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for the reply Jon. It's SLES (v10 SP1), and I'm currently trying to install XP. Dean. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Jonathan Ervine Sent: 21 February 2008 09:42 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] SuSE /var/ disk space On Thursday 21 February 2008 17:22:03 Dean Pullen wrote:> 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. > > Is there anyway of configuring it to use some other location?Are you installing a DomU to a disk image file or a physical disk/partition? By default, virt-install (assuming that's what you're using to install the DomU) will put a disk image file to a location in /var - this can be changed however. Depending on the OS of the DomU you're installing, /var will be used to store various bits that are needed. Are you using SLES or openSUSE and what OS are you attempting to install as a DomU? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users Scanned by MailDefender - managed email security from intY - www.maildefender.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 21 February 2008 17:44:34 Dean Pullen wrote:> Thanks for the reply Jon. > > It''s SLES (v10 SP1), and I''m currently trying to install XP.So presumably you''re using virt-install. Have you manually altered the location of the disk image file (assuming that''s what you''re using). Is there any error message provided to say what exactly is filling /var? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Could you explain a bit more what you mean and how you do it? Would this solve the disk space problem? -----Original Message----- From: Stephan Seitz [mailto:s.seitz@netz-haut.de] Sent: 21 February 2008 10:25 To: Dean Pullen Cc: xen-users@lists.xensource.com 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
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@netz-haut.de] > Sent: 21 February 2008 10:25 > To: Dean Pullen > Cc: xen-users@lists.xensource.com > 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@lists.xensource.com >> 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users