Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Commands:  df(1)

edquota(8)

quotaon(8)

quotaoff(8)

showfdmn(8)

showfsets(8)

chfsets(8)  —  Maintenance

NAME

chfsets − changes fileset attributes

SYNOPSIS

/sbin/chfsets [−F limit] [−f limit] [−B limit] [−b limit] domain [fileset...]

OPTIONS

−F limit
Specifies the file usage soft limit (quota) of the fileset.

−f limit
Specifies the file usage hard limit (quota) of the fileset.

−B limit
Specifies the block usage soft limit (quota) in 1K blocks of the fileset.

−b limit
Specifies the block usage hard limit (quota) in 1K blocks of the fileset.

OPERANDS

domain
Specifies the name of the file domain.

fileset
Specifies the name of one or more filesets.

DESCRIPTION

The chfsets command enables you to change file usage limits and block usage limits. Filesets can have both soft and hard disk storage and file limits.  When a hard limit is reached, no more disk space allocations or file creations which would exceed the limit are allowed.  The soft limit may be exceeded for a period of time (called the grace period). The grace periods for the soft limits are set with the edquota command. 

The command also displays the changes made to the file and block usage limits. 

The chfsets command displays the following fileset information:

       •Id

A unique number (in hexadecimal format) that identifies a file domain and fileset. 

       •File H limit

The file usage hard limit of the specified fileset before the change followed by the new limit. 

       •Block H limit

The block usage hard limit of the specified fileset before the change followed by the new limit. 

       •File S limit

The file usage soft limit of the specified fileset before the change followed by the new limit. 

       •Block S limit

The block usage soft limit of the specified fileset before the change followed by the new limit. 

Use the following commands to manipulate filesets:

dfDisplays the limits and actual number of blocks used by a fileset. 

showfdmn
Displays space usage for the specified domain.

showfsets
Displays the file and block usage limits for the filesets in a domain.

edquota
Changes the user or group block and file limits and grace period.

quotaon, quotaoff
Turns on and off quota enforcement.

For more information, see the reference pages for each command. 

RESTRICTIONS

At least one fileset within the domain must be mounted for the chfsets command to succeed. 

You must be the root user to run the chfsets command. 

EXAMPLES

The following example changes the file hard limit from 11 to 200 and block hard limit from 121 to 1000 for the credit_fs fileset in the account_dmn domain:

# chfsets -b 1000 -f 200 account_dmn credit_fs
      credit_fs
             Id            :  2c2f557f.000b15f4.3.8004
             File H limit  :  11 --> 200
             Block H limit :  121 --> 1000

SEE ALSO

Commands:  df(1), edquota(8), quotaon(8), quotaoff(8), showfdmn(8), showfsets(8)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026