]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Create: add --reserve-space support to reserve space at the start of each device mdadm-2
authorNeilBrown <neilb@suse.de>
Tue, 12 May 2009 05:25:55 +0000 (15:25 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 12 May 2009 05:25:55 +0000 (15:25 +1000)
commitc8b4de0cccfba18818416f62687e4094a5b83922
treec433c9be537b65ddbdff135cd25824a7cc09cdc8
parentc7b474474c793e9a82bd0d84868fdf7367c89696
Create: add --reserve-space support to reserve space at the start of each device

This only works for 1.x metadata.
The idea is to reserve some space at the start of each device for
storing a boot loader.
As a boot loader will need sector 0, metadata 1.1 doesn't make sense.

The number given to reserve-space will be in kilobytes, though a
suffix of M can give Megabytes (or G gigabytes, but 2 is the limit).

When a spare is added to an array, we preserve the amount of reserved
space.

It is not yet possible to hot-add an internal bitmap to a 1.1 or 1.2
array with reserved space.

This option is not yet documented.

In future, we might copy the content of the reserved space from one
drive to any new spare that is added.

Signed-off-by: NeilBrown <neilb@suse.de>
Create.c
Grow.c
Kill.c
Manage.c
ReadMe.c
mdadm.c
mdadm.h
super0.c
super1.c