You are not logged in.

#1 2009-04-06 18:23:24

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

root filesystem not cleanly unmounted on shutdown

I have installed arch on a EEEPC701 on a flash card that is connected to the USB port. The filesystem is ext2. All is fine except that I often get error on the filesystem. Quite often the filesystem is marched clean but if I force a fsck on it I nevertheless get errors. I have modified /etc/rc.shutdown to do sync;sleep 5 just before the shutting down (after having remounted it ro) but the problem persists. Has anyone an idea; should it be possible to unmount it completely before the shutdown instead of remounting it ro? Might it be the problem?

Offline

#2 2009-04-11 14:55:06

JF
Member
From: France
Registered: 2009-03-27
Posts: 39

Re: root filesystem not cleanly unmounted on shutdown

Hi olive,

I don't know a lot about ext2 but if you do an fsync while disk filesystems are ro it won't have any effect I guess, so maybe you can put it earlier in the rc.shutdown script.

I found a thread on linux kernel mailing list related to your issue, not sure if it's still relevant though because it's about 2.4 kernels. anyway, here's the link:

http://lkml.indiana.edu/hypermail/linux … /1417.html

cheers,

Offline

Board footer

Powered by FluxBB