Provided by: dpm_1.8.7-3_amd64
NAME
dpm-addfs - add a filesystem to a disk pool
SYNOPSIS
dpm-addfs --poolname pool_name --server fs_server --fs fs_name [ --st status ] [ --weight weight ] [ --help ]
DESCRIPTION
dpm-addfs adds a filesystem to a disk pool. This command requires ADMIN privilege.
OPTIONS
pool_name specifies the disk pool name previously defined using dpm-addpool. server specifies the host name of the disk server where this filesystem is mounted. fs specifies the mount point of the dedicated filesystem. status Initial status of this filesystem. It can be set to 0 or DISABLED or RDONLY. This can be either alphanumeric or the corresponding numeric value. weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive. It is recommended to use a value lower than 10. Default is 1.
EXAMPLE
dpm-addfs --poolname Volatile --server sehost --fs /data
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
dpm(1), dpm_addfs(3), dpm-addpool(1)