Skip to content
Snippets Groups Projects
Commit d3fb5ed3 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=17253

i=Yury.Umanets
start_mds CMD fix
parent 2ec879b6
No related branches found
No related tags found
No related merge requests found
......@@ -69,9 +69,11 @@ gen_config() {
start_mds() {
local facet=$SINGLEMDS
local dev=${facet}_dev
# we can not use MDSDEV1 here because SINGLEMDS could be set not to mds1 only
local num=$(echo $facet | tr -d "mds")
local dev=$(mdsdevname $num)
echo "start mds service on `facet_active_host $facet`"
start $facet ${!dev} $MDS_MOUNT_OPTS || return 94
start $facet ${dev} $MDS_MOUNT_OPTS || return 94
}
stop_mds() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment