I am looking for the "best" way to size certain folders and files on a NetApp filer. I get different numbers depending on whether I use Windows (2000) or Unix (Solaris 9). (I am "root" in both cases, and thus able to see all the files in a folder,etc). I am wondering if this is due to different block sizes used by those OSes - Windows uses 4K, and Solaris 512K, I think (!)
So, my questions are :
- what is WAFL's block size ?
4K and there are no fragments, so a file consumes disk space in 4K increments.
- what do you recommend for sizing folder and files that reside
on the filer, but are not themselves qtrees (so the quota report won't work) ?
I would use Unix: du -k
- is there a "du" command on the filer itself that I"m missing ?
Not that I know of.
One interesting bit of WAFL trivia -- if a file has <= 64 bytes of data then it consumes 0 blocks because the file data is stored in the inode.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support