luksFormat wiping raid metadata from end of device?

Asked by ceg

Does luksFormat properly wipe old RAID metadata from end of device?

If it does not, the device will look like a RAID device *containing* luks, and might get set up as such leading to data inconsistency and corruption.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu cryptsetup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
ceg (ceg) said :
#1

It should probably always wipe the beginnig and end of a divice prior to installing luks metadata.

Revision history for this message
peter b (b1pete) said :
#2

in a terminal try

dmraid --help
sudo dmraid -s

if there is any metadata present and you need to remove it then

sudo dmraid -rE

should do the trick.

Can you help with this problem?

Provide an answer of your own, or ask ceg for more information if necessary.

To post a message you must log in.