Index Index for
Section 8
Index Alphabetical
listing for M
Index Bottom of
page

mkfset(8)

NAME

mkfset - Create a fileset in an existing AdvFS file domain

SYNOPSIS

/sbin/mkfset domain fileset

OPERANDS

domain Specifies the name of an existing AdvFS file domain. fileset 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 fileset quotas (block and file usage limits) 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 utility. Each fileset within a domain must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space and so on) and the / # : * ? characters are invalid for fileset names.

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

SEE ALSO

Commands: chfsets(8), mkfdmn(8), renamefset(8), rmfset(8), showfdmn(8), showfsets(8) File Formats: advfs(4)

Index Index for
Section 8
Index Alphabetical
listing for M
Index Top of
page