Rename
This commit is contained in:
parent
db09531983
commit
d2fdb82730
2 changed files with 8 additions and 8 deletions
13
ceph-mon-create-start
Executable file
13
ceph-mon-create-start
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "$0 initial-key-file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
fname=$1
|
||||
|
||||
ceph-mon --mkfs -i $(hostname) --keyring "$fname" --setuser ceph --setgroup ceph
|
||||
touch /var/lib/ceph/mon/ceph-$(hostname)/sysvinit
|
||||
|
||||
/etc/init.d/ceph start mon.$(hostname)
|
||||
Loading…
Add table
Add a link
Reference in a new issue