Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-11 00:16:59 +00:00
parent 08e6a26f5e
commit b0756d672e
16 changed files with 70 additions and 12 deletions

25
tldr/linux/pvscan Normal file
View File

@@ -0,0 +1,25 @@
---
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:
`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`