]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: create the data directory if it does not exist
authorLoic Dachary <loic@dachary.org>
Wed, 1 Jan 2014 21:11:30 +0000 (22:11 +0100)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 12 Feb 2014 21:17:12 +0000 (16:17 -0500)
commitc4b66bbdf09a8bb85ed14fbb643f40f87345463b
tree26651954a25d45010c1b15e3d9d8d8ff2ae17041
parentc473c65d4b6235fe20a97bd1d4741c12f86858e8
ceph-disk: create the data directory if it does not exist

Instead of failing if the OSD data directory does not exist, create
it. Only do so if the data directory is not enforced to be a device via
the use of the --data-dev flag. The directory is not recursively created.

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 306b099ab093bfac466d68fe1cb87367bc01e577)
src/ceph-disk