File remove problem

Bruce Evans brde at optusnet.com.au
Thu Nov 29 22:03:14 PST 2007


On Fri, 30 Nov 2007, Bruce Evans wrote:

> Duplicating the problem can be simplified to
> "[make a disposable file system with soft updates and mount it rw on /mnt];
> touch /mnt/foo; mount -u -o ro /foo".

Oops, this is missing a rm, and doesn't work with it.  What actually "works"
for me (with /f instead of /mnt) is:

# cp /etc/passwd /f/a; sync; sleep 1; sync; sleep 1; sync; sleep 1; fsck -n /f; rm /f/a; mount -u -o fstab,ro /f; fsck -n /f

This has produced the "softdep_waitidle: Failed to flush worklist for ..."
message consistently 5-10 times so far.  It takes a reboot per test.

Bruce


More information about the freebsd-fs mailing list