Sorry for hijacking your thread, but... What do you guys think about journalized ffs [1]? Can it help in such situations? Is there any chance to get it into OpenBSD kernel?
[1] http://mail-index.netbsd.org/netbsd-announce/2008/07/31/msg000037.html 2008/8/2, M. Feenstra <[EMAIL PROTECTED]>: > Hi, > > I use a small device (Alix 1C based) running flashboot (OpenBSD 4.3) as my > home Bacula backup server. The entire system is running in RAM (flashboot > does that for me) except of course for the backup storage which is a 500G > USB drive. > > Today I had an power issue causing the system to go down uncleanly. At boot > it would not mount the USB drive anymore reporting I should run "fsck". > > This was ofcourse no surprise and I tried running fsck. But it frooze my > device: > ---------------------------------------------- > [EMAIL PROTECTED] root]# fsck -v /dev/sd0a > > start /dev/sd0a wait fsck_ffs /dev/rsd0a > ** /dev/rsd0a > ---------------------------------------------- > > and that is it. Nothing more is happening. > > If I attach the USB drive to the OpenBSD system I used to build the > flashboot I have no troubles fsck'ing the disk. > > What surprices me is that is hangs the whole system. I can not login, > reboot, access the kernel debugger or anything. I can only unplug the power > and reboot after issueing this command. > > Is this caused because the system has no enough memory or am I missing > something obvious here? > > Mark