Commit cecfb7b6 authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Wipe out the first 8K on disks at reload to erase stale LVM data

parent 8ea0419e
......@@ -440,7 +440,7 @@ case $STATUS in
mount | grep "^/dev/$d" > /dev/null && continue
zapsuperblocks $d
echo "Invalidating MBR on $d"
dd if=/dev/zero of=/dev/$d bs=512 count=1
dd if=/dev/zero of=/dev/$d bs=512 count=16
done
;;
esac
......
......@@ -409,7 +409,7 @@ case $STATUS in
mount | grep "^/dev/$d" > /dev/null && continue
zapsuperblocks /dev/$d
echo "Invalidating MBR on /dev/$d"
dd if=/dev/zero of=/dev/$d bs=512 count=1
dd if=/dev/zero of=/dev/$d bs=512 count=16
done
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment