vmware / linux / expanded drive space
Hello All,
This is my first time on this forum... nice to meet you! We added additional drive space to our VMware virtual server that has Linux on it. It appears Linux isn't recognizing that additional space we added. Any thoughts on how to get Linux to see that additional space on that virtual box. Here's our setup: VMware 5.5 Ubuntu Server 12.04 I appreciate any insight. |
Welcome to LinuxQuestions.
Did you restart the guest? By what means are you using to verify that the additional space is not recognised? |
Thanks for the reply.
We did do a restart and we can confirm via VMware the additional space is available but when we run: [root@oursys ~]# df -h It doesn't show the newly allocated disk space. Sorry if that is vague I am Linux newbie. |
That shows filesystems space, not actual disk space availablity. Post the output of the following (run as root)
Code:
df -hT |
Code:
root@sugar:~# df -hT Code:
Model: VMware Virtual disk (scsi) |
What we want to do is have a 100GB for the Disk w/ the sugar-root.
|
As stated the added space is unallocated.
I would resize the extended partition to include the newly added space. It might be easier to then add a logical partition and add it to your sugar-root like the following then mess with resizing the existing space. http://blog.chapus.net/ubuntu-server...se-disk-space/ |
Agreed, looks like a useful article.
Might make sense in future to add a second disk to the guest, then pvcreate on that disk (unpartitioned). Then if that disk is later enlarged, a simple pvresize will make things a lot easier. |
Thanks for that info.. We'll check out that link and report back.
|
We followed that document and everything was looking good until we got to the point that extends the LV. Here is the error we get at the bottom. We were thinking maybe it had something to do w/ this command:
"lvextend -l 100%FREE /dev/sugar/root" Code:
root@sugar:~# lvextend -l 11712 /dev/sugar/root |
Okay... we got it figured out. Looks like it was something to do w/ that 100%FREE. We used:
lvextend -L +45G /dev/sugar/root and everything seems to be correct. I appreciate the help and I'll mark this thread resolved. |
Quote:
|
Thanks sgrlscz..... we'll add that to our documentation. Appreciated.
|
All times are GMT -5. The time now is 12:26 PM. |