Re: [Vserver] A possible new idea

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Thu 11 May 2006 - 18:17:09 BST
Message-ID: <20060511171709.GB20310@MAIL.13thfloor.at>

On Thu, May 11, 2006 at 07:57:36AM +0200, Sebastian Harl wrote:
> Hi,
>
> > > why would somebody want to _share_ the host files with
> > > the guest, instead of having a separate filesystem for
> > > them?
> >
> > This is actually how Solaris 10 zones work. In a Solaris 10
> > zone the filesystems /usr /bin /lib and so on are read-only loop-back
> > mounts to the host OS. It makes the guest a lot smaller as a result.
> > Pretty much most of the overhead of a guest ("zone" in Solaris terms)
> > is the local files in writeable filesystems to ensure OS stability
> > (eg /var/sadm for package maintenance).
>
> You could use unionfs or bind-mounts to share directories
> between host- and guest-filesystem. Of course this would
> need some manuall work...

well, bind mounts should work out-of-the-box, basically
just add them to the fstab in the guest config

HTH,
Herbert

> Cheers,
> Sebastian
> --
> Sebastian "tokkee" Harl
> GnuPG-ID: 0x8501C7FC
> http://tokkee.org/
>

> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu May 11 18:17:34 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 11 May 2006 - 18:17:40 BST by hypermail 2.1.8