[mythtv] [mythtv-commits] Ticket #6503: GetFilesystemInfos, TotalKB: -1 should be ignored
Rudy Zijlstra
mythtv at grumpydevil.homelinux.org
Sun Apr 26 21:38:03 UTC 2009
Op zondag 26-04-2009 om 14:16 uur [tijdzone -0400], schreef Chris
Pinkham:
> * On Sun Apr 26, 2009 at 12:58:01PM +0200, Rudy Zijlstra wrote:
> > Filesystems over 2T is size also cause nfs to report wrong information
> > on available and used sizes. I have this issue with NFSv3, where my
> > mounts to mythstorage give wrong info within the application layer.
>
> Can you compile and run the statfs.c program I attached to the ticket and reply
> here with the results of that run on your > 2TB filesystem?
>
> Chris
here it comes, and although some apps have problems with it (KDE Info
center being one), statfs works:
root at astra:/usr/src/debug# ./statfs /data/mythstorage0
Info for : /data/mythstorage0
FS Type : 0x6969
Tot Blks : 11445894
Free Blks : 7049886
Block Size: 262144
TotalKB : 2930148864 KB ((11445894 * 262144) >> 10)
FreeKB : 1804770816 KB ((1249378304 * 0) >> 10)
UsedKB : 1125378048 KB (calculated from TotalKB - FreeKB)
root at astra:/usr/src/debug# ./statfs /data/mythstorage1
Info for : /data/mythstorage1
FS Type : 0x6969
Tot Blks : 8584315
Free Blks : 6129592
Block Size: 262144
TotalKB : 2197584640 KB ((8584315 * 262144) >> 10)
FreeKB : 1569175552 KB ((517996544 * 0) >> 10)
UsedKB : 628409088 KB (calculated from TotalKB - FreeKB)
I've tested on both backend servers. All backend servers mount over nfs
for storage.
Cheers,
Rudy
P.S. that was not the intention.. but i still need to find out whether
the mobo in the fileserver is broken or not. Is seems it is :(
More information about the mythtv-dev
mailing list