by clipradiowallet · 5y ago · 0 comments
some reading if LVM is new and you want to know more: https://opensource.com/business/16/9/linux-users-guide-lvm
edit to add: pv=physical volume, vg=volume group, lv=logical volume
1. Tunefs
2. spacer.8gb
3. lvmYou'd effectively send all block changes through LVM twice (once through the file, then through the underlying block device(s))
For block operations it's no different from manual setup of loop-mounted volumes, that also need to travel a couple of layers to hit the backing device.
Though there is an important caveat - LVM is more abstracted, making it easier to mistakenly map a drive onto itself, which may create a spectacular failure (haven't tried).