pvscan: add page (#14051)
This commit is contained in:
20
pages/linux/pvscan.md
Normal file
20
pages/linux/pvscan.md
Normal 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`
|
Reference in New Issue
Block a user