Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Encfs suddenly read-only -- DISK FAILURE
Date: Tue, 15 May 2012 13:28:08
Message-Id: 20120515132537.GA4959@crowfix.com
In Reply to: [gentoo-user] Encfs suddenly read-only by felix@crowfix.com
1 On Mon, May 14, 2012 at 05:33:48AM -0700, felix@×××××××.com wrote:
2 > I have been using encfs to store most of my home dir for ages. I rebooted Sunday morning (it's a ~amd64 system) to change kernel to 3.3.5 from 3.3.4, and sometime overnight, after the nightly backups and mail archives had run, the encfs mounted partition became read-only. I know the timing only by the cron jobs; the nightly mail backup moves files from the /home partition to the encfs partition, and it had not failed. I unmounted the encfs partition, remounted, and it was read-only right from the get go.
3
4 It's a failing disk drive:
5
6 May 15 03:30:26 kernel: [80220.600747] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
7 May 15 03:30:26 kernel: [80220.600759] hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=94761183, sector=94761183
8 May 15 03:30:26 kernel: [80220.600788] hda: possibly failed opcode: 0x25
9 May 15 03:30:26 kernel: [80220.600794] end_request: I/O error, dev hda, sector 94761183
10 May 15 03:30:26 kernel: [80220.600835] REISERFS error (device hda5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [2511 633054 0x0 SD]
11 May 15 03:30:26 kernel: [80220.600840] REISERFS (device hda5): Remounting filesystem read-only
12 May 15 03:30:31 kernel: [80224.859713] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
13
14 > There are no errors in /var/log/messages of any sort since the 3.3.5 boot. The mount command showed both the encfs partition and the underlying regular partition as rw, not ro.
15
16 I didn't see it the first time because I rebooted twice and only looked since the second reboot, after spending a while googling for hints and forgetting about the double reboot.
17
18 --
19 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
20 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
21 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
22 I've found a solution to Fermat's Last Theorem but I see I've run out of room o