On Mon, Jun 22, 2020 at 7:29 AM Frank Schilder <[email protected]> wrote:
>
> Use
>
> ceph fs set <fs_name> down true
>
> after this all mdses of fs fs_name will become standbys. Now you can cleanly 
> remove everything.
>
> Wait for the fs to be shown as down in ceph status, the command above is 
> non-blocking but the shutdown takes a long time. Try to disconnect all 
> clients first.

If you're planning to delete the file system, it is faster to just do:

ceph fs fail <fs_name>

which will remove all the MDS and mark the cluster as not joinable.
See also: 
https://docs.ceph.com/docs/master/cephfs/administration/#taking-the-cluster-down-rapidly-for-deletion-or-disaster-recovery


-- 
Patrick Donnelly, Ph.D.
He / Him / His
Senior Software Engineer
Red Hat Sunnyvale, CA
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to