Standard

NetApp Vfiler Qtree Quotas Configuration

  • Login to the filer:

# ssh [email protected]

  • Go to the Vfiler unit:

>vfiler context reubakss005-f01

  • Create new qtree:

[email protected]> qtree create /vol/f01_vol02/IronPort_logs

  • Check qtree on volume f01_vol02

 [email protected]> qtree status f01_vol02

Volume   Tree     Style Oplocks  Status  

——– ——– —– ——– ———

f01_vol02          ntfs  enabled  normal  

f01_vol02 IronPort_logs ntfs  enabled  normal  

f01_vol02 qt_regulatory_SCPX_1TB ntfs  enabled  normal  

f01_vol02 qt_team  ntfs  enabled  normal  

 

  • Edit quotas file on Vfiler’s etc path:

quotas file

\\Reubakss005-f01\c$\vol\REUBAKSS005_F01_root\etc\quotas

 

Example of ‘quotas’ file:

/vol/f01_vol02/IronPort_logs            tree                1024G

Then you should ‘restart’ quotas on Vfiler volume to get new resized/edited quota work.

Quotas initializing will take about 20-30 seconds…

[email protected]> quota status f01_vol02

f01_vol02: quotas are on.

 [email protected]> quota off f01_vol02

[email protected]> quota on f01_vol02

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (33% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (38% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (42% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (45% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (49% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (54% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (58% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (64% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (69% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (74% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are initializing (78% done).

[email protected]> quota status f01_vol02

f01_vol02: quotas are on.

  • Map as a network drive newly created/exported qtree ‘IronPort_logs’ to check…

1TB_DISK_STAT

##########################################################################################

  • add ftpproxy user with default group ‘users’ on Vfiler unit example:

[email protected]> useradmin user add ftpproxy -c “FTP USER LOGS” -g users

New password:

Retype new password:

User <ftpproxy> added.

[email protected]> Wed Mar 18 13:54:45 AZT [[email protected]:useradmin.added.deleted:info]: The user ‘ftpproxy’ has been added. 

 

more