Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-16 00:22:19 +00:00
parent cb2b02c321
commit a3dc1769f5
31 changed files with 139 additions and 93 deletions

View File

@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
- List all physical volumes:
`pvscan`
`sudo pvscan`
- Show the volume group that uses a specific physical volume:
`pvscan --cache --listvg {{/dev/sdX}}`
`sudo pvscan --cache --listvg {{/dev/sdX}}`
- Show logical volumes that use a specific physical volume:
`pvscan --cache --listlvs {{/dev/sdX}}`
`sudo pvscan --cache --listlvs {{/dev/sdX}}`
- Display detailed information in JSON format:
`pvscan --reportformat json`
`sudo pvscan --reportformat json`