Subject: Re: [vserver] glibc on guest system
From: Nirmal Guhan <vavatutu@gmail.com>
Date: Fri, 4 Jun 2010 17:09:24 -0700
Fri, 4 Jun 2010 17:09:24 -0700
Thanks.I modified fstab to bind and it works. Let me look at vunify/vhashify
too.

--Nirmal

On Fri, Jun 4, 2010 at 4:04 PM, Herbert Poetzl <herbert@13thfloor.at> wrote:

> On Fri, Jun 04, 2010 at 08:42:00AM -0700, Nirmal Guhan wrote:
> > Please let me know on this. I would like to reduce the size of the
> > guest and /lib, /usr/lib sharing would be important for this. Please
> > note that both guest and host run the same distro/version.
>
> it is not advised to share host and guest files other
> than in a read-only --bind mount fashion, but sharing
> guest files (e.g. vunify/vhashify) is a good idea on
> shared filesystems as it greatly reduces the disk and
> memory usage ...
>
> best,
> Herbert
>
> > Thanks,
> > Nirmal
> >
> > On Thu, Jun 3, 2010 at 6:29 PM, Nirmal Guhan <vavatutu@gmail.com> wrote:
> >
> > > On a related note, is there a way to share the host lib (/lib) files
> with
> > > the guest (assuming both of them are same distro) ? Please let me know.
> > >
> > > --Nirmal
> > >
> > >
> > > On Sun, May 30, 2010 at 9:44 PM, Nirmal Guhan <vavatutu@gmail.com>
> wrote:
> > >
> > >> Yes, you are right. That was a copy paste error.
> > >> Thanks,
> > >>
> > >> Guhan
> > >>
> > >>
> > >> On Sun, May 30, 2010 at 10:11 AM, Bastian Blank <bastian+vserver=
> > >> list.linux-vserver.org@waldi.eu.org> wrote:
> > >>
> > >>> On Fri, May 28, 2010 at 11:04:24AM -0700, Nirmal Guhan wrote:
> > >>> > I see that guest system uses its own glibc.
> > >>> > Guest (centos5) :
> > >>> > libglib-2.0.so.0
> > >>> > libglib-2.0.so.0.1200.3
> > >>> > Host(Fedora12)
> > >>> > libglib-2.0.so.0
> > >>> > libglib-2.0.so.0.2200.2
> > >>>
> > >>> glib != glibc. glibc is /lib/libc.so.*.
> > >>>
> > >>> Bastian
> > >>>
> > >>> --
> > >>> She won' go Warp 7, Cap'n!  The batteries are dead!
> > >>>
> > >>
> > >>
> > >
>


Thanks.I modified fstab to bind and it works. Let me look at vunify/vhashify too.

--Nirmal

On Fri, Jun 4, 2010 at 4:04 PM, Herbert Poetzl <herbert@13thfloor.at> wrote:
On Fri, Jun 04, 2010 at 08:42:00AM -0700, Nirmal Guhan wrote:
> Please let me know on this. I would like to reduce the size of the
> guest and /lib, /usr/lib sharing would be important for this. Please
> note that both guest and host run the same distro/version.

it is not advised to share host and guest files other
than in a read-only --bind mount fashion, but sharing
guest files (e.g. vunify/vhashify) is a good idea on
shared filesystems as it greatly reduces the disk and
memory usage ...

best,
Herbert

> Thanks,
> Nirmal
>
> On Thu, Jun 3, 2010 at 6:29 PM, Nirmal Guhan <vavatutu@gmail.com> wrote:
>
> > On a related note, is there a way to share the host lib (/lib) files with
> > the guest (assuming both of them are same distro) ? Please let me know.
> >
> > --Nirmal
> >
> >
> > On Sun, May 30, 2010 at 9:44 PM, Nirmal Guhan <vavatutu@gmail.com> wrote:
> >
> >> Yes, you are right. That was a copy paste error.
> >> Thanks,
> >>
> >> Guhan
> >>
> >>
> >> On Sun, May 30, 2010 at 10:11 AM, Bastian Blank <bastian+vserver=
> >> list.linux-vserver.org@waldi.eu.org> wrote:
> >>
> >>> On Fri, May 28, 2010 at 11:04:24AM -0700, Nirmal Guhan wrote:
> >>> > I see that guest system uses its own glibc.
> >>> > Guest (centos5) :
> >>> > libglib-2.0.so.0
> >>> > libglib-2.0.so.0.1200.3
> >>> > Host(Fedora12)
> >>> > libglib-2.0.so.0
> >>> > libglib-2.0.so.0.2200.2
> >>>
> >>> glib != glibc. glibc is /lib/libc.so.*.
> >>>
> >>> Bastian
> >>>
> >>> --
> >>> She won' go Warp 7, Cap'n!  The batteries are dead!
> >>>
> >>
> >>
> >