Hello,
I am trying to backup a directory to an NFS mount. But after mounting the "tar" command is failing.
- Created folder for mount point: test1
- Mounted desired mount:
[root@server_name1 ~]# mount -t nfs server_name2:/backup/WMSAPP_backup -w /test1/
[root@server_name1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVolRoot
19G 14G 4.1G 78% /
/dev/mapper/VolGroup00-LogVolTmp
9.5G 3.9G 5.1G 44% /tmp
/dev/mapper/VolGroup00-LogVolVar
4.8G 574M 4.0G 13% /var
/dev/mapper/VolGroup00-LogVolApps
99G 14G 81G 15% /apps/scope
/dev/sda1 996M 41M 904M 5% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm
server_name2:/backup/WMSAPP_backup
1008G 80G 878G 9% /test1
[root@servera-name1 ~]# tar cvf /test1/app_scope.tar /apps/scope/
tar: /test1/app_scope.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
A. Is there a different way of mounting where we can pass credentials. I read somewhere that we do not need credentials to mount as NFS.
B. Is there a different tar option that we can use...
THanks in advance for help.