$ fdisk -l /dev/vda
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 1026047 512000 500MB 83 Linux
/dev/vda2 1026048 185788415 184762367 88.1G 8e Linux LVM
パーティションの拡張(/dev/vda2)
$ fdisk /dev/vda
Command (m for help):d
Partition number (1,2, default 2):2
Partition 2 has been deleted.
Command (m for help): n
Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p):*Enter*
Using default response p.
Partition number (2-4, default 2):*Enter*
First sector (1026048-419430366, default 1026048):*Enter*
Using default value 1026048
Last sector, +sectors or +size{K,M,G,T,P} (1026048-419430366, default 419430366):*Enter*
Using default value 419430366
Command (m for help): t
Partition number (1,2, default 2): *Enter*
Hex code (type L to list all codes): 8e
Changed type of partition 'Linux' to 'Linux LVM'
Command (m for help): w
The partition table has been altered!
パーティションサイズの拡張は/dev/vda2を削除します。
同じ開始セクターを指定して新しく作成しなおします。
このとき終了セクターはサイズ拡張後の終了セクターを指定します。
パーティションタイプを8E00(LVM)にします。
LVMの拡張
/dev/vda2のPVを拡張できればよいので以下を実行
$ pvresize /dev/vda2
Physical volume "/dev/vda2" changed
1 physical volume(s) resized or updated / 0 physical volume(s) not resized