public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Vasiliy Tolstov <v.tolstov@selfip.ru>
To: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: one question about virualization and kvm
Date: Thu, 09 Apr 2009 09:42:23 +0400	[thread overview]
Message-ID: <1239255743.30305.3.camel@localhost> (raw)
In-Reply-To: <90eb1dc70904010701r3f442c04j2588ba61bead8ae0@mail.gmail.com>

В Срд, 01/04/2009 в 09:01 -0500, Javier Guerra пишет:
> On Wed, Apr 1, 2009 at 7:27 AM, Vasiliy Tolstov <v.tolstov@selfip.ru> wrote:
> > Hello!
> > I have two containers with os linux. All files in /usr and /bin are
> > identical.
> > Is that possible to mount/bind /usr and /bin to containers? (not copy
> > all files to containers).. ?
> 
> the problem (and solution) is exactly the same as if they weren't
> virtual machines, but real machines: use the network.
> 
> simply share the directories with NFS and mount them in your initrd
> scripts (preferably read/only).
> 
> other way would be to set a new image file with a copy of the
> directories, and mount them on both virtual machines.  of course, now
> you MUST mount them as readonly.  and you can't change anything there
> without ummounting from both VMs.
> 
> usually it's not worth it, unless you have tens of identical VMs
> 

Thank You for answer. But if i store 100-200 kvm guests under one host
system, and mount all shared resources via nfs - can this slow down my
system?
I need only read only access to shared files (only /home and /etc/ is
different)


-- 
Vasiliy Tolstov <v.tolstov@selfip.ru>
Selfip.Ru


      reply	other threads:[~2009-04-09  5:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 12:27 one question about virualization and kvm Vasiliy Tolstov
2009-04-01 14:01 ` Javier Guerra
2009-04-09  5:42   ` Vasiliy Tolstov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239255743.30305.3.camel@localhost \
    --to=v.tolstov@selfip.ru \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox