mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
14 lines
204 B
Bash
Executable File
14 lines
204 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# fsid
|
|
if [ -e fsid ] ; then
|
|
fsid=`cat fsid`
|
|
else
|
|
echo 'no fsid file, so no cluster?'
|
|
exit 0
|
|
fi
|
|
echo "fsid $fsid"
|
|
|
|
sudo ../src/cephadm/cephadm rm-cluster --force --fsid $fsid
|
|
|