OpenVZ Forum


Home » General » Support » private area on NFS export
private area on NFS export [message #23702] Thu, 22 November 2007 20:59 Go to next message
moritz is currently offline  moritz
Messages: 2
Registered: November 2007
Junior Member
Hi,
I am currently trying to use a NFS Server
to share the private area between different
HNs.
I am using debian etch with systs.org repo
(tried fza and standard kernel-image).
I am using standard debian kernel as nfs host.
It seems possible to get VEs working, but
'df -h' cant show root file system simfs.
Also apt-get wont run because of a statvfs error
('No such Device', if I remember correctly.
I want to know if this is a nfs or openvz specific
problem, and if somebody else encountered the same problem.
are there any recommendations to share private data
between Hosts? Are there other (simple to manage)
network-filesystems that are usable?
I am trying to share private areas to minimize
migration time.

Thanks and best regards, Moritz.
Re: private area on NFS export [message #24031 is a reply to message #23702] Fri, 30 November 2007 12:23 Go to previous messageGo to next message
moritz is currently offline  moritz
Messages: 2
Registered: November 2007
Junior Member
Hi,
I am sorry to push up that thread again, but:
I really need a clue how to get this working!
I really need the Live-Migration for a Linux-
Terminal-Server-Project like setup.
Is there somebody out there using the Live-
Migration feature of OpenVZ, if so
how do you share the privtate Areas of the VEs?

Has somebody a clue on where to look at to solve
the NFS Problem? I am not afraid of code...

Thanks again, Moritz
Re: private area on NFS export [message #36411 is a reply to message #24031] Wed, 17 June 2009 07:31 Go to previous message
Gabor_Laszlo is currently offline  Gabor_Laszlo
Messages: 11
Registered: October 2008
Location: Munich, Germany
Junior Member
I'm having a similar problem, I have two HNs and am trying to move the VEs to an NFS storage. NFS is a QNAP NAS, HEs are running up-to-date Lenny with latest openvz kernel. I mounted the NFS under /var/lib/vz on the target HN, and tried to migrate a VE containing a webserver to it with
vzmigrate -r no --keep-dst -v target-vz VEID

It seems to migrate fine and the VE starts on the target, but when I try to access the website I get a 403 error and this message in /var/log/apache2/error.log:
Permission denied: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

The file in question seems readable (755). The site works fine on the original HN. Any ideas what's going on?

[UPDATE] Never mind, private directory had 700 permissions, changing it to 755 fixed it.

[Updated on: Thu, 18 June 2009 10:21]

Report message to a moderator

Previous Topic: Disable ipv6 in Lenny guest?
Next Topic: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB
Goto Forum:
  


Current Time: Sat May 18 04:40:22 GMT 2024

Total time taken to generate the page: 0.01498 seconds