OpenVZ Forum


Home » Mailing lists » Users » Share container's HD space over servers
Re: Share container's HD space over servers [message #45149 is a reply to message #45091] Wed, 01 February 2012 20:36 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Blau,

----- Original Message -----
> I've setup a mirrored GlusterFs to share container's disc space and to
> have a spare fisical server in case it's needed.
> I only share the "private" directory over two servers, is it OK or I
> should share whole "lib/vz" directory? Now I switched from original HN
> to it's backup, most of CT works fine, but others not, but I don't know
> if it's due the shared disc space or it's related to the new HN configuration.
> Can I share vz disc space over two servers and switch from one to
> another? What directory should I share?

OpenVZ doesn't really support this sort of thing with any features that it offers... and any solution you come up with, you'll have to engineer yourself. Of course that doesn't mean that there aren't a number of OpenVZ users out there who have done such a thing. I haven't done it and I don't know anyone who has.

I occasionally see people trying to do the shared storage type thing with NFS and to the best of my knowledge, that doesn't work well... but then again, the last time I saw someone trying it was quite a while ago so maybe it is doable now.

So to answer your question... I don't know. If you figure it out, please write up a wiki post on the openvz website to share the information with others. I believe some are using drbd and there is a wiki page for that... but I haven't read it and I don't know if that is the same use case or not.

Good luck. Sorry I didn't have any answers for you.

TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Previous Topic: Problems doing live migration
Next Topic: vmstat FPE
Goto Forum:
  


Current Time: Mon Sep 01 01:29:29 GMT 2025

Total time taken to generate the page: 0.05729 seconds