Skip to content

Commit

Permalink
ceph-osd-prestart.sh: no ceph-disk chown
Browse files Browse the repository at this point in the history
chown -R ceph:ceph $1 is easy enough.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Sep 18, 2015
1 parent a484bca commit bf9c005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PendingReleaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/ceph-osd-prestart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bf9c005

Please sign in to comment.