Re: nfs subvolume access?
From: Ulli Horlacher <hidden>
Date: 2021-03-10 15:56:22
On Wed 2021-03-10 (09:35), Graham Cobb wrote:
quoted
quoted
quoted
root@tsmsrvj:~# find /data/fex | wc -l 489887quoted
I can't remember if this is why, but I've had to put a distinct fsid field in each separate subvolume being exported: /srv/nfs/home -rw,async,fsid=0x1730,no_subtree_check,no_root_squashI must export EACH subvolume?!I have had similar problems. I *think* the current case is that modern NFS, using NFS V4, can cope with the whole disk being accessible without giving each subvolume its own FSID (which I have stopped doing).
I cannot use NFS4 (for several reasons). I must use NFS3
quoted
The snapshots are generated automatically (via cron)! I cannot add them to /etc/exportsWell, you could write some scripts... but I don't think it is necessary. I *think* it is only necessary if you want `find` to be able to cross between subvolumes on the NFS mounted disks.
It is not only a find problem: root@fex:/nfs/tsmsrvj/fex# ls -R : spool ls: ./spool: not listing already-listed directory And as I wrote: there is no such problem with Ubuntu 18.04! So, is it a btrfs or a nfs bug? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:[ref]