Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-15-2013, 04:04 AM   #1
Registered: Feb 2012
Posts: 33

Rep: Reputation: Disabled
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.

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
Filesystem            Size  Used Avail Use% Mounted on
                       12G  2.0G  9.3G  18% /
tmpfs                1012M  296K 1012M   1% /dev/shm
/dev/sda1             485M   31M  429M   7% /boot
/dev/sr0              696M  696M     0 100% /media/CentOS-6.2-i386-LiveCD

Last edited by pedenski; 05-15-2013 at 04:31 AM.
Old 05-15-2013, 04:38 AM   #2
Registered: Jan 2010
Posts: 82

Rep: Reputation: 1

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.
Old 05-15-2013, 05:56 PM   #3
Registered: Mar 2008
Posts: 17,749

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653

Then you might need to also fool with the client.
Old 05-15-2013, 08:27 PM   #4
Registered: Feb 2012
Posts: 33

Original Poster
Rep: Reputation: Disabled
hey, thanks for that great article there. i managed to extend my exisiting hard disk
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

Last edited by pedenski; 05-15-2013 at 08:29 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to expand disk in Linux JALITE Linux - Newbie 6 04-15-2014 04:19 PM
[SOLVED] Expand disk size on centos VM? jbennett Linux - Newbie 37 07-17-2012 11:43 AM
[SOLVED] Expand WinXP Disk Size tronayne Linux - Virtualization and Cloud 4 12-15-2011 07:38 AM
How to expand disk space cghcgh Linux - Newbie 7 07-08-2008 09:09 AM
expand root partition to occupy whole disk JohnGalt007 Linux - Software 4 01-09-2007 06:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration