RAID: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 20: Line 20:


== always write back ==
== always write back ==
=HOWTO=
==Remove raid metadata from disk==
DISK=/dev/sdc
# the last bit
dd if=/dev/zero of=$DISK bs=512 seek=$(( $(blockdev --getsz $DISK) - 1024 )) count=1024
# the first bit
dd if=/dev/zero of=$DISK bs=512 count=1

Revision as of 15:34, 13 April 2023

Redundant Array of Inexpensive Disks

ACHTUNG don't forget block/partition alignment!

 

Cache settings

write through

write back

always write back

HOWTO

Remove raid metadata from disk

DISK=/dev/sdc
# the last bit
dd if=/dev/zero of=$DISK bs=512 seek=$(( $(blockdev --getsz $DISK) - 1024 )) count=1024
# the first bit
dd if=/dev/zero of=$DISK bs=512 count=1