Hi, perhaps this is somewhat a vmware ESXI question, im having trouble detecting the additional virtual hard disk that ive added on my ESXI.
I have 2 issues
.
1st: initially my setting was Hard Disk 1 & 2 were both 240GB. I increased both of them to 300GB hoping for the changes to be reflected on my server.
Hard Disk 1 - Virtual Disk - 300GB
Hard Disk 2 - Virtual Disk - 300GB
running df -h showed nothing was changed on my /
Code:
#df -h
Filesystem Size Used Avail Use% Mounted On
/dev/mapper/vg_centos-lv_root 237G 234G 0 100% /
mpfs 947M 324K 947M 1% /dev/shm
/dev/sda1 485M 52M 408M 12% /boot
/dev/sda1 485M 52M 408 12% /mnt/disk_sda1
Please clarify if changing the value directly on my virtual disk on ESXI is not the proper way of extending the storage capacity.
if yes, how could i bring it back to the original 240GB, i cant seem to decrease the value anymore.
2nd: and so i figured that maybe adding a new virtual disk to extend it on my / is the right way..
so i added another virtual disk on ESXI
Hard Disk 3 - Virtual Disk - 100GB
Linux cant seem to detect the additional 100GB on my system. can someone please read and explain the below code into human readeable format.
#fdisk -l
Code:
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 2089 16264192 8e Linux LVM
Disk /dev/sdb: 257.7GB 257..... bytes
255 heads, 63 sectors/trac, 31330 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size *logical/physical): 512 bytes /512 bytes
I/O size minimum/optimal): 512 bytes / 512 bytes
Diskidentifier: 0xd2d850c6
Device Boot Start End Blocks Id System
/dev/sdb1 1 31330 251658193+ 83 Linux
Disk /dev/mapper/vg_centos-lv_root: 257.7 GB, 25769.....bytes
255 heds, 63 sectors/track, 31329 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk Identifier: 0x0000000
Disk /dev/mapper/vg_centos-lv_swap: 4261 MB, 4261... bytes
255 heads, 63 sectors/track, 518 cylinders
Units = cylinders of 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000000000
~