2つの質問:
mdadm
に伝えるにはどうすればよいですか?つまり基本的に、「データ」(つまり、広大な空のスペース)が同期され、メタデータのみを同期すると想定する状態に強制しますか?--assume-clean
オプションを使用できます。 man
から:
Tell mdadm that the array pre-existed and is
known to be clean. It can be useful when trying
to recover from a major failure as you can be
sure that no data will be affected unless you
actually write to the array. It can also be
used when creating a RAID1 or RAID10 if you want
to avoid the initial resync, however this prac‐
tice — while normally safe — is not recommended.
Use this only if you really know what you are
doing.
When the devices that will be part of a new
array were filled with zeros before creation the
operator knows the array is actually clean. If
that is the case, such as after running bad‐
blocks, this argument can be used to tell mdadm
the facts the operator knows.