tldr/pages/linux/pvcreate.md

12 lines
277 B
Markdown
Raw Normal View History

2017-02-21 03:48:58 +00:00
# pvcreate
> Initialize a physical volume (disk or partition) for use by the Logical Volume Manager (LVM).
2017-02-21 03:48:58 +00:00
- Initialize the `/dev/sda1` volume for use by LVM:
2017-02-21 03:48:58 +00:00
`pvcreate {{/dev/sda1}}`
- Force the creation without any confirmation prompts:
2017-02-21 03:48:58 +00:00
`pvcreate --force {{/dev/sda1}}`