CEPH-OSD(8)
π CEPH-OSD(8) π
okay bestie, welcome to the ceph-osd page from the Ceph manual β yes that Ceph π . this is the whole thing, every flag, every default, no skips, no shortcuts. grab a snack π
β¨ NAME β¨
ceph-osd β the ceph object storage daemon π«Ά
β¨ SYNOPSIS β¨
ceph-osd -i osdnum [ --osd-data datapath ] [ --osd-journal
journal ] [ --mkfs ] [ --mkjournal ] [--flush-journal] [--check-allows-journal] [--check-wants-journal] [--check-needs-journal] [ --mkkey ] [ --osdspec-affinity ]
like, that's the shape of it. -i osdnum is the main character, everything else is optional and tagged on π
β¨ DESCRIPTION β¨
so ceph-osd is the object storage daemon for the Ceph distributed file system π¦. it manages data on local storage with redundancy, and then it serves that data out over the network. it's giving "I hold your bytes AND I share them" energy, honestly iconic.
for Filestore-backed clusters, the argument of the --osd-data datapath option (and yeah, datapath is literally datapath in this example) should be a directory on an XFS file system where the object data lives. that's the spot. that's home π
the journal? optional. periodt. but here's the thing β the journal only improves performance when it lives on a different disk than the disk specified by datapath. if it's on the same disk, don't bother, girl. and the storage medium the journal sits on should be a low-latency medium β ideally an SSD device. no cap, spinning rust is not it for a journal π₯
β¨ OPTIONS β¨
okay this is the part everyone actually came for. every single one, no gatekeeping π
-f,--foregroundβ foreground mode: do not daemonize after startup (so it just runs in the foreground, right there, in front of you π). it also does not generate a pid file. super useful when you're running it viaceph-run(8).-dβ debug mode: it's like-f, but it also sends all log output to stderr. chaos mode, but make it informative π--setuser userorgidβ set the uid after starting. if you hand it a username, the user record gets looked up to grab a uid and a gid, and the gid gets set too β unless--setgroupis also specified. so like, they talk to each other, besties π€--setgroup grouporgidβ set the gid after starting. if you hand it a group name, the group record gets looked up to grab a gid. simple as π--osd-data osddataβ use the object store atosddata.--osd-journal journalβ journal the updates tojournal.--check-wants-journalβ check whether a journal is desired π--check-allows-journalβ check whether a journal is allowed β--check-needs-journalβ check whether a journal is required π€--mkfsβ create an empty object repository. this also initializes the journal (if one is defined). the big "start from nothing" button β¨--mkkeyβ generate a new secret key π. this is normally used in combination with--mkfs, because honestly it's way more convenient than generating a key by hand withceph-authtool(8).--mkjournalβ create a new journal file so it matches an existing object repository. majorly useful when the journal device or file got wiped out by a disk or file system failure π (we've all been there)--flush-journalβ flush the journal to permanent store. this runs in the foreground, so you actually know when it's finished π«‘. useful if you want to resize the journal or otherwise need to destroy it: this guarantees you won't lose data π--get-cluster-fsidβ print the cluster fsid (uuid) and exit.--get-osd-fsidβ print the OSD's fsid and exit. the OSD's uuid is generated at--mkfstime, so it's unique to a particular instantiation of this OSD π--get-journal-fsidβ print the journal's uuid. the journal fsid gets set to match the OSD fsid at--mkfstime. they're matching, it's cute πΈ-c ceph.conf,--conf=ceph.confβ use theceph.confconfiguration file instead of the default/etc/ceph/ceph.conffor runtime configuration options.-m monaddress[:port]β connect to the specified monitor (instead of looking throughceph.conf).--osdspec-affinityβ set an affinity to a certain OSDSpec. this option can only be used in conjunction with--mkfs. no--mkfs, no deal π
β¨ AVAILABILITY β¨
ceph-osd is part of Ceph, a massively scalable, open-source, distributed storage system π. hit up the Ceph documentation at https://docs.ceph.com for more info, iykyk.
β¨ SEE ALSO β¨
ceph(8), ceph-mds(8), ceph-mon(8), ceph-authtool(8) β the whole friend group fr fr π«Ά
β¨ Copyright β¨
2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0) π
okay and that's the whole page, bestie π¦β¨ this one's from the dev version of the Ceph manual, dated Oct 06, 2026, and yeah β it's still filed under that CEPH-OSD(8) name π go run your OSD, you've got this π
π¦ where this page comes from
- ubuntu stonking: ceph-osd 20.2.4+ds1-0ubuntu1 Β· LGPL2.1 (see COPYING-LGPL2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms