Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108483 - sys-apps/coreutils-5.2.1-r6 : df shows wrong size for nfs-soft-mounted dirs
Summary: sys-apps/coreutils-5.2.1-r6 : df shows wrong size for nfs-soft-mounted dirs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 105368
Blocks:
  Show dependency tree
 
Reported: 2005-10-08 06:11 UTC by Toralf Förster
Modified: 2005-10-17 05:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-10-08 06:11:04 UTC
Mounting a nfs dir under UML with option soft and stopping nfs - service at the
host system, shows wrong block size, eg:

normal behaviour (n22_uml is the UML sytem, n22_tun the host) :
n22_uml ~ # df /mnt/nfs/n22_tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
n22_tun:/tmp          14011712  10646784   2653184  81% /mnt/nfs/n22_tmp

Now I stop nfs at n22_tun:
n22 ~ # /etc/init.d/nfs stop
 * Stopping NFS mountd ...                                                     
                                          [ ok ]
 * Stopping NFS daemon ...                                                     
                                          [ ok ]
 * Unexporting NFS directories ...                                             
                                          [ ok ]
 * Stopping NFS statd ...           

Ang got finally under UML:
n22_uml ~ # df /mnt/nfs/n22_tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
n22_tun:/tmp         77371252437321868667518976         0
77371252437321868667518976   0% /mnt/nfs/n22_tmp


Here the exports - file from the host:
n22 ~ # cat /etc/exports
# /etc/exports: NFS file systems being exported.  See exports(5).
/tmp            n22_uml(rw,sync,all_squash)

and the appropriate fstab - entry under UML:
n22_uml ~ # grep n22_tmp /etc/fstab 
n22_tun:/tmp            /mnt/nfs/n22_tmp        nfs     soft                    0 0

I updated the host system as well as the UML (emerge sync && emerge --newuse
--update --ask --verbose --deep --tree world) before I reproduced this bug.
Maybe there is a relation to bug #104351 ?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




n22 ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://mir.zyrianes.net/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 arts avi berkdb bitmap-fonts browserplugin
cardbus cddb cdparanoia crypt cups curl dvd dvdr dvdread eds emboss encode
ethereal fam font-server foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2
imagemagick imlib innodb ipv6 jai java javascript jimi jpeg junit kde libg++
libwww live mad mbox mikmod mmx mmxext mng motif mp3 mpeg mysql nagios-dns
nagios-ntp nagios-ping nagios-s ncurses network nls no-old-linux nsplugin ogg
oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline
real samba sdl slp smime snmp spell sse sse2 ssl subversion svg tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb userlocales vorbis webdav wifi xanim xfs
xine xml2 xmms xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Toralf Förster gentoo-dev 2005-10-17 05:27:41 UTC
solved with linux-2.6.13-gentoo-r3