linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to get all disk geometry (logical/physical) equal for RAID5
@ 2002-09-07 13:15 Dieter Nützel
  2002-09-07 13:47 ` [reiserfs-list] " Dieter Nützel
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Nützel @ 2002-09-07 13:15 UTC (permalink / raw)
  To: Neil Brown; +Cc: Chris Mason, Linux RAID List, ReiserFS List

Hello Neil, Chris,

Sorry that I bother you but I'm under some hurry 'cause a school server 
crashed and I have to set it up over the weekend, again.
It had double disk fault in RAID5. The second disk show the damage during 
RAID5 reconstruction ;-(
So I changed all 4 disks with another brand and put a fifth one as spare in.

hda (the spare) is on the on board VIA 686b controller and show some "bad" 
logical numbers so that I get a different partition layout.

hde and hdg are on the on board HPT 370
hdi and hdk are on an additional HPT 370A IDE card

hdb is for installation only

Any chance to change the logical disk layout of hda?

Second to you and Chris:
Is it possible to boot from the mirrored RAID1 partitions (hdX10) with the 
current lilo-22.x (SuSE 8.0)? With ReiserFS?

Thank you much!

-Dieter

Festplatte /dev/hdk: 16 Köpfe, 63 Sektoren, 77545 Zylinder
Einheiten: Zylinder mit 1008 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hdk1             1     14564   7340224+  fd  Linux raid autodetect
/dev/hdk2         14565     20806   3145968   fd  Linux raid autodetect
/dev/hdk3         20807     20949     72072   fd  Linux raid autodetect
/dev/hdk4         20950     77545  28524384    5  Erweiterte
/dev/hdk5         20950     27191   3145936+  fd  Linux raid autodetect
/dev/hdk6         27192     41755   7340224+  fd  Linux raid autodetect
/dev/hdk7         41756     56319   7340224+  fd  Linux raid autodetect
/dev/hdk8         56320     64642   4194760+  fd  Linux raid autodetect
/dev/hdk9         64643     72965   4194760+  fd  Linux raid autodetect
/dev/hdk10        72966     73006     20632+  83  Linux
/dev/hdk11        73007     77545   2287624+  83  Linux

Festplatte /dev/hdi: 16 Köpfe, 63 Sektoren, 77545 Zylinder
Einheiten: Zylinder mit 1008 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hdi1             1     14564   7340224+  fd  Linux raid autodetect
/dev/hdi2         14565     20806   3145968   fd  Linux raid autodetect
/dev/hdi3         20807     20949     72072   fd  Linux raid autodetect
/dev/hdi4         20950     77545  28524384    5  Erweiterte
/dev/hdi5         20950     27191   3145936+  fd  Linux raid autodetect
/dev/hdi6         27192     41755   7340224+  fd  Linux raid autodetect
/dev/hdi7         41756     56319   7340224+  fd  Linux raid autodetect
/dev/hdi8         56320     64642   4194760+  fd  Linux raid autodetect
/dev/hdi9         64643     72965   4194760+  fd  Linux raid autodetect
/dev/hdi10        72966     73006     20632+  83  Linux
/dev/hdi11        73007     77545   2287624+  83  Linux

Festplatte /dev/hdg: 16 Köpfe, 63 Sektoren, 77545 Zylinder
Einheiten: Zylinder mit 1008 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hdg1             1     14564   7340224+  fd  Linux raid autodetect
/dev/hdg2         14565     20806   3145968   fd  Linux raid autodetect
/dev/hdg3         20807     20949     72072   fd  Linux raid autodetect
/dev/hdg4         20950     77545  28524384    5  Erweiterte
/dev/hdg5         20950     27191   3145936+  fd  Linux raid autodetect
/dev/hdg6         27192     41755   7340224+  fd  Linux raid autodetect
/dev/hdg7         41756     56319   7340224+  fd  Linux raid autodetect
/dev/hdg8         56320     64642   4194760+  fd  Linux raid autodetect
/dev/hdg9         64643     72965   4194760+  fd  Linux raid autodetect
/dev/hdg10        72966     73006     20632+  83  Linux
/dev/hdg11        73007     77545   2287624+  83  Linux

Festplatte /dev/hde: 16 Köpfe, 63 Sektoren, 77545 Zylinder
Einheiten: Zylinder mit 1008 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hde1             1     14564   7340224+  fd  Linux raid autodetect
/dev/hde2         14565     20806   3145968   fd  Linux raid autodetect
/dev/hde3         20807     20949     72072   fd  Linux raid autodetect
/dev/hde4         20950     77545  28524384    5  Erweiterte
/dev/hde5         20950     27191   3145936+  fd  Linux raid autodetect
/dev/hde6         27192     41755   7340224+  fd  Linux raid autodetect
/dev/hde7         41756     56319   7340224+  fd  Linux raid autodetect
/dev/hde8         56320     64642   4194760+  fd  Linux raid autodetect
/dev/hde9         64643     72965   4194760+  fd  Linux raid autodetect
/dev/hde10        72966     73006     20632+  83  Linux
/dev/hde11        73007     77545   2287624+  83  Linux

Festplatte /dev/hda: 255 Köpfe, 63 Sektoren, 4865 Zylinder
Einheiten: Zylinder mit 16065 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hda2   *         1      4865  39078081   83  Linux

Festplatte /dev/hdb: 128 Köpfe, 63 Sektoren, 620 Zylinder
Einheiten: Zylinder mit 8064 * 512 Bytes

    Gerät boot.  Anfang      Ende    Blöcke   Id  Dateisystemtyp
/dev/hdb1             1       620   2499808+  83  Linux

-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de (replace at with @)

-
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] 3+ messages in thread

* Re: [reiserfs-list] How to get all disk geometry (logical/physical) equal for RAID5
  2002-09-07 13:15 How to get all disk geometry (logical/physical) equal for RAID5 Dieter Nützel
@ 2002-09-07 13:47 ` Dieter Nützel
  2002-09-07 16:37   ` Oleg Drokin
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Nützel @ 2002-09-07 13:47 UTC (permalink / raw)
  To: Neil Brown; +Cc: Chris Mason, Linux RAID List, ReiserFS List

On Saturday 07 September 2002 15:15, Dieter Nützel wrote:
> Hello Neil, Chris,
>
> Sorry that I bother you but I'm under some hurry 'cause a school server
> crashed and I have to set it up over the weekend, again.
> It had double disk fault in RAID5. The second disk show the damage during
> RAID5 reconstruction ;-(
> So I changed all 4 disks with another brand and put a fifth one as spare
> in.
>
> hda (the spare) is on the on board VIA 686b controller and show some "bad"
> logical numbers so that I get a different partition layout.
>
> hde and hdg are on the on board HPT 370
> hdi and hdk are on an additional HPT 370A IDE card
>
> hdb is for installation only
>
> Any chance to change the logical disk layout of hda?
>
> Second to you and Chris:
> Is it possible to boot from the mirrored RAID1 partitions (hdX10) with the
> current lilo-22.x (SuSE 8.0)? With ReiserFS?

Addition:

Should I better skip all the partitions on the volumes and stay only with the 
"raw" devices (maybe only hdX1) and create the partitions on the RAID5 array 
(something like md0pXXX and maybe md1 for a RAID1 boot device (the lilo 
thing))?

Is ReiserFS usable on such a system, too?
On my former "layout" it works so far and had for nearly a year.

My cylinder layout and boot question stays.

Which scheme should I use when LVM steps in?
LVM -> RAID5 -> partitions
or
RAID5 -> LVM -> partitions

Sorry for the "little" OT.

Regards,
	Dieter


-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de (replace at with @)
-
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] 3+ messages in thread

* Re: How to get all disk geometry (logical/physical) equal for RAID5
  2002-09-07 13:47 ` [reiserfs-list] " Dieter Nützel
