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.

6. Install new <strong>Lustre</strong> version and restart the nodes with new kernel on the MGS<br />

and MDT.<br />

[root@mds ~]# tunefs.lustre --mgs --writeconf --mgs --mdt --fsname=<br />

sunfs /dev/sdb<br />

tunefs.lustre --mgs --writeconf --mgs --mdt --fsname=sunfs /dev/sdb<br />

checking for existing <strong>Lustre</strong> data: found CONFIGS/mountdata<br />

Reading CONFIGS/mountdata<br />

Read previous values:<br />

Target: sunfs-MDT0000<br />

Index: 0<br />

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

Mount type: ldiskfs<br />

Flags: 0x5<br />

(MDT MGS )<br />

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

Parameters: mdt.group_upcall=/usr/sbin/l_getgroups<br />

Permanent disk data:<br />

Target: sunfs-MDT0000<br />

Index: 0<br />

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

Mount type: ldiskfs<br />

Flags: 0x105<br />

(MDT MGS writeconf )<br />

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

Parameters: mdt.group_upcall=/usr/sbin/l_getgroups<br />

7. Write configurations to mount data.<br />

[root@mds ~]# mount -t lustre /dev/sdb /mnt/data/mdt/<br />

[root@mds ~]# df<br />

Filesystem 1K-blocks Used Available Use% Mounted on<br />

/dev/sda2 6940516 4173316 2408952 64% /<br />

/dev/sda1 101086 14548 81319 16% /boot<br />

tmpfs 271804 0 271804 0% /dev/shm<br />

/dev/sdb 1834832 90196 1639780 6% /mnt/data/mdt<br />

8. Mount the OST.<br />

oss # mount -t lustre /dev/sdb /mnt/ost<br />

If an error occurs, use this command:<br />

oss # tunefs.lustre --ost --fsname=sunfs --mgssnode=mds /dev/sdb<br />

9. After installing the new <strong>Lustre</strong> modules, mount the file system on the client<br />

side.<br />

client # mount -t lustre mds@tcp0:/sunfs /mnt/client<br />

13-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!