Re: cannot use btrfs for nfs server

Ulli Horlacher
2021-07-09T06:53:24Z

On Fri 2021-07-09 (01:05), Graham Cobb wrote:
> On 08/07/2021 23:17, Ulli Horlacher wrote:
>
> >
> > I have waited some time and some Ubuntu updates, but the bug is still there:
>
> Yes: find and du get confused about seeing inode numbers reused in what
> they think is a single filesystem.

A lot of tools aren't working correctly any more, even ls:

root@tsmsrvj:~# ls -R /nfs/localhost/fex | wc
ls: /nfs/localhost/fex/spool: not listing already-listed directory

In consequence many cronjobs and montoring tools will fail :-(

> You can eliminate the problems by exporting and mounting single
> subvolumes only

This is not possible at our site, we use rotating snapshots created by a
cronjob.

--
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:<56c40592-0937-060a-5f8a-969d8a88d541@cobb.uk.net>