Use the “maxfiles” command to both query and increase the number of inodes in a FlexVol:
toaster> maxfiles svault01
Volume svault01: maximum number of files is currently 31876689 (30927298 used).
toaster> maxfiles svault01 40000000
Note that an increased maxfiles value can never be decreased, and increases in maxfiles has capacity and other implications. In ONTAP’s words:
Increasing the maximum [...]
The Nexenta Management Console (NMC) is a tightly focused – and restrictive – command-line interface. If you need access to a shell, launch one from within NMC as follows:
nmc@nexenta01:/$ option expert_mode=1 -s
nmc@nexenta01:/$ !bash
You are about to enter the Unix (“raw”) shell and execute low-level Unix command(s). Warning: using low-level Unix commands is not recommended! [...]
First, stop any running deduplication operations on the volume in question:
filer> sis stop /vol/vol1
Operation is currently idle: /vol/vol1
Next, disable A-SIS on the volume:
filer> sis off /vol/vol1
SIS for “/vol/vol1″ is disabled.
Finally, make the volume “fat” again:
filer> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only [...]
FlexVol autogrowth is configured using the vol autosize command; example for filer “toaster” and volume /vol/vol3:
toaster> vol autosize vol3 -m 2t -i 20g on
To configure growth to happen before snapshot deletion, use the try_first option:
toaster> vol options vol3 try_first volume_grow
See also ONTAP autodelete settings for a FlexVol.
Example session configuring autodelete settings for /vol/vol3 on filer “toaster”:
toaster> snap autodelete vol3 show
snapshot autodelete settings for vol3:
state : off
commitment [...]
Assuming you have a dump of quota report from the filer in question at /tmp/toaster.quota, and want to see the top twenty disk users:
egrep ‘^user’ /tmp/toaster.quota | awk ‘{ print $5, $2 }’ | sort -rn | head -20