Index Index for Section 8
Index Alphabetical listing for M

mkfset(8)

NAME

mkfset - creates an AdvFS fileset in an existing file domain

SYNOPSIS

/sbin/mkfset domain setname

OPERANDS

domain Specifies the name of an existing file domain. setname Specifies the name of the fileset to be created in the specified file domain.

DESCRIPTION

The mkfset command creates an AdvFS fileset within an existing file domain. You must create at least one fileset per file domain; however, you can create multiple filesets within a file domain. You can mount and unmount each fileset independently of the other filesets in the file domain. You can assign block and file usage limits (quotas) to filesets. Use the following commands to manipulate filesets: showfsets Displays the filesets associated with a domain. rmfset Removes a fileset (and all of its files) from the file domain. renamefset Assigns a new name to an existing fileset. chfsets Changes fileset attributes; specifically fileset quotas. For more information, see the reference pages for each command.

RESTRICTIONS

You must be the root user to use this command. Each fileset within a domain must have a unique name of up to 31 characters. The space character and the / # : * ? characters are invalid for fileset names. Tru64 UNIX supports an unlimited number of filesets per system; only 767 filesets can be mounted at one time.

EXAMPLE

1. The following example creates two filesets, credit_fs and debit_fs, within an existing domain called accounts_dmn. # mkfset accounts_dmn credit_fs # mkfset accounts_dmn debit_fs 2. To mount the newly created credit_fs fileset on the /mnt/credit directory, enter: # mount -t advfs accounts_dmn#credit_fs /mnt/credit 3. You can add filesets to the /etc/fstab file in the same manner that you add any file system. Once added, filesets are mounted each time you reboot the system and fileset quotas are enabled. For example, to automatically mount the credit_fs fileset, add the following line to your fstab file: accounts_dmn#credit_fs /mnt/credit advfs rq, userquota, groupquota

FILES

.tags A permanent directory that is reserved for future use.

SEE ALSO

advfs(4), chfsets(8), mkfdmn(8), renamefset(8), rmfset(8), showfdmn(8), showfsets(8)