HP StorageWorks Scalable File Share User Manual
Page 261
Troubleshooting file system performance
9–37
Then enter the
show filesystem filesystem_name
command to view details for the file
system, as follows:
sfs> show filesystem scratch
Name: scratch
.
.
.
Stripe count: 2
.
.
.
In this example, the stripe count is shown as
2
.
Remedial action
Correct the problem as follows:
•
If the striping on the file is incorrect, ensure that the striping was not assigned through default
directory or file system striping, then recreate the file using the correct striping (see Section 9.27.2.1).
•
If the default striping on the directory is incorrect, change it by entering the following command,
which sets the default striping attributes on the directory:
# lfs setstripe directory_name 0 -1 0
You must then recreate the existing files to change their striping pattern (see Section 9.27.2.1).
•
If the file system default striping is incorrect, change the file system default striping by performing the
following steps:
1.
Stop the file system, as shown in the following example:
sfs> stop filesystem scratch
2.
Verify that all MDS and OST services used by the file system are stopped, as shown in the
following example:
sfs> show filesystem
Name State Services
------------- -------------- ----------------------------------
scratch stopped mds1: stopped, ost[1-4]: stopped
3.
Enter the
modify filesystem
command, as shown in the following example:
sfs> modify filesystem scratch
Select an option:
1) Add OSTs
2) Change stripe size
3) Change stripe count
4) Change mount point
5) Change preferred servers
6) Change LUN mount options
7) Change interconnect
8) Change Lustre timeout
9) Change quota options
w) Rewrite LDAP configuration data
c) Cancel
Enter your choice [c]:
4.
Enter
3
to select the option to change the stripe count, and enter the new value. In this example,
the stripe count is set to
4
:
Enter your choice [c]: 3
The stripe count of a filesystem refers to the number of OST services a
newly created file will be striped across by default. (1 to 4; 0=1)
Please enter the stripe count of the filesystem [0]: 4
Command id 205