File system mounting issues 7–5
To configure Lustre to use a different port on the client node when using a Myrinet interconnect, perform the
following steps:
1. On the administration server and on the MDS server in the HP SFS system, perform the following
tasks:
a. Stop all file systems, by entering the stop filesystem filesystem_name command for
each file system.
b. Back up the /etc/modprobe.conf file, as follows:
# cp /etc/modprobe.conf /etc/modprobe.conf.save
c. Edit the /etc/modprobe.conf file to add the following line:
options kgmnld port=port_number
where port_number is the number of the port that Lustre is to use. HP recommends that you
use a high-numbered port, for example, port 15 if there are 16 ports available.
2. Change the RAM disk for the Object Storage Servers as follows:
a. Copy the /etc/modprobe.conf file from one of the Object Storage Servers to the
administration server and back it up, by entering the following commands on the administration
server:
# scp root@oss_name:/etc/modprobe.conf /tmp/modprobe.conf
# cp /tmp/modprobe.conf /tmp/modprobe.conf.ost.save
b. Edit the /tmp/modprobe.conf file to add the following line:
options kgmnld port=port_number
c. Update the RAM disk image with the changed /etc/modprobe.conf file by using the
hplsrdu(8) command as follows:
# hplsrdu -c /tmp/modprobe.conf /etc/modprobe.conf
.
.
.
Save modified ramdisk/PXE config ? [y|n] y
3. Reboot all Object Storage Servers in the HP SFS system, as shown in the following example. In this
example, there are four Object Storage Servers, south3 through south6:
sfs> shutdown server south[3-6]
sfs> boot server south[3-6]
4. On each client node, edit the /etc/modprobe.conf file or the /etc/modules.conf file
(depending on the distribution) to add the following line:
options kgmnld port=port_number
5. Reboot the client nodes.
7.2.3 Determine whether Lustre is mounted on a client node
To determine whether Lustre is mounted on a client node, enter the sfsmount command, as shown in the
following example. The command shows details of the Lustre devices that are mounted on the node. In this
example, /mnt/lustre is the mount point of the Lustre file system:
# sfsmount
data on /mnt/lustre type lustre (rw,osc=lov1,
mdc=MDC_client0_mds1_MNT_client_elan)
7.2.4 The SFS service is unable to mount a file system (SELinux is not supported)
If the SFS service is unable to mount a file system, but the file system can be mounted using the sfsmount
command, it may be because the SELinux security feature is enabled on the client node. To work around
this problem, disable the SELinux feature by editing the /etc/sysconfig/selinux and change the
SELINUX setting to disabled. Reboot the client node to bring the change into effect.
Commenti su questo manuale