mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cmdlines: use OO_LVCREATE_RAID
Common options in one OO_
This commit is contained in:
parent
41e0a93a8f
commit
38cc021d67
@ -866,6 +866,9 @@ OO_LVCREATE_VDO: --compression Bool, --deduplication Bool, --vdosettings String
|
|||||||
|
|
||||||
OO_LVCREATE_THINPOOL: --discards Discards, --errorwhenfull Bool, --pooldatavdo Bool, OO_LVCREATE_VDO, OO_LVCREATE_POOL
|
OO_LVCREATE_THINPOOL: --discards Discards, --errorwhenfull Bool, --pooldatavdo Bool, OO_LVCREATE_VDO, OO_LVCREATE_POOL
|
||||||
|
|
||||||
|
OO_LVCREATE_RAID: --regionsize RegionSize, --minrecoveryrate SizeKB, --maxrecoveryrate SizeKB,
|
||||||
|
--raidintegrity Bool, --raidintegritymode String, --raidintegrityblocksize Number
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
lvcreate --type error --size SizeMB VG
|
lvcreate --type error --size SizeMB VG
|
||||||
@ -956,8 +959,7 @@ FLAGS: SECONDARY_SYNTAX
|
|||||||
# R14 (just --mirrors)
|
# R14 (just --mirrors)
|
||||||
# alternate form of lvcreate --type raid1|mirror
|
# alternate form of lvcreate --type raid1|mirror
|
||||||
lvcreate --mirrors PNumber --size SizeMB VG
|
lvcreate --mirrors PNumber --size SizeMB VG
|
||||||
OO: --stripesize SizeKB, --mirrorlog MirrorLog, --regionsize RegionSize, --minrecoveryrate SizeKB, --maxrecoveryrate SizeKB,
|
OO: --stripesize SizeKB, --mirrorlog MirrorLog, OO_LVCREATE_RAID, OO_LVCREATE
|
||||||
--raidintegrity Bool, --raidintegritymode String, --raidintegrityblocksize Number, OO_LVCREATE
|
|
||||||
OP: PV ...
|
OP: PV ...
|
||||||
IO: --stripes 1
|
IO: --stripes 1
|
||||||
ID: lvcreate_mirror_or_raid1
|
ID: lvcreate_mirror_or_raid1
|
||||||
@ -967,9 +969,8 @@ AUTOTYPE: mirror
|
|||||||
|
|
||||||
# R9,R10,R11,R12 (--type raid with any use of --stripes/--mirrors)
|
# R9,R10,R11,R12 (--type raid with any use of --stripes/--mirrors)
|
||||||
lvcreate --type raid --size SizeMB VG
|
lvcreate --type raid --size SizeMB VG
|
||||||
OO: --stripes Number, --stripesize SizeKB,
|
OO: --mirrors PNumber, --stripes Number, --stripesize SizeKB,
|
||||||
--mirrors PNumber, --regionsize RegionSize, --minrecoveryrate SizeKB, --maxrecoveryrate SizeKB,
|
OO_LVCREATE_RAID, OO_LVCREATE
|
||||||
--raidintegrity Bool, --raidintegritymode String, --raidintegrityblocksize Number, OO_LVCREATE
|
|
||||||
OP: PV ...
|
OP: PV ...
|
||||||
ID: lvcreate_raid_any
|
ID: lvcreate_raid_any
|
||||||
DESC: Create a raid LV (a specific raid level must be used, e.g. raid1).
|
DESC: Create a raid LV (a specific raid level must be used, e.g. raid1).
|
||||||
@ -978,8 +979,7 @@ DESC: Create a raid LV (a specific raid level must be used, e.g. raid1).
|
|||||||
# FIXME: --mirrors N --stripes 1 is raid1|mirror and should only
|
# FIXME: --mirrors N --stripes 1 is raid1|mirror and should only
|
||||||
# match the cmd def above for raid1|mirror with IO: --stripes 1
|
# match the cmd def above for raid1|mirror with IO: --stripes 1
|
||||||
lvcreate --mirrors PNumber --stripes Number --size SizeMB VG
|
lvcreate --mirrors PNumber --stripes Number --size SizeMB VG
|
||||||
OO: --stripesize SizeKB, --regionsize RegionSize, --minrecoveryrate SizeKB, --maxrecoveryrate SizeKB,
|
OO: --stripesize SizeKB, OO_LVCREATE_RAID, OO_LVCREATE
|
||||||
--raidintegrity Bool, --raidintegritymode String, --raidintegrityblocksize Number, OO_LVCREATE
|
|
||||||
OP: PV ...
|
OP: PV ...
|
||||||
ID: lvcreate_raid_any
|
ID: lvcreate_raid_any
|
||||||
DESC: Create a raid10 LV.
|
DESC: Create a raid10 LV.
|
||||||
|
Loading…
Reference in New Issue
Block a user