Dear Robinhood users and developers,

I've encountered another thing: sparse files. When scanning a NFS filesystem 
I've found a file reported to have 2TB size by rbh-report.  It was a sparse 
file though, not a real 2TB one:


[root@myhost]# stat
myfilename

  File:
`myfilename'
  Size: 2196003979264Blocks: 337664     IO Block: 1048576 regular file
Device: 16h/22dInode: 3735378     Links: 1
Access: (0664/-rw-rw-r--)  Uid: (100101/myuser)   Gid: (100101/myuser)
Access: 2014-02-19 22:06:37.128304863 -0600
Modify: 2012-10-04 16:29:00.000000000 -0500
Change: 2014-01-03 16:36:32.369687879 -0600


[root@myhost]# du -s –m myfile
myfile
165myfile

How does Robinhood report/collect the file usage data? Does it go by "Size:" in 
stat, or by 512*"Blocks"? Results can be vastly different for the individual 
files as this example shows. Is the overall filesystem usage counted by the 
nominal sizes or used blocks? Is there any scan/report options to chose one way 
over another?

Thanks!

--
Grigory Shamov
Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to