Difference between revisions of "Add a new disk using LVM"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* 1) <code>[[rescan-scsi-bus.sh]]</code> | * 1) <code>[[rescan-scsi-bus.sh]]</code> | ||
− | * 2) <code>[[pvcreate]]</code> | + | * 2) <code>[[pvcreate]]</code>: <code>[[pvcreate]] [[/dev/]]sdXXXX</code> |
* 3) <code>[[vgcreate]]</code> | * 3) <code>[[vgcreate]]</code> | ||
* 4) <code>[[lvcreate]]</code> | * 4) <code>[[lvcreate]]</code> |
Revision as of 06:51, 3 March 2021
- 1)
rescan-scsi-bus.sh
- 2)
pvcreate
:pvcreate /dev/sdXXXX
- 3)
vgcreate
- 4)
lvcreate
- 5)
mkfs.ext4
- 6) ....
See also
- 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
Advertising: