Re: one question about virualization and kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



В Срд, 01/04/2009 в 09:01 -0500, Javier Guerra пишет:
> On Wed, Apr 1, 2009 at 7:27 AM, Vasiliy Tolstov <v.tolstov@xxxxxxxxx> 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@xxxxxxxxx>
Selfip.Ru

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux