GNU bug report logs - #66441
df: duplicated NFS4 bind mounts with the same device

Previous Next

Package: coreutils;

Reported by: Lukáš Zaoral <lzaoral <at> redhat.com>

Date: Tue, 10 Oct 2023 14:02:02 UTC

Severity: normal

To reply to this bug, email your comments to 66441 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#66441; Package coreutils. (Tue, 10 Oct 2023 14:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lukáš Zaoral <lzaoral <at> redhat.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 10 Oct 2023 14:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lukáš Zaoral <lzaoral <at> redhat.com>
To: bug-coreutils <at> gnu.org
Subject: df: duplicated NFS4 bind mounts with the same device
Date: Tue, 10 Oct 2023 13:57:55 +0200
I get duplicates on this reproducer with plain df, i.e. without -a.
Originally, the issue was reported for RHEL 8 [1] but I can reproduce
it even on the latest stable release of coreutils shipped with Fedora
Rawhide.

$ mkdir -p /original /bind1 /bind2
$ mount.nfs server:/nfs /original -v 
mount.nfs: timeout set for Fri Mar 10 10:50:59 2023
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.122.40,clientaddr=192.168.122.121'
$ mount --bind /original/testd1 /bind1 -v
mount: /original/testd1 bound on /bind1.
$ mount --bind /original/testd2 /bind2 -v
mount: /original/testd2 bound on /bind2.
$ df -ht nfs4 
Filesystem Size Used Avail Use% Mounted on
server:/nfs 97M 5.4M 92M 6% /original
server:/nfs/testd1 97M 5.4M 92M 6% /bind1 
server:/nfs/testd2 97M 5.4M 92M 6% /bind2
$ mount --bind /original/testd1 /bind1 -v
mount: /original/testd1 bound on /bind1.
$ mount --bind /original/testd2 /bind2 -v
mount: /original/testd2 bound on /bind2.
$ df -ht nfs4
Filesystem Size Used Avail Use% Mounted on
server:/nfs 97M 5.4M 92M 6% /original
server:/nfs/testd1 97M 5.4M 92M 6% /bind1 
server:/nfs/testd2 97M 5.4M 92M 6% /bind2 
server:/nfs/testd1 97M 5.4M 92M 6% /bind1 <- dup
server:/nfs/testd2 97M 5.4M 92M 6% /bind2 <— dup

[1] https://issues.redhat.com/browse/RHEL-5649





This bug report was last modified 1 year and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.