1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:42:19 +02:00
tldr/pages/linux/pvscan.md
2024-10-10 19:11:08 +02:00

20 lines
442 B
Markdown

# pvscan
> List all physical volumes and manage their online status.
> More information: <https://manned.org/pvscan>.
- List all physical volumes:
`pvscan`
- Show the volume group that uses a specific physical volume:
`pvscan --cache --listvg {{/dev/sdX}}`
- Show logical volumes that use a specific physical volume:
`pvscan --cache --listlvs {{/dev/sdX}}`
- Display detailed information in JSON format:
`pvscan --reportformat json`