
Mounting Lustre file systems using the sfsmount command with the lnet: protocol 4–3
that you convert existing systems to use the lnet: protocol. The process for converting from the ldap:
protocol to the lnet: protocol is described in Chapter 2 (for HP XC systems) and Chapter 3 (for other types
of client systems).
A Lustre file system comprises a number of MDS and OST services. A Lustre file system cannot be mounted
on a client node until all of the file system services are running. To determine if a file system is ready to be
mounted, use the show filesystem command on the HP SFS system to check the file system state. If the
file system state is started, the mount operation will complete normally. If the file system state is
recovering, the mount command will stall until the file system state goes to started—a process that
takes several minutes. Do not interrupt the mount operation; the recovery process does not start until a client
attempts to mount the file system. If the file system is in any other state (such as stopped), the mount
operation cannot complete. You must correct the situation on the HP SFS server (for example, by starting the
file system). Refer to the HP StorageWorks Scalable File Share System User Guide for more information on
the show filesystem command and on starting file systems.
The Lustre file system is a network file system; that is, when the file system is mounted, the client node
communicates with remote servers over an interconnect. When a client node has mounted (or is attempting
to mount) the file system, you can check the status of the connections using the sfslstate command. This
command is described in Section 4.10.1.
4.2 Mounting Lustre file systems using the sfsmount command with the
lnet: protocol
NOTE: Lustre file systems must be mounted as root user, and the environment—in particular the PATH—
must be that of root. Do not use the su syntax when when changing to root user; instead, use the
following syntax:
su -
The sfsmount(8) command supports the standard mount command using the lnet: protocol. The
sfsmount command provides useful options that are not available with the standard mount command.
The syntax of the command is as follows:
sfsmount [lnet://]device mountpoint [-o options]
Where:
lnet:// Is an optional prefix.
device See Section 4.4 for a description of this field.
mountpoint Specifies the mount point of the file system that is to be mounted. Do not
include a trailing slash (/) at the end of the mount point.
options See Section 4.5 for information on the mount options that can be used with the
sfsmount command.
TIP: If the server is very busy, the mount command may not wait for long enough for the server to
respond, and may report that the operation has failed before the server has been able to respond. To
prevent this from happening, HP recommends that you use the -o repeat option with the sfsmount
command. This greatly reduces the probability of such failures. See Section 4.5 for more details on the
repeat option.
Examples
# sfsmount lnet://3712584958@gm0,3712584935@gm0:/south-mds3/client_gm /mnt/data
-o acl,usrquota,grpquota
# sfsmount lnet://35@elan0,34@elan0:/south-mds3/client_elan /usr/scratch
# sfsmount lnet://10.0.128.2@vib0,10.0.128.1@vib0:/south-mds3/client_vib /data
Comentários a estes Manuais