mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 16:50:27 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/pvremove
Normal file
29
tldr/linux/pvremove
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pvremove
|
||||
|
||||
> Remove LVM labels from physical volume(s).
|
||||
> More information: <https://manned.org/pvremove>.
|
||||
|
||||
- Remove a LVM label from a physical volume:
|
||||
|
||||
`sudo pvremove {{/dev/sdXY}}`
|
||||
|
||||
- Display detailed output during the operation:
|
||||
|
||||
`sudo pvremove --verbose {{/dev/sdXY}}`
|
||||
|
||||
- Remove a LVM label without asking for confirmation:
|
||||
|
||||
`sudo pvremove --yes {{/dev/sdXY}}`
|
||||
|
||||
- Forcefully remove a LVM label:
|
||||
|
||||
`sudo pvremove --force {{/dev/sdXY}}`
|
||||
|
||||
- Display output in JSON format:
|
||||
|
||||
`sudo pvremove --reportformat json {{/dev/sdXY}}`
|
||||
Reference in New Issue
Block a user