Can't copy/move folders to nfs
Hi guys,
I was hoping someone here could help me. I have been struggling with this for 3 days now.
I have mounted a nfs share on my VM. This nfs is running from Freenas.
Here are the details for the following files:
192.168.7.219 (Local VM):
/etc/fstab
------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=dc6c4878-46b0-4609-a0ca-778b4df9cfd5 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=89c77410-2ff4-4fef-85a2-bf1004f9a7ce none swap sw 0 0
192.168.2.10:/mnt/Vol1/usr_backups /mnt/backup nfs rw 0 0
--------------------------------------------------------------------
/etc/exports
--------------------------------------------------------------------
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/mnt/backup 192.168.7.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)
--------------------------------------------------------------------
FreeNAS
/etc/exports
/mnt/Vol1/usr_backups -alldirs -mapall="root":"" -network 192.168.7.0/24
The issue is that when I try copy or move a directory from my local VM to the mounted nfs, it gives me an error
e.g
cp: cannot create regular file '/mnt/backup/cpool/4/0/5/40555479bcdfd13db8eb0dd043704018': Operation not permitted
However, I can cd to the mount and create a file or directory there.
Please let me know if you need any more information.
Thanks
|