Learning "Linux in respect of such a study," notes Lesson 9 Quiz

Learning "Linux in respect of such a study," notes quiz Lesson Nine
Instructor: Liu Trent
Chapter 6 disk storage structure and division of
6.7 disk capacity quota

Soft limit: When reaching the soft limit will prompt the user, while still allowing users to continue to use a limited amount.

Hard limit: when the user is prompted reaches the hard limit, and forced termination operation by the user.

1, xfs_quota command

xfs_quota command is a specific XFS file system disk capacity to manage quota quota service designed to command in the format of "xfs_quota [parameters] file quota system." Which, -c parameter is used to set the command to be executed as a parameter; -x parameter is the expert mode, so that operation and maintenance personnel can carry out more complex configuration of the quota service. Next we use xfs_quota command to set the user tom quota quota of disk capacity / boot directory. Specific quota controls include: soft limit and hard disk usage restrictions are 3MB and 6MB; create the file number of soft and hard limits are 3 and 6.
Here Insert Picture Description
2, edquota command

quota quota edquota command for editing the user, the format of "edquota [parameters] [user]." After setting the quota of disk capacity quotas for users, you can use the edquota command needed to modify the value limit. Which, -u parameter indicates which should be set for the user; -g parameter indicates which user group to be set up for. edquota command is invoked Vi or Vim editor to make root administrator to modify the details to be restricted. Below the disk usage of a user's hard tom limit from 5MB to enhance 8MB:

6.8 soft and hard way link
ln command
Chapter 7 Using LVM and RAID disk array technology
7.1 RAID Redundant Array of Disk
1, RAID 0, RAID 1, RAID 5, RAID 10

7.1.1 deployment of disk arrays
Here Insert Picture Description

Published 10 original articles · won praise 0 · Views 117

Guess you like

Origin blog.csdn.net/YJS_MAIL103089/article/details/104685480