This repository was archived by the owner on Mar 26, 2020. It is now read-only.
This repository was archived by the owner on Mar 26, 2020. It is now read-only.
[RFE] Support for Loopback devices as bricks #1418
Closed
Description
Auto provisioning Volumes by default provisions the bricks using LVM. Alternatively Loop devices can be used to create Bricks.
Register device(LVM vs Loop):
LVM | Loop |
---|---|
Create PV | - |
Create VG | - |
Collect Available size and save details in Store | Collect Available size and save details in Store |
Unregister device
LVM | Loop |
---|---|
Remove VG | - |
Remove PV | - |
Remove details from Store if no bricks exists | Remove details from Store if no bricks exists |
Create Brick
LVM | Loop |
---|---|
Create Thinpool | Create directory |
Create LV | Create Loop device |
Create FS | Create FS |
Mount LV | Mount device |
Create Brickdir | Create Brickdir |
Mount/Unmount Brick
LVM | Loop |
---|---|
Mount/Unmount LV | Mount/Unmount loop device |
Remove Brick
LVM | Loop |
---|---|
Unmount brick if mounted | Unmount brick if mounted |
Remove LV | Remove loop file |
Remove Thinpool if number of LVs is zero | Remove directory if no files exists |
Get Available Size
LVM | Loop |
---|---|
Using LVM commands | Using statvfs or df command |
Metadata
Metadata
Assignees
Labels
No labels