755
Comment:
|
876
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* NOTE:201507: Rather look at [[linux/btrfs|BTRFS]], it is reasonably mature, and does most thins lvm is used for. |
LVM Linux volume management
NOTE:201507: Rather look at BTRFS, it is reasonably mature, and does most thins lvm is used for.
- All Harddrives(HD's = pv=physicalvolumes) are put into a vg(volume group = 1big virtual hd) and then you partion it into lv's(logical volumes)
Why ?
- LV's can migrate while live - e.g. remove a disk
- LV's can expand while live
Notes
vgchange -a n vgscan --mknodes (may not be neccessary, but won't hurt) vgexport -a vgimport -a vgchange -a y That should bring them back to life.
Undo a lvm mistake ball by ball