Is there a way to use the Free Space on Parted "Print Free" to extend root partition?
Hello Experts,
My root partition is running low on space but using parted, I see that I have 10GB of free space on my disk. Is there a way I can use it to extend the root partition? My setup is as below: df -h Code:
Code:
[root@srvr-dev ~]# fdisk -l Code:
[root@srvr-dev ~]# parted Thanks in advance. |
I would recommend you try gparted which will give you a UI based interface to do this. And yes, unpartitioned space can be added to an existing partition.
|
@rtmistler,
Thanks for your response. Unfortunately, I am not in a position to run the g-parted live CD on this server (It's a VM on exalytics). Trying to install gparted as an application failed because I can't install any package on the server before it fills up the root partition. Is there a way I can do this with fdisk or with parted? |
Resizing partitions is possible in general, but I'm not sure if/how it works together with LVM. So just to be sure, you could use the partitioning tool of your choice (I use cfdisk when I can't use gparted, but fdisk or parted should work as well) to create one or more partitions from the free space, and then add them to the LVM you have setup.
I quite like this LVM howto: https://www.howtoforge.com/linux_lvm |
Tweaking the system you are running might not be the best idea ever though.. Doesn't exalytics have some admin tools you can access from a web browser or something?
|
This is exactly what LVM was invented for. You need to use LVM commands to see how much space is available in your current environment
Code:
vgs Best guide I know of is the LVM admin guide from Redhat - you may need to consider the RHEL6 version instead, but commands at this level haven't changed. |
All times are GMT -5. The time now is 05:54 PM. |