23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. Format LVM volumes as <strong>Lustre</strong> targets.<br />

In this example, the backup filesystem is called “main” and designates the<br />

current, most up-to-date backup.<br />

cfs21:~# mkfs.lustre --mdt --fsname=main /dev/volgroup/MDT<br />

No management node specified, adding MGS to this MDT.<br />

Permanent disk data:<br />

Target: main-MDTffff<br />

Index: unassigned<br />

<strong>Lustre</strong> FS: main<br />

Mount type: ldiskfs<br />

Flags: 0x75<br />

(MDT MGS needs_index first_time update )<br />

Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr<br />

Parameters:<br />

checking for existing <strong>Lustre</strong> data<br />

device size = 200MB<br />

formatting backing filesystem ldiskfs on /dev/volgroup/MDT<br />

target name main-MDTffff<br />

4k blocks 0<br />

options -i 4096 -I 512 -q -O dir_index -F<br />

mkfs_cmd = mkfs.ext2 -j -b 4096 -L main-MDTffff -i 4096 -I 512 -<br />

q -O dir_index -F /dev/volgroup/MDT<br />

Writing CONFIGS/mountdata<br />

cfs21:~# mkfs.lustre --ost --mgsnode=cfs21 --fsname=main<br />

/dev/volgroup/OST0<br />

Permanent disk data:<br />

Target: main-OSTffff<br />

Index: unassigned<br />

<strong>Lustre</strong> FS: main<br />

Mount type: ldiskfs<br />

Flags: 0x72<br />

(OST needs_index first_time update )<br />

Persistent mount opts: errors=remount-ro,extents,mballoc<br />

Parameters: mgsnode=192.168.0.21@tcp<br />

checking for existing <strong>Lustre</strong> data<br />

device size = 200MB<br />

formatting backing filesystem ldiskfs on /dev/volgroup/OST0<br />

target name main-OSTffff<br />

4k blocks 0<br />

options -I 256 -q -O dir_index -F<br />

mkfs_cmd = mkfs.ext2 -j -b 4096 -L main-OSTffff -I 256 -q -O<br />

dir_index -F /dev/ volgroup/OST0<br />

Writing CONFIGS/mountdata<br />

cfs21:~# mount -t lustre /dev/volgroup/MDT /mnt/mdt<br />

Chapter 15 Backup and Restore 15-7

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

Saved successfully!

Ooh no, something went wrong!