Joe Advisor wrote:
> Interesting... so I did turn off softdep, and that did fix it.  However,
> based on my reading, I thought that softdep + disabling of write cache is
> the "approved" mechanism for allowing for hard reboots without fsck.  If
> this is the case, does this mean that I am in an either / or situation...
> as in, it is not possible to have rapid rewrites and rapid reboot
> simultaneously.  Or is sync in cron a reasonable approach?

Well, from my experience, softdep is not (directly) affected by sync's:

$ set -x
$ du -hsc softdep; sync; df softdep; ... <snipped; se below>
+ du -hsc softdep
107M    softdep
107M    total
+ sync
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1560848   2359276    40%    /home
+ rm -rf softdep/upgrade
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1560848   2359276    40%    /home
+ sync
+ sync
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1560848   2359276    40%    /home
+ sleep 5
+ sync
+ sync
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1352652   2567472    35%    /home
+ sleep 30
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1342632   2577492    34%    /home
+ sync
+ sync
+ date
Wed Dec  6 02:31:06 CET 2006
+ df softdep
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0e      4126444   1342632   2577492    34%    /home

/Alexander

Reply via email to