User Tools

Site Tools


quickreference:lvm2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
quickreference:lvm2 [2024/10/10 22:33] rodolicoquickreference:lvm2 [2024/12/07 13:36] (current) – [Too Much Information] rodolico
Line 52: Line 52:
 filter = [ "a|^/dev/md|","a|^/dev/sda$|","a|^/dev/sdb$|", "r|^/dev/*|" ] filter = [ "a|^/dev/md|","a|^/dev/sda$|","a|^/dev/sdb$|", "r|^/dev/*|" ]
 </code> </code>
 +
 +To determine which drives are actually local, you can use the **mount** command. For example:
 +<code bash>
 +mount | grep '^/dev'
 +</code>
 +will show all mounted drives which are local, ignoring nfs, tmpfs, etc...
  
 After making the change, rescan LVM with one of the following commands After making the change, rescan LVM with one of the following commands
 <code bash> <code bash>
 # yes, start, not reload, not restart, start # yes, start, not reload, not restart, start
 +vgscan
 +# OR
 service lvm2 start service lvm2 start
 # OR # OR
quickreference/lvm2.1728617616.txt.gz · Last modified: 2024/10/10 22:33 by rodolico