summaryrefslogtreecommitdiff
path: root/ReadMe.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-04 16:34:21 +1000
committerNeilBrown <neilb@suse.de>2012-10-04 16:34:21 +1000
commit40c9a66a5c1a89d621daa2184888e66952b06a71 (patch)
treebf7dae47d213cc7629f112880a9c18cb509d8415 /ReadMe.c
parent83cd1e97cbc0c4749561b72864dbaaed3a014123 (diff)
Add --data-offset flag for Create and Grow
This can be used to over-ride the automatic assignment of data offset. For --create, it is useful to re-create old arrays where different defaults applied. For --grow it may be able to force a reshape in the reverse direction. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ReadMe.c b/ReadMe.c
index 346f08cb..def75ec6 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -129,6 +129,7 @@ struct option long_options[] = {
{"re-add", 0, 0, ReAdd},
{"homehost", 1, 0, HomeHost},
{"symlinks", 1, 0, Symlinks},
+ {"data-offset",1, 0, DataOffset},
/* For assemble */
{"uuid", 1, 0, 'u'},
@@ -349,6 +350,8 @@ char Help_create[] =
" --raid-devices= -n : number of active devices in array\n"
" --spare-devices= -x: number of spare (eXtra) devices in initial array\n"
" --size= -z : Size (in K) of each drive in RAID1/4/5/6/10 - optional\n"
+" --data-offset= : Space to leave between start of device and start\n"
+" : of array data.\n"
" --force -f : Honour devices as listed on command line. Don't\n"
" : insert a missing drive for RAID5.\n"
" --run -R : insist of running the array even if not all\n"
@@ -545,6 +548,7 @@ char Help_grow[] =
" : when changing parameters other than raid-devices\n"
" --array-size= -Z : Change visible size of array. This does not change\n"
" : any data on the device, and is not stable across restarts.\n"
+" --data-offset= : Location on device to move start of data to.\n"
;
char Help_incr[] =