Создать таблицу разделов на новом диске:
# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 8e Linux LVM
Создать новый том LVM:
# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created
Присоеденить том к группе томов:
# vgdisplay
--- Volume group ---
VG Name VG_XenStorage-ece12464-dfb3-8c83-36dd-e88c9f2c6b65
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1223
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 27
Open LV 26
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.36 TB
PE Size 4.00 MB
Total PE 355739
Alloc PE / Size 355727 / 1.36 TB
Free PE / Size 12 / 48.00 MB
VG UUID JrIxtn-2smY-Hvav-FzXk-Un7o-G07e-fzjAqU
нам нужен ID группы томов: VG_XenStorage-ece12464-dfb3-8c83-36dd-e88c9f2c6b65
# vgextend VG_XenStorage-ece12464-dfb3-8c83-36dd-e88c9f2c6b65 /dev/sdb1
Volume group "VG_XenStorage-ece12464-dfb3-8c83-36dd-e88c9f2c6b65" successfully extended