-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for CreateLV with thin or thinpool.
This adds a limited support to CreateLV for THIN or THINPOOL types. A few quirks that allow us to keep the same old CreateLV interface: * The caller of CreateLV has to know that when creating a THIN lv, they have to pass the VG name as <vgname>/<thinpoolName>. * For THINPOOL types, the name given is the name of the thin pool. We accept the defaults from lvm for tdata and tmeta pool names. (creation of MyThinPool will have hidden volumes created named mythinpool_tdata and mythinpool_tmeta). * The MetaData pool size (--poolmetadatasize=) is hard coded to 1GiB and a spare pool is created (--poolmetadataspare=y).
- Loading branch information
Scott Moser
committed
Oct 20, 2020
1 parent
6a591d7
commit 3b158b9
Showing
2 changed files
with
143 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters