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

Re: Doing Dist-Upgrade or Such



dean a écrit :
> 
> On 07/09/15 17:42, Pascal Hambourg wrote:
>
>> Because you selected LVM in the assisted mode, which messes up sizes and
>> does not leave any free extents for future growth. You can still reduce
>> an oversized LV to free some extents but if the filesystem is ext2/3/4
>> it cannot be reduced online so it must be unmounted first. Depending on
>> the mount point, it may require to switch to single user mode or boot
>> from a maintenance system.
> 
> Resize2fs is quite good at online resizing, not sure i'd do it on / but
> i have lvresize and resize2fs /home and others many times without issue.

resizefs can extend a mounted filesystem but can reduce only an
unmounted filesystem. It is safe to extend / online, but you cannot of
course unmount / in the running system to reduce it.

Note that btrfs allows both online extension and reduction.


Reply to: