Subject: Re: maintaining many Xen VMs
To: None <stix@stix.id.au>
From: Johan Ihren <johani@johani.org>
List: port-xen
Date: 10/21/2006 22:38:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> My (NetBSD) DomUs are going to be mostly identical.  I was  
>> thinking of
>> having a shared, read-only /usr and separate /var.  I probably need
>> separate roots, if only to have separate /etc/rc.conf files.  /usr  
>> will be
>> a real partition, probably shared with the Dom0.  The Dom0 would  
>> also have
>> a separate partition that held the vnds for the DomUs.

I have a very similar situation, except in my case I need to be able  
to do local installs of software in /usr, thereby precluding sharing  
all of /usr.

> Another option to keep in mind is 'vfs.generic.magiclinks=1',
> enabling system-specific copies of system config files. After working
> with a Tru64 cluster at work, I can see lots of practical uses. Eg.
> I'm using it for system-specific .screenrc in an NFS mounted home
> directory:

Wow. Very interesting. But my 3.0-STABLE systems don't seem to have  
any magic symlinks and googling a bit doesn't give much information  
either. Is this integrated in -current (which I don't have a system  
running right now) or is hidden elsewhere?

Another option that I'm considering is whether I can do anything  
useful with union mounts to keep down the size of the images for the  
DomUs (i.e. mounting /usr via NFS from Dom0 and then mounting a  
smaller vnd on top of that).

Anyone tried that?

Johan



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFOoVRKJmr+nqSTbYRAjTCAJ9t/zg9UNXwA82+nGFOWBF/H0OLNwCfRt/l
sq8KPjUr+Dt6udF/WOAKWXs=
=LcKp
-----END PGP SIGNATURE-----