Comment 10 for bug 1217268

Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, work to do for this bug:

1- Improve the checking so if a disk is not mounted, we either mount it (may be dangerous!) or simply fail to run the test (rather than running on a different disk and producing bogus results). See comment #4. Otherwise, it will use the default /tmp directory.

2- Check the available free space in the mount to be tested. If this is smaller than RAM x 2 (plus some reasonable safety margin), then set bonnie++ parameter to use a fixed file size that's smaller than the free space. If free space is bigger than RAM x 2, then let bonnie++ do its thing as usual.

I'll set to triaged for now.

Gabriel, I'm curious how the partitions were configured that way. Is this an OEM pre-install? if so, would it be possible to change the root (/dev/sda3) partition size to maybe 32 GB? This will allow you to run the test without problems. That's a workaround however, the real solution would be implementing the above.