util-linux /mount / df broken most of the time

Reindl Harald h.reindl at thelounge.net
Tue Feb 5 08:03:42 UTC 2013



Am 05.02.2013 04:57, schrieb David G.Miller:
> Could be the same but interesting that not everyone (including me) sees it.  The
> bug suggests looking at the output of:
> 
> stat --printf "%d\t%n\n" / /var/lib/nfs/rpc_pipefs
> 
> If the numbers for both / and /var/lib/nfs/rpc_pipefs are the same, df doesn't
> output a line for /.  If they're different, no problem.  
> 
> Apparently, /var/lib/nfs/rpc_pipefs has something to do with the implementation
> of nfs but just enabling an nfs export  and starting the service doesn't cause
> the problem.  I'll have to try rebooting the box with nfs server enabled at
> start up and see if I can reproduce the problem

it has definitly nothing to do with NFS server running

i have bever and will never use NFS nor is any nfs-related
service enabled here
_________________________________________________________

[root at rh:~]$ /bin/df -hT | grep ext4
/dev/md0       ext4   485M     52M  434M   11% /boot
/dev/md2       ext4   3,6T    2,2T  1,5T   61% /mnt/data
_________________________________________________________

[root at rh:~]$ /bin/mount | grep ext4
/dev/md0 on /boot type ext4 (rw)
/dev/md2 on /mnt/data type ext4
(rw,noatime,nodiratime,nosuid,data=writeback,commit=45,barrier=0,delalloc,inode_readahead_blks=256,noquota,nodiscard)
_________________________________________________________

[root at rh:~]$ cat /proc/mounts | grep ext4
/dev/md1 / ext4 rw,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md0 /boot ext4 rw,relatime,data=ordered 0 0
/dev/md2 /mnt/data ext4 rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /Volumes/dune/www-servers ext4 rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /var/tmp ext4 rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /tmp ext4 rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /home ext4 rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /Volumes/dune/www-servers/phpincludes ext4
rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
/dev/md2 /mnt/data/www/thelounge.net/phpincludes ext4
rw,nosuid,noatime,nodiratime,commit=45,stripe=256,inode_readahead_blks=256 0 0
_________________________________________________________

[root at rh:~]$ cat /proc/mounts | grep -i nfs
[root at rh:~]$
_________________________________________________________

[root at rh:~]$ lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE   MOUNTPOINT
sda       8:0    0  1,8T  0 disk
├─sda1    8:1    0  500M  0 part
│ └─md0   9:0    0  500M  0 raid1  /boot
├─sda2    8:2    0 14,7G  0 part
│ └─md1   9:1    0 29,3G  0 raid10
└─sda3    8:3    0  1,8T  0 part
  └─md2   9:2    0  3,6T  0 raid10 /mnt/data
sdb       8:16   0  1,8T  0 disk
├─sdb1    8:17   0  500M  0 part
│ └─md0   9:0    0  500M  0 raid1  /boot
├─sdb2    8:18   0 14,7G  0 part
│ └─md1   9:1    0 29,3G  0 raid10
└─sdb3    8:19   0  1,8T  0 part
  └─md2   9:2    0  3,6T  0 raid10 /mnt/data
sdc       8:32   0  1,8T  0 disk
├─sdc1    8:33   0  500M  0 part
│ └─md0   9:0    0  500M  0 raid1  /boot
├─sdc2    8:34   0 14,7G  0 part
│ └─md1   9:1    0 29,3G  0 raid10
└─sdc3    8:35   0  1,8T  0 part
  └─md2   9:2    0  3,6T  0 raid10 /mnt/data
sdd       8:48   0  1,8T  0 disk
├─sdd1    8:49   0  500M  0 part
│ └─md0   9:0    0  500M  0 raid1  /boot
├─sdd2    8:50   0 14,7G  0 part
│ └─md1   9:1    0 29,3G  0 raid10
└─sdd3    8:51   0  1,8T  0 part
  └─md2   9:2    0  3,6T  0 raid10 /mnt/data
sr0      11:0    1 1024M  0 rom
_________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130205/5f6a0e73/attachment.sig>


More information about the users mailing list