@ 2002-09-07 16:37   ` Oleg Drokin
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Drokin @ 2002-09-07 16:37 UTC (permalink / raw)
  To: Dieter N?tzel; +Cc: Neil Brown, Chris Mason, Linux RAID List, ReiserFS List

Hello!

On Sat, Sep 07, 2002 at 03:47:59PM +0200, Dieter N?tzel wrote:

> > hda (the spare) is on the on board VIA 686b controller and show some "bad"
> > logical numbers so that I get a different partition layout.

Different from what?
You can use dd to copy partition table with right layout.
Also 1st IDE disk is usually threated a bit different by partition code in order
to be compatible with BIOS boot logic. If that's your problem,
you can specify right geometry from "kernel command line" (append= in lilo)

> > Second to you and Chris:
> > Is it possible to boot from the mirrored RAID1 partitions (hdX10) with the
> > current lilo-22.x (SuSE 8.0)? With ReiserFS?

Should be no problem.
Lilo does not depend on filesystem at all, it only records disk block numbers.

It is unclear if you will be able to boot if first disk of mirrored set will
fail, because you usually have lilo only on one of the disks, but if lilo is
located on 3rd disk, then this will only work if you remove failed raid1 disk
and second disk will get same bios id as first one had. (note I am not quite
sure here, but it shold work this way. Also there might be a way to tell
lilo about RAID1 setups but I've never saw this myself).

> Is ReiserFS usable on such a system, too?

Reiserfs is usable on any block device that correctly works from reiserfs
perspective. (e.g. loop devices over samba do not work).

Bye,
    Oleg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-07 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 13:15 How to get all disk geometry (logical/physical) equal for RAID5 Dieter Nützel
2002-09-07 13:47 ` [reiserfs-list] " Dieter Nützel
2002-09-07 16:37   ` Oleg Drokin

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).