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

26 lines
554 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pvscan
> List all physical volumes and manage their online status.
> More information: <https://manned.org/pvscan>.
- List all physical volumes:
`sudo pvscan`
- Show the volume group that uses a specific physical volume:
`sudo pvscan --cache --listvg {{/dev/sdX}}`
- Show logical volumes that use a specific physical volume:
`sudo pvscan --cache --listlvs {{/dev/sdX}}`
- Display detailed information in JSON format:
`sudo pvscan --reportformat json`