quickreference:lvm2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
quickreference:lvm2 [2020/08/18 14:26] – rodolico | quickreference:lvm2 [2020/10/30 01:00] – rodolico | ||
---|---|---|---|
Line 24: | Line 24: | ||
fdisk / | fdisk / | ||
mkfs.ext4 -m 0 -L testing / | mkfs.ext4 -m 0 -L testing / | ||
+ | </ | ||
+ | |||
+ | ===== Make it Stop ===== | ||
+ | |||
+ | Well, lvm really, really wants to make sure your stuff is there, even it the underlying volume is renamed, or even reformatted. Even after you remove the lv's, the vg's and the pv's, sometimes you still can not get it to do anything | ||
+ | |||
+ | <code bash> | ||
+ | # sometimes helpful to remove the dm's first, but not always necessary | ||
+ | dmsetup ls | ||
+ | dmsetup remove < | ||
+ | # now, tell it to release the lv's. If you do not specify a path | ||
+ | # releases everything | ||
+ | lvchange -an < | ||
+ | vgchange -an < | ||
</ | </ | ||
quickreference/lvm2.txt · Last modified: 2023/10/15 00:11 by rodolico