Issues with ZFS under remote NFS directory

Filipe Paternot filipe at wsbr.com.br
Sun Nov 29 02:03:10 UTC 2009


Hello there,

I've got an pretty weird issue with an remote filesystem which is mounted on
a given server.
Renovatio is the NFS server is running FreeBSD-7.2-release 32bit.
Neo server is running FreeBSD-8.0-release 64bit.

The problem is this:
I mount the pool rootdir at /mnt/renovatio2. Then, when i go list one of my
dirs, it shows some content that was saved (snapshot was deleted) couple
months ago for that same folder. That is weird, since im not accessing the
hidden .zfs dir, but it should be empty anyways as the snapshot was already
removed.
Then, if i mount the specific dir, it works fine.

I'm not using the zfs sharenfs option.
I am a little bit out of ideas, and not sure if its a bug too, but if anyone
can assist me, i'd be very grateful.

Thank you

[root at neo /mnt]# mount_nfs -3 -b -o tcp -o nolockd -o intr -o soft -o
retrycnt=1 -o retrans=3 renovatio:/pool/filipe /mnt/renovatio2
[root at neo /mnt]# ls renovatio2/
brutalforce/  eggfacil/  patches/  psyx/  pub/  root/  scripts/  src/  sup/
vds/
[root at neo /mnt]# mount_nfs -3 -b -o tcp -o nolockd -o intr -o soft -o
retrycnt=1 -o retrans=3 renovatio:/pool /mnt/renovatio3
[root at neo /mnt]# df | grep renovatio
Filesystem                    Size    Used   Avail Capacity  Mounted on
renovatio:/usr/home/filipe    447G    109G    302G    27%    /mnt/renovatio1
renovatio:/pool/filipe        417G     94G    323G    23%    /mnt/renovatio2
renovatio:/pool               348G     25G    323G     7%    /mnt/renovatio3
[root at neo /mnt]# ls renovatio2
brutalforce/  eggfacil/  patches/  psyx/  pub/  root/  scripts/  src/  sup/
vds/
[root at neo /mnt]# ls renovatio3/
filipe/
[root at neo /mnt]# ls renovatio3/filipe/
docs/   jail/         patches/  scripts/  sup/  webmin-1.480.tar.gz
ircds/  mem_jail.pl*  psyx/     src/      vds/
[root at neo /mnt]#


[root at renovatio /pool]# ls
filipe/  obj.tgz  ports.tgz  src.tgz  vds/
[root at renovatio /pool]# ls filipe/
brutalforce/  eggfacil/  patches/  psyx/  pub/  root/  scripts/  src/  sup/
vds/
[root at renovatio /pool]# zfs list -t all | egrep -i '(pool |pool/filipe)'
NAME                             USED  AVAIL  REFER  MOUNTPOINT
pool                             134G   323G  25.0G  /pool
pool/filipe                     94.4G   323G  94.4G  /pool/filipe
[root at renovatio /pool]#


More information about the freebsd-fs mailing list