5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-10 12:58:19 +03:00
pve-docs/pveceph.1-synopsis.adoc

184 lines
2.4 KiB
Plaintext
Raw Normal View History

2016-04-10 15:39:35 +02:00
*pveceph* `<COMMAND> [ARGS] [OPTIONS]`
*pveceph createmon*
Create Ceph Monitor
*pveceph createosd* `<dev>` `[OPTIONS]`
Create OSD
2016-11-05 16:49:43 +01:00
`<dev>`: `<string>` ::
2016-04-10 15:39:35 +02:00
Block device name.
2016-11-05 16:49:43 +01:00
`-fstype` `<btrfs | ext4 | xfs>` ('default =' `xfs`)::
2016-04-10 15:39:35 +02:00
File system type.
2016-11-05 16:49:43 +01:00
`-journal_dev` `<string>` ::
2016-04-10 15:39:35 +02:00
Block device name for journal.
*pveceph createpool* `<name>` `[OPTIONS]`
Create POOL
2016-11-05 16:49:43 +01:00
`<name>`: `<string>` ::
2016-04-10 15:39:35 +02:00
The name of the pool. It must be unique.
2016-11-05 16:49:43 +01:00
`-crush_ruleset` `<integer> (0 - 32768)` ('default =' `0`)::
2016-04-10 15:39:35 +02:00
The ruleset to use for mapping object placement in the cluster.
2016-11-05 16:49:43 +01:00
`-min_size` `<integer> (1 - 3)` ('default =' `1`)::
2016-04-10 15:39:35 +02:00
Minimum number of replicas per object
2016-11-05 16:49:43 +01:00
`-pg_num` `<integer> (8 - 32768)` ('default =' `64`)::
2016-04-10 15:39:35 +02:00
Number of placement groups.
2016-11-05 16:49:43 +01:00
`-size` `<integer> (1 - 3)` ('default =' `2`)::
2016-04-10 15:39:35 +02:00
Number of replicas per object
*pveceph destroymon* `<monid>`
Destroy Ceph monitor.
2016-11-05 16:49:43 +01:00
`<monid>`: `<integer>` ::
2016-04-10 15:39:35 +02:00
Monitor ID
*pveceph destroyosd* `<osdid>` `[OPTIONS]`
Destroy OSD
2016-11-05 16:49:43 +01:00
`<osdid>`: `<integer>` ::
2016-04-10 15:39:35 +02:00
OSD ID
2016-11-05 16:49:43 +01:00
`-cleanup` `<boolean>` ('default =' `0`)::
2016-04-10 15:39:35 +02:00
If set, we remove partition table entries.
2016-09-29 12:18:57 +02:00
*pveceph destroypool* `<name>` `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Destroy pool
2016-11-05 16:49:43 +01:00
`<name>`: `<string>` ::
2016-04-10 15:39:35 +02:00
The name of the pool. It must be unique.
2016-11-05 16:49:43 +01:00
`-force` `<boolean>` ('default =' `0`)::
2016-09-29 12:18:57 +02:00
If true, destroys pool even if in use
2016-04-10 15:39:35 +02:00
*pveceph help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
2016-11-05 16:49:43 +01:00
`<cmd>`: `<string>` ::
2016-04-10 15:39:35 +02:00
Command name
2016-11-05 16:49:43 +01:00
`-verbose` `<boolean>` ::
2016-04-10 15:39:35 +02:00
Verbose output format.
*pveceph init* `[OPTIONS]`
Create initial ceph default configuration and setup symlinks.
2016-11-05 16:49:43 +01:00
`-network` `<string>` ::
2016-04-10 15:39:35 +02:00
Use specific network for all ceph related traffic
2016-11-05 16:49:43 +01:00
`-pg_bits` `<integer> (6 - 14)` ('default =' `6`)::
2016-04-10 15:39:35 +02:00
2016-05-19 16:14:05 +02:00
Placement group bits, used to specify the default number of placement groups.
2016-04-15 16:49:00 +02:00
+
NOTE: 'osd pool default pg num' does not work for default pools.
2016-04-10 15:39:35 +02:00
2016-11-05 16:49:43 +01:00
`-size` `<integer> (1 - 3)` ('default =' `2`)::
2016-04-10 15:39:35 +02:00
Number of replicas per object
*pveceph install* `[OPTIONS]`
Install ceph related packages.
2016-11-05 16:49:43 +01:00
`-version` `<hammer>` ::
2016-04-10 15:39:35 +02:00
no description available
*pveceph lspools*
List all pools.
*pveceph purge*
Destroy ceph related data and configuration files.
*pveceph start* `[<service>]`
Start ceph services.
2016-11-05 16:49:43 +01:00
`<service>`: `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` ::
2016-04-10 15:39:35 +02:00
Ceph service name.
*pveceph status*
Get ceph status.
*pveceph stop* `[<service>]`
Stop ceph services.
2016-11-05 16:49:43 +01:00
`<service>`: `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` ::
2016-04-10 15:39:35 +02:00
Ceph service name.