how to easily expand a virtual disk
im currently running a vsftpd in a centos environment, this server is running on an ESXI/vSphere and the OS was installed in a default config.
OS: centos Current provisioned size: 12GB Type: Thick Provisioned lazy zeroed being new to all these stuff, i didnt know what type is recommended in running an ftp server or the SOP. the current disk capacity is 12GB and im concerned as how do i easily increase it in vsphere that will automatically reflect in OS without restarting it. i tried bringing up the current 12GB into 20GB and it doesnt appear to be working. #df -h Code:
Filesystem Size Used Avail Use% Mounted on |
hi,
What is the output of fdisk -l Is it showing two disks /dev/sda and /dev/sdb You can browse for "how to add disk in LVM", Check the below links for your reference. http://www.linuxquestions.org/questi...th-lvm-316813/ http://www.krenger.ch/blog/linux-lvm...new-partition/ |
http://kb.vmware.com/selfservice/mic...rnalId=1004047
http://kb.vmware.com/selfservice/mic...externalId=994 Then you might need to also fool with the client. |
Code:
http://www.krenger.ch/blog/linux-lvm...new-partition/ also, id like to clarify that before i extended the hard disk, i first created a virtual hard disk in my vSphere and used that virtual hard disk to extend my existing one. so i looked back on my vsphere and noticed that i now have harddisk1 - Virtual disk - 20GB harddisk2 - Virtual disk - 20GB is this normal? if i try to increase the capacity yet again, then id have to create another virtual disk and it would add as harddisk3 - virtual disk - 50GB i guess i was kinda expecting it to display as just harddisk1 - 20GB but hey, its now working! and im greatful. i was just a little concerned out of it and just wanted to know the reason behind :) |
All times are GMT -5. The time now is 08:24 AM. |