Den tors 14 mars 2019 kl 17:00 skrev Zhenshi Zhou <deaderzzs@xxxxxxxxx>:
> I think I've found the root cause which make the monmap contains no
> feature. As I moved the servers from one place to another, I modified
> the monmap once.
If this was the empty cluster that you refused to redo from scratch, then I feel it might be right to quote myself from the discussion before the move:
------------------
If the cluster is clean I see no
reason for doing brain surgery on monmaps
just to "save" a few minutes of redoing correctly from scratch. What
if you miss some part, some command gives you an error
you really aren't comfortable with, something doesn't really feel
right after doing it, then the whole lifetime of that cluster
will be followed by a small nagging feeling that it might have been
that time you followed a guide that tries to talk you out of
doing it that way, for a cluster with no data.
--
May the most significant bit of your life be positive.
reason for doing brain surgery on monmaps
just to "save" a few minutes of redoing correctly from scratch. What
if you miss some part, some command gives you an error
you really aren't comfortable with, something doesn't really feel
right after doing it, then the whole lifetime of that cluster
will be followed by a small nagging feeling that it might have been
that time you followed a guide that tries to talk you out of
doing it that way, for a cluster with no data.
------------------
I think the part in bold is *exactly* what happened to you now, you did something quite far out of the ordinary which was doable, but recommended against, and somehow some part not anticipated or covered in the "blindly type these commands into your ceph" occured.
I think the part in bold is *exactly* what happened to you now, you did something quite far out of the ordinary which was doable, but recommended against, and somehow some part not anticipated or covered in the "blindly type these commands into your ceph" occured.
From this point on, you _will_ know that your cluster is not 100% like everyone elses, and any future errors and crashes just _might_ be from it being different in a way noone has ever tested before. Some bit unset, some string left uninitialised, some value left untouched that never could be like that if done right.
If you have little data in it now, I would still recommend moving data elsewhere and setting it up correctly.
--
May the most significant bit of your life be positive.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com