[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partition resizing fails



Hi Wolfgang,

I was finally able to fix it. Took me way too long to figure this one out.

The issue was that a minimal amount of space is required to execute an
lvextent of /dev/vg_system/root. In my case the space was just not big
enough.

I therefore temporarily moved some files out of /etc/debian-edu/www/.
Then I rebooted and the two commands (lvextend and resize2fs) executed
nicely.

Thanks for your hints and assistance! :)

> On Fri, Dec 27, 2019 at 10:25:14AM +0100, Roman Meier wrote:
>> That was the first thing I did. :)
>>
>> Didn't help me tho. :(
>
>> >> vgdisplay show this:
>> >> Free PE / Size      204547 / 799.01 GiB
>> >> > /dev/mapper/vg_system-root         2108840  2092452         0 100%
>> /
>> >> > /dev/mapper/vg_system-usr         15417224 14836932         0 100%
>> >> /usr
>> >> >
>> >> > I tried to increase the size using lvextend but it gives me a no
>> space
>> >> > left on  device.
>
> I'm just curious how you used lvextend.
>
> As an example (like the one in the manual) this should add 500 MiB to /:
> lvextend -L+500M /dev/vg_system/root
>
> Then resize it:
> resize2fs  /dev/vg_system/root
>
> Wolfgang
>



Reply to: