mirror of
https://github.com/ceph/ceph
synced 2024-12-11 22:18:18 +00:00
3e9a936062
Signed-off-by: Sage Weil <sage@newdream.net>
96 lines
2.6 KiB
ReStructuredText
96 lines
2.6 KiB
ReStructuredText
====================================
|
|
ceph-osd -- ceph object storage daemon
|
|
====================================
|
|
|
|
.. program:: ceph-osd
|
|
|
|
Synopsis
|
|
========
|
|
|
|
| **ceph-osd** -i *osdnum* [ --osd-data *datapath* ] [ --osd-journal
|
|
*journal* ] [ --mkfs ] [ --mkjournal ] [ --mkkey ]
|
|
|
|
|
|
Description
|
|
===========
|
|
|
|
**ceph-osd** is the object storage daemon for the Ceph distributed file
|
|
system. It is responsible for storing objects on a local file system
|
|
and providing access to them over the network.
|
|
|
|
The datapath argument should be a directory on a btrfs file system
|
|
where the object data resides. The journal is optional, and is only
|
|
useful performance-wise when it resides on a different disk than
|
|
datapath with low latency (ideally, an NVRAM device).
|
|
|
|
|
|
Options
|
|
=======
|
|
|
|
.. option:: -f, --foreground
|
|
|
|
Foreground: do not daemonize after startup (run in foreground). Do
|
|
not generate a pid file. Useful when run via :doc:`ceph-run <ceph-run>`\(8).
|
|
|
|
.. option:: -d
|
|
|
|
Debug mode: like ``-f``, but also send all log output to stderr.
|
|
|
|
.. option:: --osd-data osddata
|
|
|
|
Use object store at *osddata*.
|
|
|
|
.. option:: --osd-journal journal
|
|
|
|
Journal updates to *journal*.
|
|
|
|
.. option:: --mkfs
|
|
|
|
Create an empty object repository. Normally invoked by
|
|
:doc:`mkcephfs <mkcephfs>`\(8). This also initializes the journal
|
|
(if one is defined).
|
|
|
|
.. option:: --mkkey
|
|
|
|
Generate a new secret key. This is normally used in combination
|
|
with ``--mkfs`` as it is more convenient than generating a key by
|
|
hand with :doc:`ceph-authtool <ceph-authtool>`\(8).
|
|
|
|
.. option:: --mkjournal
|
|
|
|
Create a new journal file to match an existing object repository.
|
|
This is useful if the journal device or file is wiped out due to a
|
|
disk or file system failure.
|
|
|
|
.. option:: --flush-journal
|
|
|
|
Flush the journal to permanent store. This runs in the foreground
|
|
so you know when it's completed. This can be useful if you want to
|
|
resize the journal or need to otherwise destroy it: this guarantees
|
|
you won't lose data.
|
|
|
|
.. option:: -c ceph.conf, --conf=ceph.conf
|
|
|
|
Use *ceph.conf* configuration file instead of the default
|
|
``/etc/ceph/ceph.conf`` for runtime configuration options.
|
|
|
|
.. option:: -m monaddress[:port]
|
|
|
|
Connect to specified monitor (instead of looking through
|
|
``ceph.conf``).
|
|
|
|
|
|
Availability
|
|
============
|
|
|
|
**ceph-osd** is part of the Ceph distributed file system. Please refer to
|
|
the Ceph wiki at http://ceph.newdream.net/wiki for more information.
|
|
|
|
See also
|
|
========
|
|
|
|
:doc:`ceph <ceph>`\(8),
|
|
:doc:`ceph-mds <ceph-mds>`\(8),
|
|
:doc:`ceph-mon <ceph-mon>`\(8),
|
|
:doc:`ceph-authtool <ceph-authtool>`\(8)
|