Re: 6Gb of invisible files, or what?

From: Oliver Elphick (olly_at_lfix.co.uk)
Date: 09/14/05

  • Next message: Kai Grossjohann: "Re: setting up environment variables"
    To: Angelo Bertolli <angelo@freeshell.org>
    Date: Wed, 14 Sep 2005 09:18:15 +0100
    
    

    On Tue, 2005-09-13 at 11:52 -0400, Angelo Bertolli wrote:
    > Juha Pahkala wrote:
    >
    > > Angelo Bertolli wrote:
    > > No, actually Oliver was 100% correct, I somehow had some dvb
    > > recordings under one of my nfs mount points and they took up the space
    > > that didn't show up using du.
    >
    > Ok, I guess I don't understand why df would report such high disk
    > usage. Does it have something to do with nfs caching data locally or
    > something?

    df reports from the device what space is available and what is used. du
    examines the filesystem. When another filesystem is mounted on a
    mountpoint, the portion of the original filesystem below the mount point
    is concealed by the newly mounted filesystem. The two utilities are
    answering different questions.

    Because of the different ways they work, du cannot answer the question
    "How much space is left?" and df cannot answer the question "How much of
    the used space is visible in the filesystem?"

    -- 
    Oliver Elphick                                          olly@lfix.co.uk
    Isle of Wight                              http://www.lfix.co.uk/oliver
    GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                     ========================================
       Do you want to know God?   http://www.lfix.co.uk/knowing_god.html
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Kai Grossjohann: "Re: setting up environment variables"

    Relevant Pages

    • Re: Solved - How to change the FSINFO for nfsd?
      ... Could you tell us what filesystem you're using? ... Without the patch, when capturing video to ... To use their servers for NFS. ... If a file is dragged on to the NFS mount then it will work fine. ...
      (Linux-Kernel)
    • Re: pxeboot and /boot filesystem, share /boot/kernel
      ... I can share /usr and most other filesystems, but my individual roots ... You can only specify a root filesystem location via the dhcp options. ... Then, whatever kernel is there in location:/boot/kernel (or rather, ... only share /boot/kernel/kernel and share a NFS mount for the ...
      (freebsd-hackers)
    • pxeboot and /boot filesystem, share /boot/kernel
      ... I want to tighten up my spaces for diskless machines and I came across ... You can only specify a root filesystem location via the dhcp options. ... make pxeboot understand a separate "boot-path" dhcp option. ... only share /boot/kernel/kernel and share a NFS mount for the ...
      (freebsd-hackers)
    • Re: pxeboot and /boot filesystem, share /boot/kernel
      ... I can share /usr and most other filesystems, but my individual roots ... You can only specify a root filesystem location via the dhcp options. ... Then, whatever kernel is there in location:/boot/kernel (or rather, ... only share /boot/kernel/kernel and share a NFS mount for the ...
      (freebsd-hackers)
    • Re: kernel BUG at fs/inode.c
      ... I've already seen a similar report. ... At the risk of reporting further bugs :-) here it goes: ... about having had a previous filesystem. ... for the same disk(!) without any formatting ...
      (Linux-Kernel)