On my NAS (DNS-325) I have mounted my other NAS (DNS-323) in the /dsk/FIL/.restore directory:
Code:
root@DNS-325:/mnt/HD/HD_a2/FIL# pwd
/dsk/FIL
root@DNS-325:/mnt/HD/HD_a2/FIL# la
total 68K
drwxr-xr-x 12 boris users 4.0K Oct 4 06:00 .restore
dr-xr-xr-x 5 boris users 4.0K Nov 15 2011 COMPUTER
dr-xr-xr-x 8 boris users 4.0K Apr 14 2011 DOCUMENTS
dr-xr-xr-x 8 boris users 4.0K Jan 1 2014 HOBBY
dr-xr-xr-x 13 boris users 4.0K Apr 26 20:24 IMAGES
dr-xr-xr-x 6 boris users 4.0K Jan 1 2014 MUSIC
dr-xr-xr-x 5 boris users 4.0K Apr 14 2011 OTHER
dr-xr-xr-x 3 boris users 40K Jun 15 10:44 VIDEOS
root@DNS-325:/mnt/HD/HD_a2/FIL# ll .restore/
total 40K
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.0
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.1
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.2
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.3
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.4
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.5
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.6
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.7
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.8
drwxr-xr-x 9 boris users 4.0K Oct 4 06:00 backup.9
root@DNS-325:/mnt/HD/HD_a2/FIL#
NAS (DNS-325) itself is mounted on my PC in the /mnt/NASfiles directory:
Code:
[boris@e6410dl NASfiles]$ pwd
/mnt/NASfiles
[boris@e6410dl NASfiles]$ la
total 68K
drwxr-xr-x. 2 root root 4.0K Sep 25 19:39 .restore
dr-xr-xr-x. 5 boris users 4.0K Nov 15 2011 COMPUTER
dr-xr-xr-x. 8 boris users 4.0K Apr 14 2011 DOCUMENTS
dr-xr-xr-x. 8 boris users 4.0K Jan 1 2014 HOBBY
dr-xr-xr-x. 13 boris users 4.0K Apr 26 20:24 IMAGES
dr-xr-xr-x. 6 boris users 4.0K Jan 1 2014 MUSIC
dr-xr-xr-x. 5 boris users 4.0K Apr 14 2011 OTHER
dr-xr-xr-x. 3 boris users 40K Jun 15 10:44 VIDEOS
[boris@e6410dl NASfiles]$ ll .restore/
total 0
[boris@e6410dl NASfiles]$
The problem is, as you can see above, that from my PC (192.168.1.221) I can't read the files that are on my other NAS (DNS-323), i.e. /mnt/NASfiles/.restore directory is empty.
DNS-323 (192.168.1.220) contains following export:
Code:
/mnt/HD_a2/FIL 192.168.1.230(ro,root_squash,no_subtree_check) 192.168.1.221(ro,root_squash,no_subtree_check) 192.168.1.222(ro,root_squash,no_subtree_check)
DNS-325 (192.168.1.230) contains following export:
Code:
/mnt/HD/HD_a2/FIL 192.168.1.221(rw,no_root_squash,no_subtree_check) 192.168.1.222(rw,no_root_squash,no_subtree_check)
The mounting of DNS-323 is implemented as follows:
Code:
mount 192.168.1.220:/mnt/HD_a2/FIL /dsk/FIL/.restore
The mounting of DNS-325 is implemented as follows:
Code:
[boris@e6410dl NASfiles]$ cat /etc/fstab | grep FIL
192.168.1.230:/mnt/HD/HD_a2/FIL /mnt/NASfiles nfs defaults,retry=1 0 0
I suppose that some options are missing, either in export or mount, that are preventing me to see through NFS hierarchy layers.
Can anyone help please?