mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
14 lines
340 B
Markdown
14 lines
340 B
Markdown
# 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}}`
|