Pvcreate

From NovaOrdis Knowledge Base
Revision as of 23:04, 23 May 2017 by Ovidiu (talk | contribs) (→‎Initialize Partition for use by LVM)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

pvcreate initializes a disk or partition for use by the Logical Volume Manager (LVM), in the form of a physical volume. Each physical volume can be a disk partition, whole disk, meta device, or loopback file. For whole disk devices the partition table must be erased.

If signatures are found on storage, pvcreate will offer to delete them.

Initialize Partition for use by LVM

Whole disk initialization:

pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created.

Partition initialization:

pvcreate /dev/sdb1