dpm-addfs1
Add a filesystem to a disk pool
Usage
dpm-addfs --poolname
pool_name
--server
fs_server
--fs
fs_name
[--st
status]
[--weight
weight]
[--help]
Overview
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.
Examples
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.
Releases
5 releases since Debian 6.0 (Squeeze); the text changed 2 times.