Difference between revisions of "Pvcreate"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/pvcreate.8.html
Line 6: | Line 6: | ||
WARNING: ext4 signature detected on /dev/sdb at offset 1080. Wipe it? [y/n]: | WARNING: ext4 signature detected on /dev/sdb at offset 1080. Wipe it? [y/n]: | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | pvcreate /dev/dm-24 | ||
+ | /dev/sda: open failed: No medium found | ||
+ | Physical volume "/dev/dm-24" successfully created. | ||
+ | </pre> | ||
+ | |||
Revision as of 10:36, 9 December 2019
pvcreate
[1] initialize a disk for use by LVM. Also partition, meta device, or loopback file are supported.
pvcreate
pvcreate /dev/sdb WARNING: ext4 signature detected on /dev/sdb at offset 1080. Wipe it? [y/n]:
pvcreate /dev/dm-24 /dev/sda: open failed: No medium found Physical volume "/dev/dm-24" successfully created.
Activities
- Initialize a new disk to be used by Linux LVM with
pvcreate
command.
See also
Advertising: