mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 20:50:02 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/linux/pvchange
Normal file
37
tldr/linux/pvchange
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pvchange
|
||||
|
||||
> Change attributes of physical volume(s).
|
||||
> More information: <https://manned.org/pvchange>.
|
||||
|
||||
- Allow allocation on a physical volume:
|
||||
|
||||
`pvchange {{[-x|--allocatable]}} y {{/dev/sdXN}}`
|
||||
|
||||
- Disallow allocation on a physical volume:
|
||||
|
||||
`pvchange {{[-x|--allocatable]}} n {{/dev/sdXN}}`
|
||||
|
||||
- Ignore metadata areas on a physical volume:
|
||||
|
||||
`pvchange --metadataignore y {{/dev/sdXN}}`
|
||||
|
||||
- Stop ignoring metadata areas on a physical volume:
|
||||
|
||||
`pvchange --metadataignore n {{/dev/sdXN}}`
|
||||
|
||||
- Add a tag to a physical volume:
|
||||
|
||||
`pvchange --addtag {{tag}} {{/dev/sdXN}}`
|
||||
|
||||
- Generate a new UUID for a physical volume (use with care):
|
||||
|
||||
`pvchange --uuid {{/dev/sdXN}}`
|
||||
|
||||
- Change all visible physical volumes (combine with other options such as allocatable):
|
||||
|
||||
`pvchange {{[-a|--all]}} {{[-x|--allocatable]}} y`
|
||||
Reference in New Issue
Block a user