Files
cheatsheet-tldr/tldr/linux/lvscan
2025-11-16 00:22:19 +00:00

27 lines
498 B
Plaintext

---
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:
`sudo lvscan`
- List only active logical volumes:
`sudo lvscan --active`
- List only inactive logical volumes:
`sudo lvscan --inactive`
- Display logical volumes in JSON format:
`sudo lvscan --reportformat json`