Hi,
we are trying to mount from a linux box from a FreeNAS 8 server:
This is how the directory looks like on the FreeNAS 8:
[root@freenas] /mnt/pool01/rootfs64_6/.zfs/snapshot# ls -al
total 69
dr-xr-xr-x 48 root wheel 48 Feb 20 15:41 ./
dr-xr-xr-x 4 root wheel 4 Feb 20 15:41 ../
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00001/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00002/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00003/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00004/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00005/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00006/
drwxr-xr-x 21 root wheel 22 May 12 2011 00007/
drwxr-xr-x 21 root wheel 22 May 12 2011 00008/
drwxr-xr-x 21 root wheel 22 May 12 2011 00009/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00010/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00011/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00012/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00013/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00014/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00015/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00016/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00017/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00018/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00019/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00020/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00021/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00022/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00023/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00024/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00025/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00026/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00027/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00028/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00029/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00030/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00031/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00032/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00033/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00034/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00035/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00036/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00037/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00038/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00039/
drwxr-xr-x 22 root wheel 23 Nov 28 13:27 00040/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00041/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00042/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00043/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00044/
drwxr-xr-x 23 root wheel 25 Feb 15 14:18 00045/
drwxr-xr-x 23 root wheel 25 Feb 15 14:18 00046/
[root@freenas] /mnt/pool01/rootfs64_6/.zfs/snapshot#
When we mount using a debian squeeze linux box we see the following:
root@controlnode01.muc:~# mount -o rw,noatime,vers=3,nolock,noacl bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot /tmp/mnt/
root@controlnode01.muc:~# ls -al /tmp/mnt/
total 38
dr-xr-xr-x 14 root root 14 2012-02-20 15:41 .
drwxrwxrwt 7 root root 4096 2012-02-21 11:24 ..
crw-rw---- 1 root audio 116, 14 2011-04-20 18:42 00001
crw-rw---- 1 root audio 116, 40 2011-04-20 18:42 00002
crw-rw---- 1 root audio 116, 42 2011-04-20 18:42 00003
crw-rw---- 1 root audio 116, 44 2011-04-20 18:42 00004
crw-rw---- 1 root audio 116, 46 2011-04-20 18:42 00005
crw-rw---- 1 root audio 116, 72 2011-04-20 18:42 00006
drwxr-xr-x 21 root root 22 2011-05-12 12:22 00007
crw-rw---- 1 root audio 116, 76 2011-04-20 18:42 00008
crw-rw---- 1 root audio 116, 78 2011-04-20 18:42 00009
crw-rw---- 1 root audio 116, 104 2011-04-20 18:42 00010
crw-rw---- 1 root audio 116, 106 2011-04-20 18:42 00011
crw-rw---- 1 root audio 116, 108 2011-04-20 18:42 00012
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00013
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00014
crw-rw---- 1 root audio 116, 25 2011-04-20 18:42 00015
crw-rw---- 1 root audio 116, 26 2011-04-20 18:42 00016
crw-rw---- 1 root audio 116, 27 2011-04-20 18:42 00017
crw-rw---- 1 root audio 116, 28 2011-04-20 18:42 00018
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00019
crw-rw---- 1 root audio 116, 30 2011-04-20 18:42 00020
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00021
crw-rw---- 1 root audio 116, 56 2011-04-20 18:42 00022
crw-rw---- 1 root audio 116, 57 2011-04-20 18:42 00023
crw-rw---- 1 root audio 116, 58 2011-04-20 18:42 00024
crw-rw---- 1 root audio 116, 59 2011-04-20 18:42 00025
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00026
crw-rw---- 1 root audio 116, 61 2011-04-20 18:42 00027
crw-rw---- 1 root audio 116, 62 2011-04-20 18:42 00028
crw-rw---- 1 root audio 116, 63 2011-04-20 18:42 00029
crw-rw---- 1 root audio 116, 88 2011-04-20 18:42 00030
crw-rw---- 1 root audio 116, 89 2011-04-20 18:42 00031
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00032
crw-rw---- 1 root audio 116, 91 2011-04-20 18:42 00033
crw-rw---- 1 root audio 116, 92 2011-04-20 18:42 00034
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00035
crw-rw---- 1 root audio 116, 94 2011-04-20 18:42 00036
crw-rw---- 1 root audio 116, 95 2011-04-20 18:42 00037
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00038
crw-rw---- 1 root audio 116, 121 2011-04-20 18:42 00039
crw-rw---- 1 root audio 116, 122 2011-04-20 18:42 00040
crw-rw---- 1 root audio 116, 123 2011-04-20 18:42 00041
drwxr-xr-x 23 root root 25 2011-12-07 14:05 00042
crw-rw---- 1 root audio 116, 125 2011-04-20 18:42 00043
crw-rw---- 1 root audio 116, 126 2011-04-20 18:42 00044
drwxr-xr-x 23 root root 25 2012-02-15 14:18 00045
crw-rw---- 1 root audio 116, 1 2011-04-20 18:42 00046
root@controlnode01.muc:~#
And even stranger:
root@controlnode01.muc:~# mount -o rw,noatime,vers=3,nolock,noacl bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot/00045 /tmp/mnt/
mount.nfs: bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot/00045 failed, reason given by server: Permission denied
root@controlnode01.muc:~#
What is wrong with the NFS server in combination with the .zfs directory???
Can anybody give some hints?
Thanks
Rainer
we are trying to mount from a linux box from a FreeNAS 8 server:
This is how the directory looks like on the FreeNAS 8:
[root@freenas] /mnt/pool01/rootfs64_6/.zfs/snapshot# ls -al
total 69
dr-xr-xr-x 48 root wheel 48 Feb 20 15:41 ./
dr-xr-xr-x 4 root wheel 4 Feb 20 15:41 ../
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00001/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00002/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00003/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00004/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00005/
drwxr-xr-x 21 root wheel 22 Apr 28 2011 00006/
drwxr-xr-x 21 root wheel 22 May 12 2011 00007/
drwxr-xr-x 21 root wheel 22 May 12 2011 00008/
drwxr-xr-x 21 root wheel 22 May 12 2011 00009/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00010/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00011/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00012/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00013/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00014/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00015/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00016/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00017/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00018/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00019/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00020/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00021/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00022/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00023/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00024/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00025/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00026/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00027/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00028/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00029/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00030/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00031/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00032/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00033/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00034/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00035/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00036/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00037/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00038/
drwxr-xr-x 21 root wheel 22 Jan 1 1970 00039/
drwxr-xr-x 22 root wheel 23 Nov 28 13:27 00040/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00041/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00042/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00043/
drwxr-xr-x 23 root wheel 25 Dec 7 14:05 00044/
drwxr-xr-x 23 root wheel 25 Feb 15 14:18 00045/
drwxr-xr-x 23 root wheel 25 Feb 15 14:18 00046/
[root@freenas] /mnt/pool01/rootfs64_6/.zfs/snapshot#
When we mount using a debian squeeze linux box we see the following:
root@controlnode01.muc:~# mount -o rw,noatime,vers=3,nolock,noacl bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot /tmp/mnt/
root@controlnode01.muc:~# ls -al /tmp/mnt/
total 38
dr-xr-xr-x 14 root root 14 2012-02-20 15:41 .
drwxrwxrwt 7 root root 4096 2012-02-21 11:24 ..
crw-rw---- 1 root audio 116, 14 2011-04-20 18:42 00001
crw-rw---- 1 root audio 116, 40 2011-04-20 18:42 00002
crw-rw---- 1 root audio 116, 42 2011-04-20 18:42 00003
crw-rw---- 1 root audio 116, 44 2011-04-20 18:42 00004
crw-rw---- 1 root audio 116, 46 2011-04-20 18:42 00005
crw-rw---- 1 root audio 116, 72 2011-04-20 18:42 00006
drwxr-xr-x 21 root root 22 2011-05-12 12:22 00007
crw-rw---- 1 root audio 116, 76 2011-04-20 18:42 00008
crw-rw---- 1 root audio 116, 78 2011-04-20 18:42 00009
crw-rw---- 1 root audio 116, 104 2011-04-20 18:42 00010
crw-rw---- 1 root audio 116, 106 2011-04-20 18:42 00011
crw-rw---- 1 root audio 116, 108 2011-04-20 18:42 00012
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00013
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00014
crw-rw---- 1 root audio 116, 25 2011-04-20 18:42 00015
crw-rw---- 1 root audio 116, 26 2011-04-20 18:42 00016
crw-rw---- 1 root audio 116, 27 2011-04-20 18:42 00017
crw-rw---- 1 root audio 116, 28 2011-04-20 18:42 00018
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00019
crw-rw---- 1 root audio 116, 30 2011-04-20 18:42 00020
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00021
crw-rw---- 1 root audio 116, 56 2011-04-20 18:42 00022
crw-rw---- 1 root audio 116, 57 2011-04-20 18:42 00023
crw-rw---- 1 root audio 116, 58 2011-04-20 18:42 00024
crw-rw---- 1 root audio 116, 59 2011-04-20 18:42 00025
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00026
crw-rw---- 1 root audio 116, 61 2011-04-20 18:42 00027
crw-rw---- 1 root audio 116, 62 2011-04-20 18:42 00028
crw-rw---- 1 root audio 116, 63 2011-04-20 18:42 00029
crw-rw---- 1 root audio 116, 88 2011-04-20 18:42 00030
crw-rw---- 1 root audio 116, 89 2011-04-20 18:42 00031
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00032
crw-rw---- 1 root audio 116, 91 2011-04-20 18:42 00033
crw-rw---- 1 root audio 116, 92 2011-04-20 18:42 00034
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00035
crw-rw---- 1 root audio 116, 94 2011-04-20 18:42 00036
crw-rw---- 1 root audio 116, 95 2011-04-20 18:42 00037
drwxr-xr-x 21 root root 22 1970-01-01 01:00 00038
crw-rw---- 1 root audio 116, 121 2011-04-20 18:42 00039
crw-rw---- 1 root audio 116, 122 2011-04-20 18:42 00040
crw-rw---- 1 root audio 116, 123 2011-04-20 18:42 00041
drwxr-xr-x 23 root root 25 2011-12-07 14:05 00042
crw-rw---- 1 root audio 116, 125 2011-04-20 18:42 00043
crw-rw---- 1 root audio 116, 126 2011-04-20 18:42 00044
drwxr-xr-x 23 root root 25 2012-02-15 14:18 00045
crw-rw---- 1 root audio 116, 1 2011-04-20 18:42 00046
root@controlnode01.muc:~#
And even stranger:
root@controlnode01.muc:~# mount -o rw,noatime,vers=3,nolock,noacl bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot/00045 /tmp/mnt/
mount.nfs: bgmucpo-nas02:/mnt/pool01/rootfs64_6/.zfs/snapshot/00045 failed, reason given by server: Permission denied
root@controlnode01.muc:~#
What is wrong with the NFS server in combination with the .zfs directory???
Can anybody give some hints?
Thanks
Rainer