1CEPH-DISK(8)                         Ceph                         CEPH-DISK(8)
2
3
4

NAME

6       ceph-disk - Ceph disk utility for OSD
7

SYNOPSIS

9       ceph-disk [-h] [-v] [--log-stdout] [--prepend-to-path PATH]
10         [--statedir PATH] [--sysconfdir PATH]
11         [--setuser USER] [--setgroup GROUP]
12         ...
13
14
15   optional arguments
16       -h, --help
17              show this help message and exit
18
19       -v, --verbose
20              be more verbose
21
22       --log-stdout
23              log to stdout
24
25       --prepend-to-path PATH
26              prepend  PATH  to  $PATH  for  backward  compatibility  (default
27              /usr/bin)
28
29       --statedir PATH
30              directory  in   which   ceph   state   is   preserved   (default
31              /var/lib/ceph)
32
33       --sysconfdir PATH
34              directory  in  which ceph configuration files are found (default
35              /etc/ceph)
36
37       --setuser USER
38              use the given user for subprocesses, rather than ceph or root
39
40       --setgroup GROUP
41              use the given group for subprocesses, rather than ceph or root
42
43   subcommands
44       prepare
45              Prepare a directory or disk for a Ceph OSD
46
47       activate
48              Activate a Ceph OSD
49
50       activate-lockbox
51              Activate a Ceph lockbox
52
53       activate-block
54              Activate an OSD via its block device
55
56       activate-journal
57              Activate an OSD via its journal device
58
59       activate-all
60              Activate all tagged OSD partitions
61
62       list   List disks, partitions, and Ceph OSDs
63
64       suppress-activate
65              Suppress activate on a device (prefix)
66
67       unsuppress-activate
68              Stop suppressing activate on a device (prefix)
69
70       deactivate
71              Deactivate a Ceph OSD
72
73       destroy
74              Destroy a Ceph OSD
75
76       zap    Zap/erase/destroy a device's partition table (and contents)
77
78       trigger
79              Trigger an event (caled by udev)
80
81       fix    Fix SELinux labels and/or file permissions
82

DESCRIPTION

84       ceph-disk is a utility that can prepare and activate a disk,  partition
85       or  directory  as  a  Ceph  OSD.  It  is  run  directly or triggered by
86       ceph-deploy or udev. It can also be triggered by other deployment util‐
87       ities like Chef, Juju, Puppet etc.
88
89       It  actually  automates  the multiple steps involved in manual creation
90       and start of an OSD into two steps of preparing and activating the  OSD
91       by using the subcommands prepare and activate.
92
93       ceph-disk  also  automates the multiple steps involved to manually stop
94       and destroy an OSD into two steps of deactivating  and  destroying  the
95       OSD by using the subcommands deactivate and destroy.
96
97       The  documentation for each subcommand (prepare, activate, etc.) can be
98       displayed with  its  --help  option.  For  instance  ceph-disk  prepare
99       --help.
100

BUGS

102       See also the Bugs section in ceph-detect-init(8).
103

AVAILABILITY

105       ceph-disk  is part of Ceph, a massively scalable, open-source, distrib‐
106       uted  storage  system.  Please  refer  to  the  Ceph  documentation  at
107       http://ceph.com/docs for more information.
108

SEE ALSO

110       ceph-detect-init(8) ceph-osd(8), ceph-deploy(8)
111
113       2010-2014,  Inktank Storage, Inc. and contributors. Licensed under Cre‐
114       ative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)
115
116
117
118
119dev                              Apr 14, 2019                     CEPH-DISK(8)
Impressum