On Monday 30 October 2006 12:04, Uwe Thiem wrote: > On 28 October 2006 23:39, Alan McKinnon wrote: > > On Saturday 28 October 2006 16:41, b.n. wrote: > > > Dale ha scritto: > > > > If you use XFS, make sure you have good power. XFS does not > > > > like power failures at all. I have had to reinstall on a > > > > second rig because of this very problem. If you have a UPS, > > > > that may be OK. > > > > > > Thanks a lot for the advice. Power outages do happen and I don't > > > have an UPS. Why does it happen? Isn't XFS journaled? > > > > Yes it is journaled but it also allows data to be very aggressively > > cached. Make that VERY aggressively cached. With the result that > > data can be held in a huge cache somewhere and the kernel can be > > convinced it has been written to disk. > > No journaled filesystem can 100% prevent data loss or even filesystem > corruption in cases of power outages. Think of the the builtin caches > of your drive. If that builtin cache contains a changed journal (not > written to the actual drive yet) when a power failure occurs => bang!
All the more reason to take the intended usage of XFS seriously - in environments where power loss to the machine simply do not happen (redundant psus, UPS backup, etc) alan -- [email protected] mailing list

