mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 02:41:24 +00:00
19 lines
406 B
Plaintext
19 lines
406 B
Plaintext
---
|
|
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://manned.org/pvcreate>.
|
|
|
|
- Initialize the `/dev/sda1` volume for use by LVM:
|
|
|
|
`pvcreate {{/dev/sda1}}`
|
|
|
|
- Force the creation without any confirmation prompts:
|
|
|
|
`pvcreate --force {{/dev/sda1}}`
|