[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#547310: marked as done (linux-image-2.6.30-1-686: df shows wrong numbers while a filesystem is unmounted)



Your message dated Fri, 18 Sep 2009 16:31:07 +0200
with message-id <20090918143107.GA12479@wavehammer.waldi.eu.org>
and subject line Re: Bug#547310: linux-image-2.6.30-1-686: df shows wrong numbers while a filesystem is unmounted
has caused the Debian Bug report #547310,
regarding linux-image-2.6.30-1-686: df shows wrong numbers while a filesystem is unmounted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
547310: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547310
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.30-1-686
Version: 2.6.30-6
Severity: normal


To reproduce mount a (slow) flash card on /mnt

# mount /dev/sde1 /mnt

Copy larger amount of data

# cd /mnt ; tar zxvpf /some_directory/some_archive.tar.gz

Unmount

# cd ; umount /mnt

Now data is being written to the card for some minute(s).

$ df -h

shows same size and occupied space for / and /mnt althouhg the card is
much smaller.


-- Package-specific info:
** Version:
Linux version 2.6.30-1-686 (Debian 2.6.30-6) (waldi@debian.org) (gcc version 4.3.4 (Debian 4.3.4-1) ) #1 SMP Sat Aug 15 19:11:58 UTC 2009

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.30-1-686 root=UUID=9672c75d-b4e9-42ec-9de4-2df6b400479a ro video=efifb fbcon=rotate:1

** Not tainted

** Kernel log:

** Loaded modules:

** PCI devices:



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.30-1-686 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92o      tools for generating an initramfs
ii  module-init-tools             3.4-1      tools for managing Linux kernel mo

Versions of packages linux-image-2.6.30-1-686 recommends:
ii  libc6-i686                    2.9-26     GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.30-1-686 suggests:
ii  grub-efi [grub]         1.96+20080724-16 GRand Unified Bootloader, version 
pn  linux-doc-2.6.30        <none>           (no description available)

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Fri, Sep 18, 2009 at 03:41:04PM +0200, Michal Suchanek <hramrach@centrum.cz> wrote:
> # cd ; umount /mnt
> Now data is being written to the card for some minute(s).

This removes the filesystem mount, writes the data and then writes
/etc/mtab.

> $ df -h
> shows same size and occupied space for / and /mnt althouhg the card is
> much smaller.

You found a race in the mtab handling. Replace /etc/mtab with a link to
/proc/mounts. No bug.

Bastian

-- 
The sooner our happiness together begins, the longer it will last.
		-- Miramanee, "The Paradise Syndrome", stardate 4842.6


--- End Message ---

Reply to: