quickreference:lvm2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
quickreference:lvm2 [2024/10/10 22:29] – rodolico | quickreference:lvm2 [2024/12/07 13:36] (current) – [Too Much Information] rodolico | ||
---|---|---|---|
Line 49: | Line 49: | ||
# only check /dev/sda, nothing else | # only check /dev/sda, nothing else | ||
filter = [ " | filter = [ " | ||
+ | # Finally, accept sda, sdb, any md, then ignore anything else | ||
+ | filter = [ " | ||
+ | </ | ||
+ | |||
+ | To determine which drives are actually local, you can use the **mount** command. For example: | ||
+ | <code bash> | ||
+ | mount | grep ' | ||
+ | </ | ||
+ | will show all mounted drives which are local, ignoring nfs, tmpfs, etc... | ||
+ | |||
+ | After making the change, rescan LVM with one of the following commands | ||
+ | <code bash> | ||
+ | # yes, start, not reload, not restart, start | ||
+ | vgscan | ||
+ | # OR | ||
+ | service lvm2 start | ||
+ | # OR | ||
+ | lvm vgchange -aay --sysinit | ||
</ | </ | ||
quickreference/lvm2.1728617382.txt.gz · Last modified: 2024/10/10 22:29 by rodolico