Once the new disk volume is added in the hypervisor (i.e VMware), scan the SCISI bus in the VM
1 |
# echo "- - -" >/sys/class/scsi_host/host0/scan |
Check that the new new disk exists
1 |
# fdisk -lc |
pvcreate, vgextend, lvextend, resize2fs
1 2 3 4 |
# pvcreate /dev/sdf # vgextend san /dev/sdf # lvextend -L +200g /dev/san/oracle # resize2fs /dev/san/oracle |
Check for new size
1 2 3 |
# df -h /oracle Filesystem Size Used Avail Use% Mounted on /dev/mapper/san-oracle 640G 390G 218G 65% /oracle |