NFS Storage error

pepe

New Member
May 23, 2011
4
0
1
Hi, I try to configure NFS Storage to use as Backup but when I put the NFS storage (web interface way) on syslog I found this error

svc: failed to register lockdv1 RPC service (errno 97)

on web interface there's not error everything look ok but when I put the backup on this storage I found this error on syslog:

vzdump[12179]: ERROR: Backup of VM 105 failed - unable to create temporary directory '/mnt/pve/platon/vzdump-openvz-105-2011_05_23-11_04_02.tmp' at /usr/share/perl5/PVE/VZDump.pm line 809.

Anybody know what happen?
 
I guess you can ignore the 'lockdv1 RPC service' message.

Maybe a problem with access rights - 'root' needs to be able to write to NFS (special NFS option)
 
Thanks dietmar but I try with no_root_squash and the same thing, the problem is vzdump try to write in the storage as root but how I can put in /etc/exports to do that? I'm sorry, maybe I'm a dummy with NFS but I try with all options in /etc/exports and always find the same error

svc: failed to register lockdv1 RPC service (errno 97)

I know is about access rights but what can I do?
 
but how I can put in /etc/exports to do that?

That depends on your nfs server. For example, unfsd accepts:
Code:
/your/dir  192.168.2.0/255.255.255.0(rw,no_root_squash)

You need to replace the IP/netmask to fit your needs.
 
  • Like
Reactions: oermolaev
Thanks again dietmar this is my configuration, I put no_root_squash but I keep receiving the error

svc: failed to register lockdv1 RPC service (errno 97)

however vzdump can write on NFS share dir, Ok, now I can save my containers but how I can do that without no_root_squash and using the web interface?
 
Thanks again dietmar this is my configuration, I put no_root_squash but I keep receiving the error

svc: failed to register lockdv1 RPC service (errno 97)

You can ignore that error.

however vzdump can write on NFS share dir, Ok, now I can save my containers but how I can do that without no_root_squash and using the web interface?

What exactly is the problem now?
 
Thanks again Dietmar, now I don't have problems to backup the containers. Thank you.