Summer of Code Results: Improve and Extend resize_ffs

October 20, 2009 posted by David Maxwell


I mentored Christopher Berardi for one of NetBSD's projects in this year's Google Summer of Code. His project was titled "Improve and Extend resize_ffs".


The original project abstract said:

This project will seek to thoroughly test and improve the resize_ffs utility as well as to potentially extend it to support features such as live resizing. The primary goal is to make resize_ffs stable through a thorough regression test suite and code review, fixing bugs where encountered and improving on areas such as resource utilization.

Christopher successfully identified a number of issues in resize_ffs that will need to be resolved in order to make it ready for import into the base system.

Some of the issues are consistently reproducible, while others are still intermittent at this point. I've begun putting together a set of regression tests based on Christopher's findings, and some further investigation of my own. Some testing techniques were identified during the Summer of Code period that will be used in the regression tests, and a further set of requirements were identified that go beyond the initial use cases that were targetted. In particular, filesystem images in files are more common these days and used within the NetBSD build system, and we'll want resize_ffs to support these as well the block devices it originally was written for.

So, this project has not yet resulted in code in-tree, but hopefully has revitalized the resize_ffs efforts, and I'll be working on further issues myself as well.




FWIW, I have used resize_ffs a few times successfully to grow file systems, even over 50 GB. Basically I used disklabel (and a calculator) to increase the size and then resize_ffs. It would be nice to use standard units, like GB or MB on the command-line options. I look forward to resize_ffs being installed by default.

Posted by Jeremy C. Reed on October 20, 2009 at 10:33 PM UTC #

What is the status of this project? Is this project finished? Is stable resize_ffs? was the test suite completed?

Posted by on August 19, 2010 at 10:56 PM UTC #

Post a Comment:
Comments are closed for this entry.