[Bug 53388] Re: du reports existing files as missing
Jimmy P: Thank you for your contribution to this bug. If you notice this is still an issue in Mandriva, please post via their bugzilla: https://qa.mandriva.com/ Thanks! ** Changed in: coreutils (Mandriva) Status: New = Incomplete -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
@rusivi1: please do not touch tasks that are not Ubuntu. ** Changed in: coreutils (Mandriva) Status: Incomplete = New -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
** Changed in: coreutils (Ubuntu) Status: Confirmed = Fix Released ** Changed in: linux (Ubuntu) Status: Incomplete = Fix Released -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
seems to work fine in hardy. thanks! -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Since 8.04 is using coreutils 6.10, this bug appears to be gone for me. Can the people that experienced the bug check again please? Maybe this bug can be closed then (at least for Hardy and after that). -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
For reference, here is some detailed information: The underlying code that changed was in lib/fts.c. - du, chmod, chown, chgrp, and the new chcon use fts. - ls and cp use explicit recursion (and are therefore not affected) -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I posted this problem to the coreutils mailing list and got a response. The du from the current 6.9 version of coreutils is working nicely, so it doesn't seem to be a kernel problem. http://www.gnu.org/software/coreutils/ (Note: coreutils 6.9 won't compile directly, due to a more recent change in glibc. Either use the current 6.9.90, or replace all occurences of futimens by gl_futimens (src/touch.c src/copy.c lib/utimens.c lib/utimens.h)) -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
** Changed in: linux-source-2.6.20 (Ubuntu) Assignee: (unassigned) = Ubuntu Kernel Team ** Tags added: needs-devrelease-testing -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I installed mandriva 2007.1 on my machine and I get the same error. coreutils-5.97-6mdv2007.1 ** Also affects: coreutils (Mandriva) Importance: Undecided Status: New -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
** Changed in: linux-source-2.6.20 (Ubuntu) Status: Needs Info = Confirmed -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
emmy:~$ sudo fsck.vfat /dev/sda2 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sda2: 142476 files, 1155689/1186009 clusters That is all the output that fsck gives. I am guessing that means the filesystem is ok? -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I get the same problem on feisty: emmy:/media/sda2$ du --max-depth=1 641440 ./i386 10880 ./valueadd 40768 ./dotnetfx 3008./book 224 ./sysinfo 3778080 ./windows 2097088 ./Documents and Settings 4787328 ./Program Files du: `./System Volume Information': No such file or directory du: `./found.000': No such file or directory du: `./Recycled': No such file or directory . . emmy:~$ uname -a Linux emmy 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux emmy:~$ mount |grep sda2 /dev/sda2 on /media/sda2 type vfat (rw,utf8,umask=007,gid=46) I don't think I've ever used an ext2fs driver in windows on this machine. The partition that displays these problems is vfat anyway. -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Setting back to 2.6.20, per feisty confirmation. Have you run fsck on the vfat partition? ** Changed in: linux-source-2.6.20 (Ubuntu) Sourcepackagename: linux-source-2.6.17 = linux-source-2.6.20 -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Changing the linux source version to 2.6.17, as AFAICT it has not yet been reproduced on feisty. Has fsck been run on the partition that is producing problems? Also: are you using an ext2fs driver in windows that includes write support? I have had mild corruption issues from such things, myself. ** Changed in: linux-source-2.6.17 (Ubuntu) Sourcepackagename: linux-source-2.6.20 = linux-source-2.6.17 Importance: Undecided = Medium Status: Confirmed = Needs Info -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
A couple observations: 1) When du can't find a directory, going into that directory and executing a du or an ls causes subsequent invocations of du to find that directory 2) ls -l seems pretty normal evidence: cindy:/windows$ du --max-depth=1 19456 ./backup . . 1120./car du: `./Media': No such file or directory du: `./ext2fs': No such file or directory . . cindy:/windows$ cd Media/ cindy:/windows/Media$ du --max-depth=1 32 ./Music 64 . cindy:/windows/Media$ cd .. cindy:/windows$ du --max-depth=1 19456 ./backup . . 1120./car 64 ./Media du: `./ext2fs': No such file or directory cindy:/windows$ ls -ld ext2fs drwxrwx--- 2 root plugdev 32768 2004-05-29 13:33 ext2fs/ cindy:/windows$ cd ext2fs/ cindy:/windows/ext2fs$ ls -l total 928 -rwxrwx--- 1 root plugdev 6724 2002-04-20 19:24 changes.txt* -rwxrwx--- 1 root plugdev 17984 1998-06-19 19:29 copying.txt* -rwxrwx--- 1 root plugdev 25956 1999-07-22 00:45 diskio2.dll* -rwxrwx--- 1 root plugdev527 2006-03-31 14:35 explore2fs debug log.txt* -rwxrwx--- 1 root plugdev 780800 2002-10-20 16:56 explore2fs.exe* -rwxrwx--- 1 root plugdev 6263 2000-07-11 23:24 readme.txt* Now that we've looked at ext2fs, du finds it: cindy:/windows$ du --max-depth=1 19456 ./backup . . 1120./car 64 ./Media 960 ./ext2fs The machine is running edgy. The partition is vfat, mounted without utf-8: cindy:/windows$ mount |grep windows /dev/hda1 on /windows type vfat (rw,umask=007,gid=46) -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Hm, while not what I was expecting to see, it still looks much more like a driver/disk problem than du's... but now I'm curious what could make du fail like that, while ls -l doesn't. Also, the fact that looking at ext2fs/ with ls -l fixes du's ability to se ext2fs seems to support this conclusion strongly. I'm going to set the coreutils bug back to Confirmed, out of respect for its previous setting; I'll also set the kernel bug the same. Hopefully, we'll be able to rule out one or the other, and reject it appropriately. ** Changed in: coreutils (Ubuntu) Assignee: Micah Cowan = (unassigned) Status: Needs Info = Confirmed ** Changed in: linux-source-2.6.20 (Ubuntu) Status: Unconfirmed = Confirmed -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
** Changed in: coreutils (Ubuntu) Assignee: Ralph Janke = (unassigned) Status: Needs Info = Confirmed -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Well, but it still sounds like a likely kernel issue, to me, if the deciding factor is whether or not it's mounted in utf-8 mode. I have seen very similar issues on corrupted filesystems, when ls works but ls -l doesn't (readdir() returns the name, but stat() can't find it). I suspect you'd have the same problem ls -l: if you do, then it would definitely be evidence for a kernel, as opposed to a program, bug. Could you please verify this for me? ** Changed in: coreutils (Ubuntu) Assignee: (unassigned) = Micah Cowan Status: Confirmed = Needs Info -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Er, obviously I misread how much of a deciding factor utf8 is; however, I'd still be interested in seeing what the success is like with ls -l. -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Does cifs use vfat? It happens also with cifs mounts -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
This sounds to be a vfat driver issue rather than a du issue; I've added the linux kernel package for this bug. ** Also affects: linux-source-2.6.20 (Ubuntu) Importance: Undecided Status: Unconfirmed -- du reports existing files as missing https://bugs.launchpad.net/bugs/53388 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
this is on edgy - mount |grep windows: /dev/hda1 on /windows type vfat (rw,umask=007,gid=46,utf8) cindy:/windows$ du --max-depth=1 19456 ./backup 465088 ./i386 50560 ./dell 23296 ./discover 2077312 ./winnt 15136 ./recycled 22112 ./drivers 1376./mb 970912 ./Documents and Settings 7163584 ./Program Files 508800 ./FPGAdv53 du: `./car': No such file or directory du: `./Media': No such file or directory du: `./ext2fs': No such file or directory du: `./wpa_files': No such file or directory du: `./router': No such file or directory du: `./My Music': No such file or directory du: `./monitor': No such file or directory du: `./home': No such file or directory 38944 ./stuff du: `./wpa2_files': No such file or directory du: `./WUTemp': No such file or directory du: `./war2': No such file or directory du: `./sblive': No such file or directory 41312 ./brian du: `./wpa3_files': No such file or directory 13984 ./taxes . . . The first directory it couldn't find was called car. After that it can't find most directories but can find some. After remounting without utf8: mount | grep windows: /dev/hda1 on /windows type vfat (rw,umask=007,gid=46) cindy:/windows$ du --max-depth=1 19456 ./backup 465088 ./i386 50560 ./dell 23296 ./discover 2077312 ./winnt 15136 ./recycled 22112 ./drivers 1376./mb 970912 ./Documents and Settings 7163584 ./Program Files 508800 ./FPGAdv53 1120./car 64 ./Media 960 ./ext2fs 1024./wpa_files 736 ./router 32 ./My Music 224 ./monitor 32 ./home 38944 ./stuff 1184./wpa2_files 32 ./WUTemp 28416 ./war2 3456./sblive 41312 ./brian 96 ./wpa3_files 13984 ./taxes 1184./wpa4_files 3392./k 960 ./ext2 155232 ./oo 3008./My Installations 2080./printer 13056 ./serial 27488 ./printerwin 211264 ./perl 9760./test 928 ./rightcpu_files 576 ./middle_files 576 ./left_files 248096 ./law du: `./lawapps': No such file or directory du: `./Temp': No such file or directory du: `./printergui': No such file or directory du: `./ap': No such file or directory du: `./printerGuiSDI': No such file or directory du: `./delldrivers': No such file or directory du: `./24 Season 1': No such file or directory du: `./testuchar': No such file or directory du: `./testendian': No such file or directory 14162944. -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I can confirm and reproduce this behaviour on dapper if unregular characters are part of the file name (i.e. a telephone symbol from wingdings font). -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I have found a similar behaviour using du on a cifs from Windows mounted directory, although only with files that contain spaces in their file names. On ext3 filesystem I had no problems with such files. Can you give some more information about the filesystem, mounting, as well the kind of file names for which this behaviour occurs. Thanks, ** Changed in: coreutils (Ubuntu) Assignee: (unassigned) = txwikinger Status: Unconfirmed = Needs Info -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
Could you also test if this happens when you mount the drive without UTF8 as an option. -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
I get the same behavior on edgy on a different machine. -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 53388] Re: du reports existing files as missing
sorry for the spam, this is on ubuntu 6.06 -- du reports existing files as missing https://launchpad.net/bugs/53388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs