* raid1 boot issues
@ 2005-08-25 9:03 Lewis Shobbrook
2005-08-25 9:14 ` Tyler
[not found] ` <430D8333.9020606@ruisantos.com>
0 siblings, 2 replies; 6+ messages in thread
From: Lewis Shobbrook @ 2005-08-25 9:03 UTC (permalink / raw)
To: linux-raid
Hi All,
I have a problem attempting to boot a raid 1 system from lilo. I have
succeeded at this many times in the past, but am completely stumped as to
what the issue is in this instance. I have the boot and root partitions
seperate on /dev/md0 & /dev/md1 respectively, both raid1.
The mdadm examination for the components is clean and the superblocks appear
as they ought. I'm using Debian unstable with std. apt kernel-image. The
correct modules are in place for the initrd.
The boot partition fails to mount during the boot process...
fsck.ext3: invalid argument while trying to open /dev/md0
The superblock can not be read or does not describe a correct ext2
filesystem.... omitted usual stuff...
Root password for maintenance or Control-D to continue...
The bizarre thing is that it appears perfectly clean, I've re-zero'd the
superblocks and completely recreated the device, but the result is always the
same.
mdrun loads /dev/md0 in a clean state straight away and it mounts
cleanly. /dev/md1 is no problem.
mdadm -E of the components is clean, as is mdadm -d for the device.
My fstab & mtab are the same as systems running the same kernel that work
fine.
I found the system laying around from about 12 months ago which had originally
been set-up using raidtools. I upgraded the system using dist-upgrade
installed mdadm; after zeroing all superblocks for both drives and component
partitions, I created the devices with the following ...
mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
reformatted ext3 and restored the files before adding the missing devices and
resyncing.
I'm stumped!
Anyone got any ideas?
Cheers,
Lewis
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 boot issues
2005-08-25 9:03 raid1 boot issues Lewis Shobbrook
@ 2005-08-25 9:14 ` Tyler
2005-08-26 1:21 ` Lewis Shobbrook
[not found] ` <430D8333.9020606@ruisantos.com>
1 sibling, 1 reply; 6+ messages in thread
From: Tyler @ 2005-08-25 9:14 UTC (permalink / raw)
To: Lewis Shobbrook; +Cc: linux-raid
Fdisk it and set partitions to Raid Autodetect (0xfd) possibly?
Tyler.
Lewis Shobbrook wrote:
>Hi All,
>I have a problem attempting to boot a raid 1 system from lilo. I have
>succeeded at this many times in the past, but am completely stumped as to
>what the issue is in this instance. I have the boot and root partitions
>seperate on /dev/md0 & /dev/md1 respectively, both raid1.
>The mdadm examination for the components is clean and the superblocks appear
>as they ought. I'm using Debian unstable with std. apt kernel-image. The
>correct modules are in place for the initrd.
>The boot partition fails to mount during the boot process...
>fsck.ext3: invalid argument while trying to open /dev/md0
>The superblock can not be read or does not describe a correct ext2
>filesystem.... omitted usual stuff...
>Root password for maintenance or Control-D to continue...
>
>The bizarre thing is that it appears perfectly clean, I've re-zero'd the
>superblocks and completely recreated the device, but the result is always the
>same.
>mdrun loads /dev/md0 in a clean state straight away and it mounts
>cleanly. /dev/md1 is no problem.
>mdadm -E of the components is clean, as is mdadm -d for the device.
>My fstab & mtab are the same as systems running the same kernel that work
>fine.
>
>I found the system laying around from about 12 months ago which had originally
>been set-up using raidtools. I upgraded the system using dist-upgrade
>installed mdadm; after zeroing all superblocks for both drives and component
>partitions, I created the devices with the following ...
>
>mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
>reformatted ext3 and restored the files before adding the missing devices and
>resyncing.
>I'm stumped!
>Anyone got any ideas?
>
>Cheers,
>
>Lewis
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.15/80 - Release Date: 8/23/2005
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 boot issues
2005-08-26 1:21 ` Lewis Shobbrook
@ 2005-08-25 15:32 ` Berk Walker
0 siblings, 0 replies; 6+ messages in thread
From: Berk Walker @ 2005-08-25 15:32 UTC (permalink / raw)
To: Lewis Shobbrook; +Cc: Tyler, linux-raid
Lewis Shobbrook wrote:
>On Thursday 25 August 2005 7:14 pm, you wrote:
>
>
>>Fdisk it and set partitions to Raid Autodetect (0xfd) possibly?
>>
>>Tyler.
>>
>>
>Nope already set fd....
>
>
>>Lewis Shobbrook wrote:
>>
>>
>>>Hi All,
>>>I have a problem attempting to boot a raid 1 system from lilo. I have
>>>succeeded at this many times in the past, but am completely stumped as to
>>>what the issue is in this instance. I have the boot and root partitions
>>>seperate on /dev/md0 & /dev/md1 respectively, both raid1.
>>>The mdadm examination for the components is clean and the superblocks
>>>appear as they ought. I'm using Debian unstable with std. apt
>>>kernel-image. The correct modules are in place for the initrd.
>>>The boot partition fails to mount during the boot process...
>>>fsck.ext3: invalid argument while trying to open /dev/md0
>>>The superblock can not be read or does not describe a correct ext2
>>>filesystem.... omitted usual stuff...
>>>Root password for maintenance or Control-D to continue...
>>>
>>>The bizarre thing is that it appears perfectly clean, I've re-zero'd the
>>>superblocks and completely recreated the device, but the result is always
>>>the same.
>>>mdrun loads /dev/md0 in a clean state straight away and it mounts
>>>cleanly. /dev/md1 is no problem.
>>>mdadm -E of the components is clean, as is mdadm -d for the device.
>>>My fstab & mtab are the same as systems running the same kernel that work
>>>fine.
>>>
>>>I found the system laying around from about 12 months ago which had
>>>originally been set-up using raidtools. I upgraded the system using
>>>dist-upgrade installed mdadm; after zeroing all superblocks for both
>>>drives and component partitions, I created the devices with the following
>>>...
>>>
>>>mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
>>>reformatted ext3 and restored the files before adding the missing devices
>>>and resyncing.
>>>I'm stumped!
>>>Anyone got any ideas?
>>>
>>>Cheers,
>>>
>>>Lewis
>>>-
>>>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>>the body of a message to majordomo@vger.kernel.org
>>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
Just a silly thought, but does your kernel have raid compiled in?
'cause if it's a module it will never have a chance to see it. How far
in the boot process does your system go?
b-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 boot issues
2005-08-25 9:14 ` Tyler
@ 2005-08-26 1:21 ` Lewis Shobbrook
2005-08-25 15:32 ` Berk Walker
0 siblings, 1 reply; 6+ messages in thread
From: Lewis Shobbrook @ 2005-08-26 1:21 UTC (permalink / raw)
To: Tyler; +Cc: linux-raid
On Thursday 25 August 2005 7:14 pm, you wrote:
> Fdisk it and set partitions to Raid Autodetect (0xfd) possibly?
>
> Tyler.
Nope already set fd....
> Lewis Shobbrook wrote:
> >Hi All,
> >I have a problem attempting to boot a raid 1 system from lilo. I have
> >succeeded at this many times in the past, but am completely stumped as to
> >what the issue is in this instance. I have the boot and root partitions
> >seperate on /dev/md0 & /dev/md1 respectively, both raid1.
> >The mdadm examination for the components is clean and the superblocks
> > appear as they ought. I'm using Debian unstable with std. apt
> > kernel-image. The correct modules are in place for the initrd.
> >The boot partition fails to mount during the boot process...
> >fsck.ext3: invalid argument while trying to open /dev/md0
> >The superblock can not be read or does not describe a correct ext2
> >filesystem.... omitted usual stuff...
> >Root password for maintenance or Control-D to continue...
> >
> >The bizarre thing is that it appears perfectly clean, I've re-zero'd the
> >superblocks and completely recreated the device, but the result is always
> > the same.
> >mdrun loads /dev/md0 in a clean state straight away and it mounts
> >cleanly. /dev/md1 is no problem.
> >mdadm -E of the components is clean, as is mdadm -d for the device.
> >My fstab & mtab are the same as systems running the same kernel that work
> >fine.
> >
> >I found the system laying around from about 12 months ago which had
> > originally been set-up using raidtools. I upgraded the system using
> > dist-upgrade installed mdadm; after zeroing all superblocks for both
> > drives and component partitions, I created the devices with the following
> > ...
> >
> >mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
> >reformatted ext3 and restored the files before adding the missing devices
> > and resyncing.
> >I'm stumped!
> >Anyone got any ideas?
> >
> >Cheers,
> >
> >Lewis
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 boot issues
[not found] ` <430D8333.9020606@ruisantos.com>
@ 2005-08-26 1:32 ` Lewis Shobbrook
2005-08-26 1:59 ` Lewis Shobbrook
0 siblings, 1 reply; 6+ messages in thread
From: Lewis Shobbrook @ 2005-08-26 1:32 UTC (permalink / raw)
To: Rui Santos, linux-raid
On Thursday 25 August 2005 6:37 pm, you wrote:
Thanks for the reply Rui,
> Hi Lewis,
>
> Are the boot sectors of your HD's clean? Or have you copied lilo
> onto them?
> If not, are you shure that both you md0 partitions are marked as
> bootable?
> Are the partitions marked 0xFD ?
The bootsectors are clean. The system boots fine it just won't mount /dev/md0
correctly during startup. What surprises me is that /dev/md1 mounts. Often
these type of problems are associated with the initrd modules, and result in
kernel panic earlier in the boot process. I'd expect that if one raid1
device is mounted then all required modules are present.
Hmmmm....
> Rui Santos
>
> Lewis Shobbrook wrote:
> >Hi All,
> >I have a problem attempting to boot a raid 1 system from lilo. I have
> >succeeded at this many times in the past, but am completely stumped as to
> >what the issue is in this instance. I have the boot and root partitions
> >seperate on /dev/md0 & /dev/md1 respectively, both raid1.
> >The mdadm examination for the components is clean and the superblocks
> > appear as they ought. I'm using Debian unstable with std. apt
> > kernel-image. The correct modules are in place for the initrd.
> >The boot partition fails to mount during the boot process...
> >fsck.ext3: invalid argument while trying to open /dev/md0
> >The superblock can not be read or does not describe a correct ext2
> >filesystem.... omitted usual stuff...
> >Root password for maintenance or Control-D to continue...
> >
> >The bizarre thing is that it appears perfectly clean, I've re-zero'd the
> >superblocks and completely recreated the device, but the result is always
> > the same.
> >mdrun loads /dev/md0 in a clean state straight away and it mounts
> >cleanly. /dev/md1 is no problem.
> >mdadm -E of the components is clean, as is mdadm -d for the device.
> >My fstab & mtab are the same as systems running the same kernel that work
> >fine.
> >
> >I found the system laying around from about 12 months ago which had
> > originally been set-up using raidtools. I upgraded the system using
> > dist-upgrade installed mdadm; after zeroing all superblocks for both
> > drives and component partitions, I created the devices with the following
> > ...
> >
> >mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
> >reformatted ext3 and restored the files before adding the missing devices
> > and resyncing.
> >I'm stumped!
> >Anyone got any ideas?
> >
> >Cheers,
> >
> >Lewis
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 boot issues
2005-08-26 1:32 ` Lewis Shobbrook
@ 2005-08-26 1:59 ` Lewis Shobbrook
0 siblings, 0 replies; 6+ messages in thread
From: Lewis Shobbrook @ 2005-08-26 1:59 UTC (permalink / raw)
To: linux-raid
On Friday 26 August 2005 11:32 am, you wrote:
Thanks for the help guys,
I've given up for now, cp'd the boot to the md1 device and reflagged the
partitions as bootable and just not mounting /dev/md0 anymore. It's most
probably some strange artefact from the raidtools & mkraid when the devices
were originally created. It's only a testing system. I've not deleted
the /dev/md0 just toggled the boot flags off for the hd[ac]1 partitions. All
the info should int theory still be present if anyone is curious to find out
more info about this.
> >
> > Are the boot sectors of your HD's clean? Or have you copied lilo
> > onto them?
> > If not, are you shure that both you md0 partitions are marked as
> > bootable?
> > Are the partitions marked 0xFD ?
>
> The bootsectors are clean. The system boots fine it just won't mount
> /dev/md0 correctly during startup. What surprises me is that /dev/md1
> mounts. Often these type of problems are associated with the initrd
> modules, and result in kernel panic earlier in the boot process. I'd
> expect that if one raid1 device is mounted then all required modules are
> present.
>
> Hmmmm....
>
> > Rui Santos
> >
> > Lewis Shobbrook wrote:
> > >Hi All,
> > >I have a problem attempting to boot a raid 1 system from lilo. I have
> > >succeeded at this many times in the past, but am completely stumped as
> > > to what the issue is in this instance. I have the boot and root
> > > partitions seperate on /dev/md0 & /dev/md1 respectively, both raid1.
> > >The mdadm examination for the components is clean and the superblocks
> > > appear as they ought. I'm using Debian unstable with std. apt
> > > kernel-image. The correct modules are in place for the initrd.
> > >The boot partition fails to mount during the boot process...
> > >fsck.ext3: invalid argument while trying to open /dev/md0
> > >The superblock can not be read or does not describe a correct ext2
> > >filesystem.... omitted usual stuff...
> > >Root password for maintenance or Control-D to continue...
> > >
> > >The bizarre thing is that it appears perfectly clean, I've re-zero'd the
> > >superblocks and completely recreated the device, but the result is
> > > always the same.
> > >mdrun loads /dev/md0 in a clean state straight away and it mounts
> > >cleanly. /dev/md1 is no problem.
> > >mdadm -E of the components is clean, as is mdadm -d for the device.
> > >My fstab & mtab are the same as systems running the same kernel that
> > > work fine.
> > >
> > >I found the system laying around from about 12 months ago which had
> > > originally been set-up using raidtools. I upgraded the system using
> > > dist-upgrade installed mdadm; after zeroing all superblocks for both
> > > drives and component partitions, I created the devices with the
> > > following ...
> > >
> > >mdadm -C /dev/md0 -l1 -n2 /dev/hda1 missing
> > >reformatted ext3 and restored the files before adding the missing
> > > devices and resyncing.
> > >I'm stumped!
> > >Anyone got any ideas?
> > >
> > >Cheers,
> > >
> > >Lewis
> > >
Lewis
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-26 1:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 9:03 raid1 boot issues Lewis Shobbrook
2005-08-25 9:14 ` Tyler
2005-08-26 1:21 ` Lewis Shobbrook
2005-08-25 15:32 ` Berk Walker
[not found] ` <430D8333.9020606@ruisantos.com>
2005-08-26 1:32 ` Lewis Shobbrook
2005-08-26 1:59 ` Lewis Shobbrook
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).