Operating a file system 5–27
The following example shows that LUNs 3 and 5 are components of a mirrored MDS service (LUN 30) for
the data file system, and LUN 8 is an OST LUN used by the ost1 service:
sfs> show lun
LUN Array Role Used by Size(GB) Preferred Server Visible to
--- ----- ----- ---------- -------- ---------------- ----------
.
.
.
3 1 mirror 30 1050 south2 south[1-2]
5 2 mirror 30 1050 south2 south[1-2]
.
.
.
8 1 ost ost1 1050 south3 south[3-4]
.
.
.
30 - mds data 1050 south2 south[1-2]
5.4 Operating a file system
When you create a file system, the HP SFS system puts the file system into an operational state. You can shut
down file system operations using the stop filesystem filesystem_name command. You can restart
file system operations using the start filesystem filesystem_name command. These commands
are described in Chapter 3.
You can view the status of all file systems using the show filesystem command. This command has two
forms, as follows:
• Entering the show filesystem command with no arguments displays the status of all file systems.
• Specifying the name of a file system as an argument to the show filesystem command displays
more details about that specific file system.
In addition, the show server command shows which servers are running MDS and OST services. The
show server and show filesystem commands are described in Chapter 4.
5.5 Recovering from failure of the create filesystem command
When you use the create filesystem command, it prints information about its overall processing and
indicates if the command cannot be completed for any reason. Sometimes, the command prints a specific
messages; in other cases, the failure message is generic. If the message provided is not specific, you can
use the show log command to determine the cause of the problem. The show log command is described
in detail in Section 4.6.1; however, there are some options for the show log command that are particularly
useful for diagnosing problems with the create filesystem command, as follows:
• To review the messages printed by the create filesystem command, use the show log
command as shown in the following example (where the create filesystem command was
started less than 20 minutes earlier):
sfs> show log age < "20m" && facility=server
• To review the actions used to create the file system, use the show log command as shown in the
following example:
sfs> show log age < "20m" && facility=lustre
• To display all events related to a specific OST service, use the show log command as shown in the
following example:
sfs> show log data contains "ost35"
Commentaires sur ces manuels