private area on NFS export [message #23702] |
Thu, 22 November 2007 20:59 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 #36411 is a reply to message #24031] |
Wed, 17 June 2009 07:31 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
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
|
|
|