Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / doc / lfs.1
index d8f4c76..d8455bb 100644 (file)
@@ -30,8 +30,12 @@ lfs \- Lustre utility to create a file with specific striping pattern, find the
 .B lfs setquota [-u|-g] <name> <block-softlimit> <block-hardlimit> 
              \fB<inode-softlimit> <inode-hardlimit> <filesystem>\fR
 .br
+.B lfs setquota -t [-u|-g] <block-grace> <inode-grace> <filesystem>
+.br
 .B lfs quota [-o obd_uuid] [-u|-g] <name> <filesystem>
 .br
+.B lfs quota -t [-u|-g] <filesystem>
+.br
 .B lfs check <mds| osts| servers>
 .br
 .B lfs df [-i] [-h] [path]
@@ -70,9 +74,15 @@ To turn filesystem quotas off.  Options specify quota for users (-u) groups (-g)
 .B setquota  [-u|-g] <name> <block-softlimit> <block-hardlimit> <inode-softlimit> <inode-hardlimit> <filesystem>
 To set filesystem quotas for users or groups. Limits are specific as blocks and inodes, see EXAMPLES
 .TP
+.B setquota -t [-u|-g] <block-grace> <inode-grace> <filesystem>
+To set filesystem quota grace times for users or groups. Grace time is specified in "XXwXXdXXhXXmXXs" format or as an integer seconds value, see EXAMPLES
+.TP
 .B quota [-o obd_uuid] [-u|-g] <name> <filesystem>
 To display disk usage and limits, either for the full filesystem, or for objects on a specific obd. A user or group name must be specified.
 .TP
+.B quota -t [-u|-g] <filesystem>
+To display block and inode grace times for user (-u) or group (-g) quotas
+.TP
 .B check 
 Display the status of MDS or OSTs (as specified in the command) or all the servers (MDS and OSTs)
 .TP
@@ -122,9 +132,15 @@ Turn quotas of user and group off
 .B $ lfs setquota -u bob 0 1000000 0 10000 /mnt/lustre
 Set quotas of user `bob': 1GB block quota and 10,000 file quota
 .TP
+.B $ lfs setquota -t -u 1000 1w4d /mnt/lustre
+Set grace times for user quotas: 1000 seconds for block quotas, 1 week and 4 days for inode quotas
+.TP
 .B $ lfs quota -u bob /mnt/lustre
 List quotas of user `bob'
 .TP
+.B $ lfs quota -t -u /mnt/lustre
+Show grace times for user quotas on /mnt/lustre
+.TP
 .B $ lfs check servers 
 Check the status of all servers (MDT, OST)
 .TP