LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-03-2009, 08:03 AM   #1
Skeddie
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
attempt to access beyond end of device on encrypted harddisk with reiserfs


Hi,

when trying to mount decrypted devices, this appears in the logs:
Code:
May  3 11:47:04 debian kernel: ReiserFS: dm-3: found reiserfs format "3.6" with standard journal
May  3 11:47:04 debian kernel: ReiserFS: dm-3: using ordered data mode
May  3 11:47:04 debian kernel: attempt to access beyond end of device
May  3 11:47:04 debian kernel: dm-3: rw=0, want=3191529648, limit=976960845
May  3 11:47:04 debian kernel: ReiserFS: dm-3: warning: sh-459: unable to read journal header
May  3 11:47:04 debian kernel: ReiserFS: dm-3: warning: sh-2022: reiserfs_fill_super: unable to initialize journal space
The same symptoms occur with all devices that are encrypted, 6 in total.

Let me explain chronologically what happened:
- encryption of harddisks with data already on it via cryptsetup && dd
- mounting of the resulted encrypted devices give no problem
- server is shutdown to enter a new disk, when booting it was reported that CTRL+D had to be pressed to continue after some 'maintenance'
- after bootup, when decrypting the devices and trying to mount, aforementioned messages appear in the logs

After makeing a backup of one of the devices, I checked with reiserfsck which says the superblock has to be rebuilt, after doing so it complains that the tree has to be rebuilt. After rebuilding (with the extra -S flag even) only one file is found and put in lost+found.
When placing the backup back and using testdisk on it, millions of partitions are found when doing a quick search for partitions, all reporting sizes far over the limit (most > 13TB).

I'm worried that the 'maintenance' modified the encrypted devices (I had forgotten to remove them out of fstab), as a single bit changed may corrupt the whole block device?

I have only tried rebuilding and recovering on the smallest backed up device so I don't know if the others yield more results.

Is all data lost or are there other methods to try, ...?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ldconfig 100% CPU usage, attempt to access beyond end of device rtaft Linux - Software 4 07-22-2008 01:55 PM
kernel: attempt to access beyond end of device" Message on boot. Chaves Slackware 1 07-04-2008 05:28 PM
DMRAID - attempt to access beyond end of device Quakeboy02 Linux - Kernel 3 03-05-2007 01:22 PM
attempt to access beyond end of device for unused harddisk axim Linux - General 2 01-05-2007 05:26 AM
log: attempt to access beyond end of device 360 Linux - General 1 09-18-2003 07:52 PM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration