Hp StorageWorks Scalable File Share Manuel d'utilisateur Page 124

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 362
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 123
Creating and modifying file systems5–40
If the file system was created on a system running HP SFS Version 2.2, proceed to Section 5.7.2.5 to
activate quota functionality on the file system.
5.7.2.4 Step 4: Configuring user and group information on a file system
This step applies only to file systems that were originally created when the system was running a version of
the HP SFS software earlier than Version 2.2; if your file system was created on a system running HP SFS
Version 2.2, skip this step.
On a client node that has mounted the file system, enter the command shown in the following example on
a client node that has been configured as described in Section 5.7.2.3, and where the file system is
mounted. Specify the mount point for the file system:
#
lfs quotachown /data
Note that you only need to run this command once, on one client node. When the lfs quotachown
command has been run once against a file system, as described here, the necessary user and group
information is configured on the file system for all client nodes.
Proceed to Section 5.7.2.5 to activate quota functionality on the file system.
5.7.2.5 Step 5: Activating quota functionality on a file system
To activate user and group quotas on the file system, enter the lfs quotacheck command shown in the
following example on a client node. The client node must be configured as described in Section 5.7.2.3,
and the file system must be mounted on the client node. Specify the mount point for the file system:
CAUTION: Do not run the lfs quotacheck command while there are applications performing
I/O operations on the file system.
# lfs quotacheck -ug /data
Note that you only need to run this command once, on one client node. When the lfs quotacheck
command has been run once against a file system, as described here, quotas are enabled on the file system
for all client nodes.
TIP: You can also use the lfs quotacheck command at any time to check quota information on the file
system—see Section 5.7.3 for more information.
Proceed to Section 5.7.2.6 to specify quota limits for users and/or groups.
5.7.2.6 Step 6: Specifying quota limits for users and/or groups
After quota functionality has been enabled and activated as described in Section 5.7.2.2 through
Section 5.7.2.5, a given user or group still has no limits until the quotas have been set using lfs setquota
command (on a client node). You must now set these limits, as described here.
The syntax of the lfs setquota command is as follows:
lfs setquota -u user 0 block_hardlimit 0 inode_hardlimit mountpoint
lfs setquota -g group 0 block_hardlimit 0 inode_hardlimit mountpoint
Where:
block_hardlimit Specifies the total file size in blocks that the user or group can create in the
file system. A value of 0 (zero) indicates that no limit is to be imposed.
inode_hardlimit Specifies the number of inodes that can be created by the user or group in
the file system. A value of 0 (zero) indicates that no limit is to be imposed.
Vue de la page 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 361 362

Commentaires sur ces manuels

Pas de commentaire