You are not logged in.
My root partition is currently full, so I want to resize it. I'm using LVM and the filesystem is ext4, so I assumed it should be easy enough. My plan was to reduce my /home to make space. However, when following the instructions in the wiki get the following error:
# resize2fs /dev/vg/syshome 450G
resize2fs 1.42.4 (12-June-2012)
Filesystem at /dev/vg/syshome is mounted on /home; on-line resizing required
resize2fs: On-line shrinking not supportedAccording to https://ext4.wiki.kernel.org/index.php/ … esystem.3F however, online resizing should be possible.
What am I missing?
Last edited by phunni (2012-08-03 20:37:26)
Offline
First, install and use ncdu to check what's eating up all the space.
$ ncdu / --exclude /home --exclude /mediaMaybe it's easily fixed, like a log file or something. Speaking of which, learn2logrotate. Here's my /etc/logrotate.conf.
Then if you still want to grow the root partition, try this: https://wiki.archlinux.org/index.php/LV … cal_volume
Next time please specify in the title that it's about LVM.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Apologies - you're right, I should have pointed out it was LVM in the title. I also should have pointed out that it was the LVM pages in the wiki that I was following and which were not working for me.
Offline
Online resizing is possible, but as stated in the error, online shrinking is not.
Skeptical? Google "ext4 online resize shrink" Edit: Better yet, see this. It's quite fresh.
Last edited by alphaniner (2012-08-03 20:56:03)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline