You are not logged in.

#1 2011-12-04 22:09:48

ellis
Member
From: Birmingham, UK
Registered: 2011-10-20
Posts: 21

NFS for read only backups @ 127.0.0.1

Hi,
I am interested in Mike Rubel's idea of mounting a backup disc read/write within /root/ and read only for normal use within /. I am however a total first timer with NFS and keep get the following error when trying to mount the backup folder 'vault'.

# mount -r -t nfs 127.0.0.1:/root/vault /vault
  mountfs: access denied by server while mounting 127.0.0.1:/root/vault

Here is what my /etc/exports file looks like:

/root/vault	127.0.0.1(secure,ro,no_root_squash,subtree_check)

I only added the 'subtree_check' option in to stop from winging when I ran 'exportfs -r'. Does anyone know how I can grant the proper permissions?

http://www.mikerubel.org/computers/rsyn … /#ReadOnly

Regards,
ellis


"Paradoxically, learning stuff is information-society enemy number one"

Offline

#2 2011-12-04 22:13:52

ellis
Member
From: Birmingham, UK
Registered: 2011-10-20
Posts: 21

Re: NFS for read only backups @ 127.0.0.1

Oh and as a P.S: I should add that I am using nfs-utils and rpcbind as recommended in the Wiki.
https://wiki.archlinux.org/index.php/NFS


"Paradoxically, learning stuff is information-society enemy number one"

Offline

Board footer

Powered by FluxBB