While attending a webex for a SRM solution, couple of questions came up with regards to the number of files in file system and average file size per file system. I should write a snmp query for getting that info for Netapps. Most SRM/file reporting solutions’ performance depends on the number of files, not the size of the file system.
- Mark: Please generalize the app and release it to AppStore.. Even if you sold it for $1.99, you could probably retire...
- Bob Updegraff: I’m a consultant with NetApp partner Sirius Computer solutions. I could use this on every...
- Debabrata Biswas: Dear Sir, I have drawn pie chart using Core Plot library and data from Sqlite database. But I am...
- deerek: thanks you helped me out !
- Stephan: Does anyone know why this works perfectly (with smb) as long as I do not migrate my home user folder to a...
- Log file locations in NetApp Data ONTAP
- MultiStore vFiler Tip
- Refreshing Test Dev SQL Environments using NetApp Technologies
- WordPress Feature? or a bug?
- Google Chrome Web Developer Tool
- Configuring Cisco 1000v with NAS datastores
- iPod crash fix for iPhone 3.0 beta 5
- GrandCentral has arrived!
- getquota source
- iPhone – say hello! to NetApp
Elsewhere..
Gas Money
2.0
Apple
blogsome
browsers
drupal
FAS
Flock
How-To Series
IBRIX
Identity
IronBrick
iSCSI
LDAP
leopard
mac os x
NetApp
NFS
OpenID
OpenSolaris
programming
SNMP
Solaris
SUN
Sysadmin
XRI Asides (3)
Featured (6)
How-To Series (14)
Matters Of Interest (37)
Technology (203)
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.












You can use filestats on the filer to get filesize information from a filer. It’s on a volume basis, so if you have a lot of volumes, I see a for loop in your future. The syntax looks like this.
filestats sizes * snapshot hourly.0 volume vol03
That will give you counters for every unique filesize in volume vol03, in snapshot hourly.0. Filestats only runs against a snapshot.
If you wanted more in buckets, you could do this.
filestats ages 1k 2k 3k 4k 5k 6k 7k 8k 9k 10k snapshot hourly.0 volume vol03
I warn you if you run this you will loose your console until the command is done running. This can take anywhere from a few minutes to a few hours (not suprisingly) based off the number of files you have. I therefor recommend running doing this via rsh. :)
You could graph this fairly easily I think, might be nice to have a running average or plot things over the lifespan of a filer.
Thx for the note. We/I know about the filestats command. I even use it in a few occasions. However, that requires access to the console and not very helpful to users. At our location, non-admins do not have any console access. My next post attempts to provide a shell routine (about to become a php routine)
I also experienced high load on the filers when running filestats.
Netapp does have an exhaustive SNMP mib. I provide several php routines that are used to get the filer info as part of our workflow.
AJAX and Netapp MIB is a killer combination!