mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 13:58:37 +00:00
Update cheatsheets
This commit is contained in:
26
tldr/linux/lvscan
Normal file
26
tldr/linux/lvscan
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lvscan
|
||||
|
||||
> Scan (list) all logical volumes in the system.
|
||||
> Part of the LVM (Logical Volume Manager) suite.
|
||||
> More information: <https://manned.org/lvscan>.
|
||||
|
||||
- List all logical volumes:
|
||||
|
||||
`lvscan`
|
||||
|
||||
- List only active logical volumes:
|
||||
|
||||
`lvscan --active`
|
||||
|
||||
- List only inactive logical volumes:
|
||||
|
||||
`lvscan --inactive`
|
||||
|
||||
- Display logical volumes in JSON format:
|
||||
|
||||
`lvscan --reportformat json`
|
||||
Reference in New Issue
Block a user