23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Options<br />

The various lfs options are listed and described below. For a complete list of<br />

available options, type help at the lfs prompt.<br />

Option<br />

Description<br />

check<br />

Displays the status of MDS or OSTs (as specified in the command) or<br />

all of the servers (MDS and OSTs).<br />

df<br />

Reports filesystem disk space usage or inode usage of each<br />

MDT/OST.<br />

find<br />

Searches the directory tree rooted at the given directory/filename for<br />

files that match the given parameters.<br />

Using ! before an option negates its meaning (files NOT matching the<br />

parameter). Using + before a numeric value means files with the<br />

parameter OR MORE. Using - before a numeric value means files<br />

with the parameter OR LESS.<br />

--atime<br />

File was last accessed N*24 hours ago. (There is no guarantee that<br />

atime is kept coherent across the cluster.)<br />

OSTs store a transient atime that is updated when clients do read<br />

requests. Permanent atime is written to the MDS when the file is<br />

closed. However, on-disk atime is only updated if it is more than 60<br />

seconds old (/proc/fs/lustre/mds/*/max_atime_diff). <strong>Lustre</strong><br />

considers the latest atime from all OSTs. If a setattr is set by user,<br />

then it is updated on both the MDS and OST, allowing the atime to<br />

go backward.<br />

--mtime<br />

File status was last modified N*24 hours ago.<br />

--ctime<br />

File data was last changed N*24 hours ago.<br />

--maxdepth<br />

Allows the find command to descend at most N levels of the<br />

directory tree.<br />

--print<br />

Prints the full filename, followed by a new line.<br />

28-4 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!