1 .TH lfs 1 "2003 Oct 29" Lustre "configuration utilities"
3 lfs \- Lustre utility to create a file with specific striping pattern, find the striping pattern of exiting files
8 .B lfs find [--obd <uuid>] [--quiet | --verbose] [--recursive] <dir|file>
10 .B lfs getstripe <filename>
12 .B lfs setstripe <filename> <stripe-size> <start-ost> <stripe-cnt>
14 .B lfs quotachown [-i] <filesystem>
16 .B lfs quotacheck [-ug] <filesystem>
18 .B lfs quotaon [-ugf] <filesystem>
20 .B lfs quotaoff [-ug] <filesystem>
22 .B lfs setquota [-u|-g] <name> <block-softlimit> <block-hardlimit> <inode-softlimit> <inode-hardlimit> <filesystem>
24 .B lfs quota [-o obd_uuid] [-u|-g] <name> <filesystem>
26 .B lfs setstripe <filename> <stripe-size> <start-ost> <stripe-cnt>
28 .B lfs check <mds| osts| servers>
31 can be used to create a new file with a specific striping pattern, determine the default striping pattern, gather the extended attributes (object numbers and
32 location) for a specific file. It can be invoked interactively without any
33 arguments or in a non-interactive mode with one of the arguements supported.
35 The various options supported by lctl are listed and explained below:
38 To create a new file with a specific striping pattern
41 To list the extended attributes for a given filename or files in a directory or recursively for all files in a directory tree. It can also be used to list the files that have objects on a specific OST.
44 To list the striping pattern for given filename
47 To change files' owner and group on OSTs of the specified filesystem
50 To scan the specified filesystem for disk usage, and create or update quota files
53 To turn filesystem quotas on
56 To turn filesystem quotas off
59 To set filesystem quotas
62 To display disk usage and limits
65 Display the status of MDS or OSTs (as specified in the command) or all the servers (MDS and OSTs)
68 List all the OSTs for the filesystem
71 Provides brief help on the various arguments
74 Quit the interactive lfs session
77 .B $lfs setstripe /mnt/lustre/file1 131072 0 1
78 This creats a file striped on one OST
80 .B $lfs find /mnt/lustre/file1
81 Lists the extended attributes of a given file
83 .B $lfs find /mnt/lustre/
84 Lists the extended attributes of all files in a given directory
86 .B $lfs find -r /mnt/lustre/
87 Recursively list the extended attributes of all files in a given directory tree
89 .B $lfs find -r --obd OST2-UUID /mnt/lustre/
90 List all the files that have objects on a specific OST
92 .B $lfs quotachown -i /mnt/lustre
93 Change file owner and group
95 .B $lfs quotacheck -ug /mnt/lustre
96 Quotacheck for user and group
98 .B $lfs quotaon -ug /mnt/lustre
99 Turn quotas of user and group on
101 .B $lfs quotaoff -ug /mnt/lustre
102 Turn quotas of user and group off
104 .B $lfs setquota -u bob 0 1000000 0 10000 /mnt/lustre
105 Set quotas of user `bob': 1GB block quota and 10,000 file quota
107 .B $lfs quota -u bob /mnt/lustre
108 List quotas of user `bob'
110 .B $ lfs find -r --obd OST2-UUID /mnt/lustre/
112 .B $lfs check servers
113 Check the status of all servers(mds, osts)