Section 5.7.2.2, Section 5.7.2.3) – HP StorageWorks Scalable File Share User Manual
Page 123

Managing quotas
5–39
5.7.2.2
Step 2: Enabling quota functionality on a file system
NOTE:
Unless you have enabled quotas on the file system (and the system-wide
quota
option is also
enabled), quotas will not work even if you attempt to enable quotas when mounting a file system on a
client node.
Quotas are enabled or disabled on a per-filesystem basis—that is, it is possible to enable quota functionality
on one file system and disable quota functionality on another file system.
You can enable quota functionality on a file system in either of the following ways:
•
New file systems—you can enable quota functionality when you are creating a file system.
•
Existing file systems—use the
modify filesystem
command to enable (or disable) quota
functionality on a file system.
When you have enabled quota functionality on the file system, proceed to Section 5.7.2.3 to prepare the
client nodes to use quotas on the file system.
5.7.2.3
Step 3: Preparing the client nodes to use quotas on the file system
When you have enabled quota functionality on a file system where it was previously not enabled, you must
prepare the client nodes to use quotas on the file system.
Perform the following steps on each client node that will use the file system where quota functionality has
been enabled:
1.
If the file system is mounted on any client node, unmount it.
2.
Perform the following steps on each client node that will use the file system:
a.
Verify that the
lquota
module is loaded on the client node.
Even if quota functionality is enabled on a file system (and the system-wide
quota
option is
enabled on the HP SFS system), quotas will not be enforced on the file system unless the
lquota
module is loaded by the client node before it mounts the file system.
The
sfsconfig
command is used to configure the client nodes; to verify that the client node
has been configured to load the
lquota
module, run the
sfsconfig status
command on
the client node. The command will report if any of the entries that are required for quota
functionality are missing. If the appropriate entries are not already in the client configuration file,
use the
sfsconfig
command to add the entries. Refer to Appendix A of the HP StorageWorks
Scalable File Share Client Installation and User Guide for information on how to use the
sfsconfig
command.
b.
If any other Lustre file systems are mounted on the client node, unmount them.
NOTE:
If any other Lustre file system is mounted on the client node, the
lquota
module will not
load correctly on the client node.
c.
Mount the file system on the client node.
Assuming that the
lquota
entries are present in the appropriate configuration file on the client
node, the
lquota
module will load on the client node when you mount the file system on the
node.
Repeat steps a through c on each client node that will use the file system.
When you have finished preparing all of the client nodes to use quotas on the file system, proceed as
follows:
•
If the file system was originally created when the system was running a version of the HP SFS software
earlier than Version 2.2, proceed to Section 5.7.2.5 to run the
lfs quotachown
command.