mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 00:47:55 +00:00
Update cheatsheets
This commit is contained in:
18
linux/pvcreate
Normal file
18
linux/pvcreate
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pvcreate
|
||||
|
||||
> Initialize a disk or partition for use as a physical volume.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/pvcreate.8.html>.
|
||||
|
||||
- Initialize the `/dev/sda1` volume for use by LVM:
|
||||
|
||||
`pvcreate {{/dev/sda1}}`
|
||||
|
||||
- Force the creation without any confirmation prompts:
|
||||
|
||||
`pvcreate --force {{/dev/sda1}}`
|
||||
Reference in New Issue
Block a user