From bf9c00580f7716fcaeff0631e16171180b2a792a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 18 Sep 2015 11:40:26 -0400 Subject: [PATCH] ceph-osd-prestart.sh: no ceph-disk chown chown -R ceph:ceph $1 is easy enough. Signed-off-by: Sage Weil --- PendingReleaseNotes | 2 +- src/ceph-osd-prestart.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index e91ded961db..92a220b94ab 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -37,7 +37,7 @@ Upgrading #. Fix the ownership. E.g.,:: chown -R ceph:ceph /var/lib/ceph/mon/ceph-foo - ceph-disk chown /dev/sdb1 + chown -R ceph:ceph /var/lib/ceph/osd/ceph-123 #. Restart the daemon(s) diff --git a/src/ceph-osd-prestart.sh b/src/ceph-osd-prestart.sh index 77974e8a582..cefca854e61 100644 --- a/src/ceph-osd-prestart.sh +++ b/src/ceph-osd-prestart.sh @@ -56,7 +56,7 @@ fi owner=`stat -c %U $data/.` if [ $owner != 'ceph' -a $owner != 'root' ]; then echo "ceph-osd data dir $data is not owned by 'ceph' or 'root'" - echo "you must 'ceph-disk chown ...' or similar to fix ownership" + echo "you must 'chown -R ceph:ceph ...' or similar to fix ownership" exit 1 fi -- 2.47.3