]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart: add new option to pass list of block devices to bluestore 27518/head
authorJeff Layton <jlayton@redhat.com>
Fri, 5 Apr 2019 13:35:17 +0000 (09:35 -0400)
committerJeff Layton <jlayton@redhat.com>
Sun, 14 Apr 2019 11:47:46 +0000 (07:47 -0400)
commitadfe6ccc605a1d8862598854c89d3ae103b532cb
treecda8d2b0c4b455da854c77f395fcb5e769e15141
parent520af8568a013ec0d70cd1db7f68aecf72abcb36
vstart: add new option to pass list of block devices to bluestore

I was doing a bit of testing against a vstart cluster, and ended up
hitting ENOSPC errors. This patch adds a new --bluestore-devs option
that will set up bluestore OSDs to use a set of block devices as the
backing store instead of creating files for them.

They are assigned in order and if there are more OSDs than
bluestore-devs, then we'll create files for the remaining ones.
Also skip doing bluestore fsck on mount in this case to improve
startup times.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/vstart.sh