bug-coreutils
[Top][All Lists]
Advanced

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

Re: df reporting problem with raid


From: Steven Fishback
Subject: Re: df reporting problem with raid
Date: Fri, 08 Sep 2006 22:32:54 -0400
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Philip Rowlands wrote:

What are the values returned by the statfs system call? Try running this command
$ strace -e trace=statfs,statfs64 df > /dev/null
and seeing what values are given for f_blocks, f_bfree and f_bavail.


Cheers,
Phil
# strace -e trace=statfs,statfs64 df > /dev/null

statfs64("/", 84, 0xbfffaaac) = -1 ENOSYS (Function not implemented) statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=1235345, f_bfree=401436, f_bavail=338684, f_files=627744, f_ffree=439780, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/proc", {f_type="PROC_SUPER_MAGIC", f_bsize=1024, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=1024, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/proc/bus/usb", {f_type=0x9fa2, f_bsize=1024, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/boot", {f_type="EXT2_SUPER_MAGIC", f_bsize=1024, f_blocks=46537, f_bfree=24948, f_bavail=22545, f_files=12048, f_ffree=11998, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/dev/shm", {f_type=0x1021994, f_bsize=4096, f_blocks=514748, f_bfree=514748, f_bavail=514748, f_files=514748, f_ffree=514747, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/tmp", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=6502843, f_bfree=6502824, f_bavail=6172489, f_files=3309568, f_ffree=3309549, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/usr/vice/cache", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=247022, f_bfree=209240, f_bavail=196692, f_files=125696, f_ffree=65652, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/var", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=247022, f_bfree=224646, f_bavail=212098, f_files=125696, f_ffree=124654, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/scr", {f_type="NFS_SUPER_MAGIC", f_bsize=512, f_blocks=2346262944, f_bfree=2268743128, f_bavail=2268743128, f_files=31876689, f_ffree=21588101, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/netscr", {f_type="NFS_SUPER_MAGIC", f_bsize=512, f_blocks=2346262944, f_bfree=2268743128, f_bavail=2268743128, f_files=31876689, f_ffree=21588101, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/nas", {f_type="NFS_SUPER_MAGIC", f_bsize=512, f_blocks=1719877224, f_bfree=2144061328, f_bavail=2144061328, f_files=31876689, f_ffree=29792940, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0 statfs("/afs", {f_type=0, f_bsize=1024, f_blocks=9000000, f_bfree=9000000, f_bavail=9000000, f_files=9000000, f_ffree=9000000, f_fsid={4660, 99}, f_namelen=256, f_frsize=134552232}) = 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]