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.

22.3.8 Default Striping<br />

These are the default striping settings:<br />

lov.stripesize=<br />

lov.stripecount=<br />

lov.stripeoffset=<br />

To change the default striping information.<br />

■<br />

On the MGS:<br />

■<br />

$ lctl conf_param testfs-MDT0000.lov.stripesize=4M<br />

On the MDT and clients:<br />

$ mdt/cli> cat /proc/fs/lustre/lov/testfs-{mdt|cli}lov/stripe*<br />

22.3.9 Erasing a Filesystem<br />

If you want to erase a filesystem, run this command on your targets:<br />

$ "mkfs.lustre –reformat"<br />

If you are using a separate MGS and want to keep other filesystems defined on that<br />

MGS, then set the writeconf flag on the MDT for that filesystem. The writeconf<br />

flag causes the configuration logs to be erased; they are regenerated the next time<br />

the servers start.<br />

To set the writeconf flag on the MDT:<br />

1. Unmount all clients/servers using this filesystem, run:<br />

$ umount /mnt/lustre<br />

2. Erase the filesystem and, presumably, replace it with another filesystem, run:<br />

$ mkfs.lustre –reformat --fsname spfs --mdt --mgs /dev/sda<br />

22-10 <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!