Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Encfs suddenly read-only -- DISK FAILURE (http://www.linux-archive.org/gentoo-user/667018-encfs-suddenly-read-only-disk-failure.html)

05-15-2012 01:25 PM

Encfs suddenly read-only -- DISK FAILURE
 
On Mon, May 14, 2012 at 05:33:48AM -0700, felix@crowfix.com wrote:
> 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.

It's a failing disk drive:

May 15 03:30:26 kernel: [80220.600747] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
May 15 03:30:26 kernel: [80220.600759] hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=94761183, sector=94761183
May 15 03:30:26 kernel: [80220.600788] hda: possibly failed opcode: 0x25
May 15 03:30:26 kernel: [80220.600794] end_request: I/O error, dev hda, sector 94761183
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]
May 15 03:30:26 kernel: [80220.600840] REISERFS (device hda5): Remounting filesystem read-only
May 15 03:30:31 kernel: [80224.859713] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }

> 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.

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.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o


All times are GMT. The time now is 04:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.