1. Quotacheck [-AVUGFM] [/mount_point]: Scan the file system and create a quota profile.
Parameters:
-A: Scan all in/etc/mtab, containing quota support file system, plus this parameter, do not write/mount_point;
-U: For users to scan files and directory usage, will create a new Aquota.user;
-G: For the user group scanning files and directory usage, will create a new Aquota.group;
-V: Displays information about the scanning process;
-F: Force scan of file system and write new quota configuration file (dangerous);
-M: The file system is forced to read and write, and is used only in special cases.
2. Quotaon [-avug] [/mount_point]: Start the quota service.
Parameters:
-U: Start quota for user;
-G: Start quota for user group;
-V: Displays the process associated with the startup process;
-A: Start the relevant quota according to the file system settings within the/etc/mtab, omitting [/mount_point].
3. Quotaoff [-aug] [/mount_point]: Turn off the quota service.
Parameters:
-A: All file system quota are closed;
-u: Close user quota for subsequent/mount_point;
-G: Close group quota for the/mount_point that follow.
4. Edquota [-u username] [-g groupname] [-t time] [-P Model Account-U new Account]: Edit the user or user group restrictions.
Parameters:
-U: After the account name, you can enter the quota editing interface to set the username setting value;
-G: followed by the group name, you can enter the quota editing interface to set the GroupName setting value;
-T: Modify the grace time;
-P: Copy the template, the "profile account" for already exist and set up the quota user, the template account of the quota copy to the new account.
5. Quota [-uvs] [Username]/quota [-gvs] [groupname]: Displays the quota report.
Parameters:
-U: followed by the account name, indicating that the user's quota limit value, if not display the current user;
-G: followed by the group name, indicating that the group's quota limit value is displayed;
-V: Displays the quota value of each user in the file system;
-S: Specify units in multiples of 1024 and display units such as M.
6. reqouta-a [-vugs]: report on file system limits.
Parameters:
-A: Directly to/etc/mtab query file system with quota flag, and report quota results;
-V: The output data will contain file system-related details;
-U: Displays the user's quota limit value (the default value);
-G: Displays the user group's quota limit value;
-S: Displays the results using units such as M and G.
7. Setquota [-u|-g] name block (soft) block (hard) inode (soft) inode (hard) file system: Set quota directly.
8. Settings for Mdadm--detail/dev/md[0-9]:raid
Mdadm--create--auto=yes/dev/md[0-9]--raid-devices=n--level=[015]--spare-devices=n device name
Parameters:
--create: New RAID parameter;
--auto=yes: Decide to create a new software disk array device, namely/DEV/MD0,/DEV/MD1, etc.
--raid-devices=n: A device that uses several disks as a disk array;
--spare-devices=n: Use several disks as standby (spare) devices;
--LEVEL=[015]: Set the level of this set of disk arrays, support a lot, but it is recommended to use only 015;
--detail: Displays details of the disks that are followed.
9. Mdadm--manage/dev/md[0-9] [-add device] [--remove device] [--fail device]: Emulation RAID error rescue mode.
Parameters:
--add: Add the following devices to this disk array;
--remove: Remove the following device from this disk array;
--fail: The subsequent device settings are called the faulted state.
Mdadm--stop/dev/md[0-9]: Turn off the disk array.
11.