[openstack-dev] [nova] bp proposal: libvirt-resize-disk-down

sahid sahid.ferdjaoui at cloudwatt.com
Thu Jan 30 19:02:50 UTC 2014


> In case it hasn't been considered yet, shrinking a filesystem can result
> in terrible fragmentation.  The block allocator in resize2fs does not do
> a great job of handling this case.  The result will be a very
> non-optimal file layout and measurably worse performance, especially for
> drives with a relatively high average seek time.

This is an interesting point and I really want to get more information 
about it, I done some search on the manual of resize2fs but nothing.
As well, what do you think about to use "freezero" after the resize if
available on the host, could it fix this kind of problem?

Best,
s.



More information about the OpenStack-dev mailing list