Skip to contentSkip to conversation

./src/vstart.sh

DISCUSSION Shinobu Kinjo 2 participants 2 messages Sep 21, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Whenever I run vstart.sh, there are always 2 [global] sections in ./src/ceph.conf. First one makes sense but second one is just empty.

Is it supposed to be? If so what's the purpose of second one?

  $ grep global /data/ceph/src/ceph.conf
   [global]
   [global]

Shinobu

#2 lore raw
Quoted 4 lines · Shinobu Kinjo

Whenever I run vstart.sh, there are always 2 [global] sections in ./src/ceph.conf. First one makes sense but second one is just empty.

Is it supposed to be? If so what's the purpose of second one?

The second one is for extra config parameters, which are specified via command line like below:

./vstart.sh -n -o 'debug ms = 20'

The section is at the bottom so it could override options set in the config earlier.

Signature · 1 line
Mykola Golub