Re: Directory Size problem

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

 



On 12/4/06, Dave Mitchell <davem@xxxxxxxxx> wrote:
On Mon, Dec 04, 2006 at 11:46:43AM -0500, Joe Smith wrote:
> And as you said originally, du and ls disagree about the size.

I'd be interested in seeing the output of

    strace du /var/spool/mqueue

to see what directories and/or files it thinks its scanning


Hi

Here's the output of the strace.

I'll run the fsck but I didn't want to touch the system incase
someobody could run test to diagnose the problem. Shall I reboot it or
are there any other interesting test I can run before I might lose the
info.

strace du /var/spool/mqueue
execve("/usr/bin/du", ["du", "/var/spool/mqueue"], [/* 23 vars */]) = 0
uname({sys="Linux", node="diamond.example.com", ...}) = 0
brk(0)                                  = 0x804f1a4
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=31060, ...}) = 0
old_mmap(NULL, 31060, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4001f000
old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40020000
mprotect(0x40152000, 36712, PROT_NONE)  = 0
old_mmap(0x40152000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x40152000
old_mmap(0x40157000, 16232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40157000
close(3)                                = 0
munmap(0x40017000, 31060)               = 0
brk(0)                                  = 0x804f1a4
brk(0x804f1cc)                          = 0x804f1cc
brk(0x8050000)                          = 0x8050000
lstat64("/var/spool/mqueue", {st_mode=S_IFDIR|0755, st_size=311296, ...}) = 0
open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 3
chdir("/var/spool/mqueue")              = 0
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=311296, ...}) = 0
fcntl64(0x4, 0x2, 0x1, 0x4)             = 0
brk(0x8052000)                          = 0x8052000
mmap2(NULL, 315392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4015b000
getdents64(0x4, 0x804fad0, 0x1000, 0x804fad0) = 48
getdents64(0x4, 0x804fad0, 0x1000, 0x804fad0) = 0
close(4)                                = 0
munmap(0x4015b000, 315392)              = 0
fchdir(3)                               = 0
close(3)                                = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
write(1, "3724380\t/var/spool/mqueue\n", 263724380      /var/spool/mqueue
) = 26
munmap(0x40017000, 4096)                = 0
_exit(0)                                = ?



Thanks in advance
Dan

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux