1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

pvscan: add page (#14051)

This commit is contained in:
Nate 2024-10-10 13:11:08 -04:00 committed by GitHub
parent 3eacdfedf4
commit 06452a8ff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages/linux/pvscan.md Normal file
View file

@ -0,0 +1,20 @@
# 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`