* 7.2 and software raid fails
@ 2002-06-19 21:39 Robert Williams
2002-06-19 21:57 ` Mark Hansel
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Robert Williams @ 2002-06-19 21:39 UTC (permalink / raw)
To: axp-list
As far as I can tell, 7.2 will not install
on a system (well, UP1000 system)
with software raid (md0,md1..) connected
anywhere to the system. I set a crash dump to
the list several days ago but it was just over
the 40 K limit and hasn't been approved.
I had to disconnect my raid disks, remove
/etc/raidtab, and comment the fstab entries
for the md devices before the installation would
proceed. The default kernel does load the raid0
driver (my setup), but /proc/mdstat shows no available
disks and raidstart does nothing.
Of course the raid partitions do not mount.
I built a kernel with raid included but I have
the same problem with that.
What is happening here? Any advise would be welcome.
Bob Williams
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 7.2 and software raid fails
2002-06-19 21:39 7.2 and software raid fails Robert Williams
@ 2002-06-19 21:57 ` Mark Hansel
2002-06-19 22:09 ` Bryce
2002-06-20 12:49 ` alvin
2 siblings, 0 replies; 5+ messages in thread
From: Mark Hansel @ 2002-06-19 21:57 UTC (permalink / raw)
To: axp-list
Do you have a non-raid system disk -- what is left when you disconnect the
raid disks?
Can you remove all traces of the raid setup -- backing up, of course,
install to the system disk, then do a manual fixup, then reboot?
(Approximately what I have done to deal with an ICP RAID card.)
On Wed, 19 Jun 2002, Robert Williams wrote:
> Date: Wed, 19 Jun 2002 17:39:11 -0400
> From: Robert Williams <bob@bob.usuhs.mil>
> Reply-To: axp-list@redhat.com
> To: axp-list@redhat.com
> Subject: 7.2 and software raid fails
>
> As far as I can tell, 7.2 will not install
> on a system (well, UP1000 system)
> with software raid (md0,md1..) connected
> anywhere to the system. I set a crash dump to
> the list several days ago but it was just over
> the 40 K limit and hasn't been approved.
>
> I had to disconnect my raid disks, remove
> /etc/raidtab, and comment the fstab entries
> for the md devices before the installation would
> proceed. The default kernel does load the raid0
> driver (my setup), but /proc/mdstat shows no available
> disks and raidstart does nothing.
> Of course the raid partitions do not mount.
>
> I built a kernel with raid included but I have
> the same problem with that.
>
> What is happening here? Any advise would be welcome.
>
> Bob Williams
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Mark Hansel
PO Box 41
Minnesota State University Moorhead
Moorhead, MN 56563
ph: 218-236-2039 fax: 218-236-2593
hansel@mnstate.edu
http://wwwcj.mnstate.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 7.2 and software raid fails
2002-06-19 21:39 7.2 and software raid fails Robert Williams
2002-06-19 21:57 ` Mark Hansel
@ 2002-06-19 22:09 ` Bryce
2002-06-20 12:49 ` alvin
2 siblings, 0 replies; 5+ messages in thread
From: Bryce @ 2002-06-19 22:09 UTC (permalink / raw)
To: axp-list
Robert Williams wrote:
> As far as I can tell, 7.2 will not install
> on a system (well, UP1000 system)
> with software raid (md0,md1..) connected
> anywhere to the system. I set a crash dump to
> the list several days ago but it was just over
> the 40 K limit and hasn't been approved.
>
> I had to disconnect my raid disks, remove
> /etc/raidtab, and comment the fstab entries
> for the md devices before the installation would
> proceed. The default kernel does load the raid0
> driver (my setup), but /proc/mdstat shows no available
> disks and raidstart does nothing.
> Of course the raid partitions do not mount.
>
> I built a kernel with raid included but I have
> the same problem with that.
>
> What is happening here? Any advise would be welcome.
You'll have to give a little more history of the creation of the FS for
me to help you. I'm making assumptions here like you paid attention to
the little piece in the RELEASE-NOTES in the top if the first CD image
that covers some of the basics like raid being available only on MSDOS
label disks as the partition type (0xfd) is not available on BSD label
systems.
Software raid does work I use raid0 on this system for speed rather than
reliability. What raid level are you using?
[copeland@vegeta copeland]$ uname -a
Linux vegeta.devel.redhat.com 2.4.9-32smp #1 SMP Fri May 17 17:16:16 EDT
2002 alpha unknown
[copeland@vegeta copeland]$ cat /proc/mdstat
Personalities : [raid0]
read_ahead 1024 sectors
md0 : active raid0 sdd1[2] sdc1[1] sdb1[0]
25100928 blocks 64k chunks
md1 : active raid0 sdd2[2] sdc2[1] sdb2[0]
25098048 blocks 64k chunks
md2 : active raid0 sdd3[2] sdc3[1] sdb3[0]
3145536 blocks 64k chunks
unused devices: <none>
[copeland@vegeta copeland]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md0 24706812 6824432 16627336 30% /
/dev/sda1 126931 37516 82862 32% /boot
/dev/md1 24703932 14016220 9432812 60% /mnt/build
none 8243032 0 8243032 0% /dev/shm
[copeland@vegeta copeland]$ cat /etc/raidtab
raiddev /dev/md0
raid-level 0
nr-raid-disks 3
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
device /dev/sdd1
raid-disk 2
raiddev /dev/md1
raid-level 0
nr-raid-disks 3
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sdb2
raid-disk 0
device /dev/sdc2
raid-disk 1
device /dev/sdd2
raid-disk 2
[root@vegeta root]# hdparm -tT /dev/md0
/dev/md0:
Timing buffer-cache reads: 128 MB in 0.18 seconds =701.32 MB/sec
Timing buffered disk reads: 64 MB in 0.61 seconds =104.49 MB/sec
[root@vegeta root]# hdparm -tT /dev/sda
/dev/sda:
Timing buffer-cache reads: 128 MB in 0.24 seconds =539.70 MB/sec
Timing buffered disk reads: 64 MB in 1.57 seconds = 40.72 MB/sec
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 7.2 and software raid fails
2002-06-19 21:39 7.2 and software raid fails Robert Williams
2002-06-19 21:57 ` Mark Hansel
2002-06-19 22:09 ` Bryce
@ 2002-06-20 12:49 ` alvin
2002-06-20 15:00 ` Robert Williams
2 siblings, 1 reply; 5+ messages in thread
From: alvin @ 2002-06-20 12:49 UTC (permalink / raw)
To: axp-list
Robert Williams wrote:
>
> As far as I can tell, 7.2 will not install
> on a system (well, UP1000 system)
> with software raid (md0,md1..) connected
> anywhere to the system. I set a crash dump to
> the list several days ago but it was just over
> the 40 K limit and hasn't been approved.
>
> I had to disconnect my raid disks, remove
> /etc/raidtab, and comment the fstab entries
> for the md devices before the installation would
> proceed. The default kernel does load the raid0
> driver (my setup), but /proc/mdstat shows no available
> disks and raidstart does nothing.
> Of course the raid partitions do not mount.
>
> I built a kernel with raid included but I have
> the same problem with that.
Just curious what version of kernel are you upgrading from? Raid from
the 2.2 kernels to the 2.4 kernels has an alignment bug.
I went through a similar situation and I ended up upgrading on the
partitions on one of the disks and then cleaning the partition table on
the second disk and bringing the system back up with a broken raid
system. I then did a raidhotadd to on the second disk. This works with
raid1. Not sure how I will deal with one system I have with raid5 yet.
--
Alvin Starr || voice: (416)785-4051
Interlink Connectivity || fax: (416)785-3668
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 7.2 and software raid fails
2002-06-20 12:49 ` alvin
@ 2002-06-20 15:00 ` Robert Williams
0 siblings, 0 replies; 5+ messages in thread
From: Robert Williams @ 2002-06-20 15:00 UTC (permalink / raw)
To: axp-list
Mark Hansel wrote:
>
> Do you have a non-raid system disk -- what is left when you disconnect the
> raid disks?
Yes. /dev/hda2 on / type ext3 and /dev/hda1 on /boot type ext3
> Can you remove all traces of the raid setup -- backing up, of course,
> install to the system disk, then do a manual fixup, then reboot?
I'm thinking that may be the only way to fix this problem.
I've already installed to the system disk after commenting all raid
stuff,
but I can still go back to 2.2.19 and see my raid parts.
I suppose I would have to run mkraid...after backing up.
..............................
Bryce wrote:
>
> You'll have to give a little more history of the creation of the FS for
> me to help you. I'm making assumptions here like you paid attention to
> the little piece in the RELEASE-NOTES in the top if the first CD image
> that covers some of the basics like raid being available only on MSDOS
> label disks as the partition type (0xfd) is not available on BSD label
> systems.
My raid0 partitions have always been 0xfd.
cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead not set
unused devices: <none>
.........................
alvin wrote:
> Just curious what version of kernel are you upgrading from? Raid from
> the 2.2 kernels to the 2.4 kernels has an alignment bug.
2.2.19 custom
> I went through a similar situation and I ended up upgrading on the
> partitions on one of the disks and then cleaning the partition table on
> the second disk and bringing the system back up with a broken raid
> system. I then did a raidhotadd to on the second disk. This works with
> raid1. Not sure how I will deal with one system I have with raid5 yet.
This is raid0, no critical stuff, so I suppose I could back it up to
another machine while running 2.2.19, boot to 2.4.9, reinitialize the
raid,
and restore the backup. Does this make sense, or is there any other
way around it?
>
> Robert Williams wrote:
> >
> > As far as I can tell, 7.2 will not install
> > on a system (well, UP1000 system)
> > with software raid (md0,md1..) connected
> > anywhere to the system. I set a crash dump to
> > the list several days ago but it was just over
> > the 40 K limit and hasn't been approved.
> >
> > I had to disconnect my raid disks, remove
> > /etc/raidtab, and comment the fstab entries
> > for the md devices before the installation would
> > proceed. The default kernel does load the raid0
> > driver (my setup), but /proc/mdstat shows no available
> > disks and raidstart does nothing.
> > Of course the raid partitions do not mount.
> >
> > I built a kernel with raid included but I have
> > the same problem with that.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-06-20 15:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-19 21:39 7.2 and software raid fails Robert Williams
2002-06-19 21:57 ` Mark Hansel
2002-06-19 22:09 ` Bryce
2002-06-20 12:49 ` alvin
2002-06-20 15:00 ` Robert Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox