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

Re: Resizing LVM issue

Bob Proulx a écrit :
> There are many stories of this from people doing the same thing on the
> net.  It seems that the code for expanding the file system is used
> often and optimized to run fast but that the code for shrinking it is
> not used very often and therefore has severe inefficiencies.  But if
> you wait long enough, more than a week in my case, then it will finish
> successfully.

Regardless of any optimization, shrinking a filesystem is much more
difficult that expanding it. It requires to move all the used blocks
which are allocated beyond the new size. Moving blocks on the same disk
is a rather slow operation.

Reply to: