Auto Start Lustre Service And Mount Lustre Filesystem on CentOS 7

Copy these commands into the new file named “auto_lustre_client.sh” under “/etc/rc.d/”.

[root@node ~]# cat /etc/rc.d/auto_lustre_client.sh 
#! /bin/sh
modprobe -v lustre
modprobe -v lnet
mount -t lustre 10.0.0.6@o2ib0:/lustrefs /lustre/

Add the following line into “/etc/rc.d/rc.local”.

/etc/rc.d/auto_lustre_client.sh

Perform executeable attribute to “auto_lustre_client.sh” and “rc.local”.

chmod +x auto_lustre_client.sh
chmod +x rc.local

 

Advertisements

分类:Lustre

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.