* RAID Problem
@ 2010-03-16 23:32 colli419
2010-03-17 0:09 ` Neil Brown
0 siblings, 1 reply; 5+ messages in thread
From: colli419 @ 2010-03-16 23:32 UTC (permalink / raw)
To: linux-raid
Hello, I am having problems with my RAID as follows:
I installed the drives in an old computer and created the RAID and it
worked great. When I tried to install the same RAID set in a new computer I
could get it to mount manually with some messing around but couldn't get it
to mount automatically as in the old machine. I was wondering if zeroing
the superblocks and trying to re-create the RAID would be a good idea. The
data that is stored on the drives should otherwise be intact because I had
it running just fine the other day. Any help at all would be most
appreciated.
Thank you so much,
Michael Collins
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RAID Problem
2010-03-16 23:32 RAID Problem colli419
@ 2010-03-17 0:09 ` Neil Brown
2010-03-20 16:55 ` Bill Davidsen
0 siblings, 1 reply; 5+ messages in thread
From: Neil Brown @ 2010-03-17 0:09 UTC (permalink / raw)
To: colli419; +Cc: linux-raid
On 16 Mar 2010 18:32:39 -0500
colli419@umn.edu wrote:
> Hello, I am having problems with my RAID as follows:
>
> I installed the drives in an old computer and created the RAID and it
> worked great. When I tried to install the same RAID set in a new computer I
> could get it to mount manually with some messing around but couldn't get it
> to mount automatically as in the old machine. I was wondering if zeroing
> the superblocks and trying to re-create the RAID would be a good idea. The
> data that is stored on the drives should otherwise be intact because I had
> it running just fine the other day. Any help at all would be most
> appreciated.
>
You haven't provides a lot of concrete information, like error messages
during boot or "mdadm -E" output of devices or even kernel/mdadm versions, so
I can only guess, but my guess would be that you can fix it by assembling
the array with "--update=homehost"
i.e.
mdadm --assemble /dev/mdwhatever \
--update=homehost /dev/device1 /dev/device2 ....
NeilBrown
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RAID Problem
2010-03-17 0:09 ` Neil Brown
@ 2010-03-20 16:55 ` Bill Davidsen
0 siblings, 0 replies; 5+ messages in thread
From: Bill Davidsen @ 2010-03-20 16:55 UTC (permalink / raw)
To: Neil Brown; +Cc: colli419, linux-raid
Neil Brown wrote:
> On 16 Mar 2010 18:32:39 -0500
> colli419@umn.edu wrote:
>
>
>> Hello, I am having problems with my RAID as follows:
>>
>> I installed the drives in an old computer and created the RAID and it
>> worked great. When I tried to install the same RAID set in a new computer I
>> could get it to mount manually with some messing around but couldn't get it
>> to mount automatically as in the old machine. I was wondering if zeroing
>> the superblocks and trying to re-create the RAID would be a good idea. The
>> data that is stored on the drives should otherwise be intact because I had
>> it running just fine the other day. Any help at all would be most
>> appreciated.
>>
>>
>
> You haven't provides a lot of concrete information, like error messages
> during boot or "mdadm -E" output of devices or even kernel/mdadm versions, so
> I can only guess, but my guess would be that you can fix it by assembling
> the array with "--update=homehost"
>
> i.e.
> mdadm --assemble /dev/mdwhatever \
> --update=homehost /dev/device1 /dev/device2 ....
>
>
My take on hostname is that it causes more users problems than it helps,
and that it would have been better as an option to the assemble function
for those who actually need that checking. More people have little RAID
USB boxes than have some shared storage.
Do *NOT* read this as a suggestion to change, just a comment on it as an
example of "unintended results."
--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein
^ permalink raw reply [flat|nested] 5+ messages in thread
* RAID problem
@ 2013-08-14 20:49 fixitdad5
2013-08-14 23:42 ` NeilBrown
0 siblings, 1 reply; 5+ messages in thread
From: fixitdad5 @ 2013-08-14 20:49 UTC (permalink / raw)
To: linux-raid
If you are still offering help with raid corruption due to the bug in kernels 3.2 and 3.3, I would like some help.
I load Ubuntu 12.04 precise (with kernel 3.2 since it was in the package) just 2 weeks ago. I had pre-existing raids and the raid's meta data was corrupted on the first boot after the successful installation so I have lost my data. I tried most of the suggestions that I found on the web, employing the intelligence in mdadm -assemble, etc. without success.
I have now updated the kernel to 3.4.0 rc7 (3.4.0-030400-generic #201205210521 SMP) and built an empty raid. However, I cannot boot without disconnecting the RAID drives. With the RAID drives hooked up and the updated kernel with the additional parameters listed below, I I fall into busybox and cannot boot successfully. What do I do now?
My configuration is
Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
7983 MiB
running SELinux
Raid is a simple stripping (level 0) for speed
I have set the noautodetect and nodmraid parameters for the kernel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RAID problem
2013-08-14 20:49 RAID problem fixitdad5
@ 2013-08-14 23:42 ` NeilBrown
0 siblings, 0 replies; 5+ messages in thread
From: NeilBrown @ 2013-08-14 23:42 UTC (permalink / raw)
To: fixitdad5; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]
On Wed, 14 Aug 2013 15:49:37 -0500 (CDT) fixitdad5@verizon.net wrote:
> If you are still offering help with raid corruption due to the bug in kernels 3.2 and 3.3, I would like some help.
>
> I load Ubuntu 12.04 precise (with kernel 3.2 since it was in the package) just 2 weeks ago. I had pre-existing raids and the raid's meta data was corrupted on the first boot after the successful installation so I have lost my data. I tried most of the suggestions that I found on the web, employing the intelligence in mdadm -assemble, etc. without success.
>
> I have now updated the kernel to 3.4.0 rc7 (3.4.0-030400-generic #201205210521 SMP) and built an empty raid. However, I cannot boot without disconnecting the RAID drives. With the RAID drives hooked up and the updated kernel with the additional parameters listed below, I I fall into busybox and cannot boot successfully. What do I do now?
>
> My configuration is
> Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
> 7983 MiB
> running SELinux
> Raid is a simple stripping (level 0) for speed
> I have set the noautodetect and nodmraid parameters for the kernel
We would need lots more details to be able to help.
I assume you have given up on the old data - is that correct? Sorry about
that.
Do you just have the one RAID (the RAID0)? Is it for the root filesystem or
something else?
Maybe there is something in your initrd that is causing confusion.
zcat /boot/initrd | cpio -idv
will explode it for you. Is there an 'mdadm.conf' in there? What does it
contain?
Maybe just run
mkinitrd
(or whatever the Ubuntu command is - mkinitramfs maybe).
That might fix it.
Are there any error messages during boot?
You might need to get Ubuntu specific help as different distros have quite
different boot sequences.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-08-14 23:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 23:32 RAID Problem colli419
2010-03-17 0:09 ` Neil Brown
2010-03-20 16:55 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2013-08-14 20:49 RAID problem fixitdad5
2013-08-14 23:42 ` NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).