docs:tips_n_tricks:lvm.html
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:tips_n_tricks:lvm.html [12.07.2014 17:24 CEST] – created peter | docs:tips_n_tricks:lvm.html [31.07.2018 11:12 CEST] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LVM ====== | ====== LVM ====== | ||
- | ===== Get rid of left over /dev/dm-XXX nodes ===== | + | {{entry> |
+ | {{entry> | ||
+ | {{tag> | ||
+ | ===== Get rid of detatched PVs ===== | ||
- | After removing a LVM physical device without | + | After removing a LVM physical device without |
~ # pvs | ~ # pvs | ||
Line 32: | Line 35: | ||
... and your //lvm// commands are quiet again :-) | ... and your //lvm// commands are quiet again :-) | ||
- | {{entry>Linux}} | + | ===== Boot with /usr etc. on LVM ===== |
- | {{entry>LVM}} | + | |
- | {{tag>Linux LVM}} | + | Recent Ubuntu and Mint distributions seem to have trouble booting systems where relevant filesystems on LVM are referenced by label or uuid instead of ''/ |
+ | |||
+ | Tracking this down on Mint 18.2 lead me to the file ''/ | ||
+ | |||
+ | // | ||
+ | |||
+ | <code bash / | ||
+ | #!/bin/sh | ||
+ | PREREQ="" | ||
+ | prereqs() | ||
+ | { | ||
+ | echo " | ||
+ | } | ||
+ | case $1 in | ||
+ | prereqs) | ||
+ | | ||
+ | exit 0 | ||
+ | ;; | ||
+ | esac | ||
+ | . / | ||
+ | # Begin real processing below this line | ||
+ | |||
+ | # This was necessary because ubuntu' | ||
+ | # is the only line they needed in their script. It makes no sense. | ||
+ | # How was this so hard for you to do, Ubuntu? | ||
+ | lvm vgchange -ay | ||
+ | </ | ||
+ | |||
+ | __N.B.:__ Ubuntu Bug [[https:// | ||
+ | |||
+ | {{entry>booting}} | ||
+ | {{entry>initrd}} | ||
+ | {{tag>booting initrd}} | ||
| |
docs/tips_n_tricks/lvm.html.1405178650.txt.gz · Last modified: 12.07.2014 17:24 CEST by peter