Comment 3 for bug 656115

Revision history for this message
Robert Citek (robert-citek) wrote :

The way we discovered this issue was by creating a small generic install of Ubuntu with an LVM containing several small LVs, creating an image of the install, and then pushing out the image to client machines. The full size of the image was < 1 GB with most of the LVs < 100 MB, which made pushing the image over a slow network very fast. Once on the client the PV was expanded as well as the LVs, and their corresponding filesystems were resized. It was at that point that we discovered we could not expand beyond a certain size. 100 MB * 1024 ~ 100 GB, which is not uncommon for drives these days. But what really surprised us was that we could not resize up or down with ext4 even when unmounted.

This isn't a show stopper for us. Now that we are aware of this limitation with ext4/resize2fs/tune2fs, we just have to rethink our strategy and redesign our images.