Skip to contentSkip to conversation

raid0_make_request bug: can't convert ...bigger than 8k

DISCUSSION Paul Kubicz 4 participants 5 messages Jun 14, 2002 – Jun 17, 2002 MD RAID

lore
Share & tools
lore
#0 lore raw

I'm getting a message like this when trying to compile raid into the 2.5.x kernel (up to 2.5.21). I've picked up several semi-relevant messages in a search, but I couldn't find anything that directly addresses the problem.

I'm trying to mount md0 created under kernel 2.4.x. Thanks for any help.

#1 lore raw

recovery of software raid0

So, my system was hacked today and everything is a mess. I need to get to two raid 0 partitions and recover the data off of them before I wipe and clean the system.

The problem is that I have no root partition or much of any other system directories. It appears all my raid partitons are in good shape, but I need to mount them from something like my rescue disk. How can I go about doing this? I no longer have a raidtab or fstab, but I know which partitons go together and I'm 99% sure they all have persistant superblocks so they shoud be easily reccognized.

If this is simply a matter of putting in a temporary raidtab file could someone please send me a sample one? Also, would someone please give me an example of what arguments to give mount in order to mount the disks propperly.

If it is possible to get back to me about this quickly please do. I really need to get this box back online, everything I have is in those home directories.

Maxwell (SleepyLight) Bottiger
Theatre and Computer Science Undergrad at UMBC

       (o_   (o_
  (o_  //\   //\
  (/)_ V_/_  V_/_  If at first you don't succeed, redefine success.
#2 lore raw

Re: recovery of software raid0

Quoted 10 lines · Maxwell Bottiger

So, my system was hacked today and everything is a mess. I need to get to two raid 0 partitions and recover the data off of them before I wipe and clean the system.

The problem is that I have no root partition or much of any other system directories. It appears all my raid partitons are in good shape, but I need to mount them from something like my rescue disk. How can I go about doing this? I no longer have a raidtab or fstab, but I know which partitons go together and I'm 99% sure they all have persistant superblocks so they shoud be easily reccognized.

I am sorry to hear of your misfortune. Please do nothing hasty, and if possible get advice from someone who has been through this. There is a good chance that you can get almost all of your home directory back, given time.

First, if you have the install CD from a modern SuSE distribution, you may find that it will recognise the RAID and partitions.

Quoted 4 lines

If this is simply a matter of putting in a temporary raidtab file could someone please send me a sample one? Also, would someone please give me an example of what arguments to give mount in order to mount the disks propperly.

Yes. I suspect that you need a raidtab. You are outside the area that I can work from by remote control, but I presume that you can boot from Tom's Root and Boot Disk or your distribution's install CD and dummy up a raidtab.

You will be lucky if anything mounts. If you are using Reiser's FS you recover your data by scavenging otherwise open the device in a file system debugger.

Wait for someone else to confirm and/or give more detail.

'Phone a friend' as they say, and bribe him or her with, say, coffee molecules. Recovery from this is time consuming and tedious, but should be possible.

Quoted 3 lines

If it is possible to get back to me about this quickly please do. I really need to get this box back online, everything I have is in those home directories.

Online?

Don't take action too quickly - more haste less data!

Ben.

#3 lore raw
In reply to Paul Kubicz
Quoted 4 lines · On Friday June 14, [email protected] wrote:

I'm getting a message like this when trying to compile raid into the 2.5.x kernel (up to 2.5.21). I've picked up several semi-relevant messages in a search, but I couldn't find anything that directly addresses the problem.

That would be because the problem hasn't been addressed yet... I'm afraid you will have to live without raid0 (and probably linear) in 2.5 kernels for a while longer.

NeilBrown

Quoted 10 lines

I'm trying to mount md0 created under kernel 2.4.x. Thanks for any help.

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Thanks, Neil; fair enough. About what one could expect from a testing kernel, I guess.

I will add that the problem seemed to occur with all raids though (at least in my setup), not just raid0, so raiders beware...

Quoted 14 lines · Neil Brown
Quoted 3 lines · On Friday June 14, [email protected] wrote:

I'm getting a message like this when trying to compile raid into the 2.5.x kernel (up to 2.5.21). I've picked up several semi-relevant messages in a search, but I couldn't find anything that directly addresses the problem.

That would be because the problem hasn't been addressed yet... I'm afraid you will have to live without raid0 (and probably linear) in 2.5 kernels for a while longer.

NeilBrown