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
分类:Lustre