]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-osd-prestart.sh: no ceph-disk chown
authorSage Weil <sage@redhat.com>
Fri, 18 Sep 2015 15:40:26 +0000 (11:40 -0400)
committerSage Weil <sage@redhat.com>
Fri, 18 Sep 2015 15:40:26 +0000 (11:40 -0400)
chown -R ceph:ceph $1 is easy enough.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
src/ceph-osd-prestart.sh

index e91ded961dbac4a84bf1e6c9ab64ba71fa79b270..92a220b94ab78e85f2afd1c58b1a4aac7cb1f29d 100644 (file)
@@ -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)
 
index 77974e8a5827820aca049795c031039eb4a284b1..cefca854e61ff4f78bba4dc38db41d218174d10b 100644 (file)
@@ -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