[Deepsea-users] SES4, What is the correct process to remove cephfs?

Jan Fajerski jfajerski at suse.com
Thu Jun 1 10:30:32 MDT 2017


Hi Boyd,
I came across this recently too and I'll add the functionality to DeepSea before 
SES5 is released.
Until then you need to deactivate the MDS daemon(s) before removing the file 
system. The following steps should get you there:

salt '*' cmd.run 'systemctl stop ceph-mds.target' # stop all mds daemons
# then on the master run:
ceph mds fail 0 # repeat this for every mds you have
# now you can remove the file system with
ceph fs rm cephfs –yes-i-really-mean-it
# start up your mds daemons again
salt '*' cmd.run 'systemctl start ceph-mds.target'
# and you're read to recreate your CephFS

Hope that helps!
Best,
Jan

On Tue, May 30, 2017 at 05:51:56PM +0000, Boyd Memmott wrote:
>   Hi All
>
>
>   I am somewhat new to SES product.  I have been experimenting with
>   cephfs and would like to remove and add again.  But do not find
>   documentation on the process. I did install ceph with deapsea.  I
>   commented out the role-mds in policy.cfg and ran “salt-run state.orch
>   ceph.stage.2” and 3.
>
>
>   Yet, “ceph fs rm cephfs –yes-i-really-mean-it” returns “ Error EINVAL:
>   all MDS deamons must be inactive before removing filesystem”
>
>
>   Any suggestions would be appreciated.
>
>
>   Thank you
>
>   Boyd Memmott
>   SLES L2 Support Engineer
>
>   Email: boyd.memmott at suse.com
>   [1]SUSE
>
>References
>
>   1. http://www.suse.com/



>_______________________________________________
>Deepsea-users mailing list
>Deepsea-users at lists.suse.com
>http://lists.suse.com/mailman/listinfo/deepsea-users


-- 
Jan Fajerski
Engineer Enterprise Storage
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)


More information about the Deepsea-users mailing list