I'm trying to follow the guide at https://ma.ttias.be/increase-a-vmware-d ... rebooting/ to extend my hard drive to another virtual disk in xenserver.
Code: Select all
[root@ftp ~]# fdisk -l
Disk /dev/xvda: 536.9 GB, 536870912000 bytes, 1048576000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000cda96
Device Boot Start End Blocks Id System
/dev/xvda1 * 2048 2099199 1048576 83 Linux
/dev/xvda2 2099200 1048575999 523238400 8e Linux LVM
Disk /dev/mapper/centos-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 65536 bytes
Disk /dev/mapper/centos-swap: 4160 MB, 4160749568 bytes, 8126464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-home: 370.4 GB, 370352848896 bytes, 723345408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 65536 bytes
Disk /dev/xvdb: 2147.5 GB, 2147483648000 bytes, 4194304000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@ftp ~]#
Code: Select all
[root@ftp ~]# vgdisplay
--- Volume group ---
VG Name centos
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 3
Max PV 0
Cur PV 2
Act PV 2
VG Size 2.44 TiB
PE Size 4.00 MiB
Total PE 639742
Alloc PE / Size 102193 / 399.19 GiB
Free PE / Size 537549 / 2.05 TiB
VG UUID Oi0dMW-SMLh-BMka-PhKv-5AT8-Ngqh-kWGFej
[root@ftp ~]#
[root@ftp ~]# lvextend /dev/centos/ /dev/xvdb
Logical volume name "" is invalid.
Run `lvextend --help' for more information.
[root@ftp ~]#
What am i doing wrong?