Difference between revisions of "Pvcreate"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/pvcreate.8.html
↑ https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/DM_Multipath/multipath_logical_volumes.html
(<pre> pvcreate /dev/mapper/3600a09803831417a5a244f5665797a47 Physical volume "/dev/mapper/3600a09803831417a5a244f5665797a47" successfully created. </pre>) |
|||
Line 29: | Line 29: | ||
== See also == | == See also == | ||
* {{lvm commands}} | * {{lvm commands}} | ||
+ | * {{Linux block devices}} | ||
* {{Fibre Channel}} | * {{Fibre Channel}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 11:25, 11 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/mapper/3600a09803831417a5a244f5665797a47 Physical volume "/dev/mapper/3600a09803831417a5a244f5665797a47" successfully created.
pvcreate /dev/dm-24 Physical volume "/dev/dm-24" successfully created.
Activities
Basic:
- Initialize a new disk to be used by Linux LVM with
pvcreate
command. - Initialize a new multipath disk and make user lvm.conf if properly configured.[2]
Related:
See also
- scan:
pvscan
vgscan
- LVM:
lvs
lvmscan
lvm fullreport
lvmreport
lvmconfig
lvmdump
lvmcheck
lvm dumpconfig
- Scan:
pvs
vgs
lvs
pvscan
vgscan
- PV:
pvcreate
pvremove
pvscan
pvremove
pvscan
pvs
pvchange
pvck
pvdisplay
pvresize
- LV:
lvdisplay
lvcreate
lvremove
,lvresize
,lvextend
,lvreduce
,lvrename
- VG:
vgdisplay
,vgcreate
,vgremove
,vgextend
,vgreduce
,vgscan
,vgchange
,vgrename
,vgcfgbackup
,vgcfgrestore
,vgimportclone
,vgck
- Check commands:
pvck
vgck
- Block devices:
blkid
(UUID),lshw -class disk
,hwinfo --disk
,udevadm
,rescan-scsi-bus.sh
,LUN
,hdparm
,findfs
, Add a new disk lsblk
,pvscan
lspci
,lsscsi
,smartctl
,fdisk
,parted
,Kpartx
,pvdiplay
,pvs
,udisksctl
,/dev/sd, nvme list
- Fibre Channel: SAN, HBA, LUN, WWN, WWPN, LIF,
rescan-scsi-bus.sh
Advertising: