* Root RAID0 on Alpha
@ 2002-07-09 21:15 Darren Dupre
2002-07-09 21:43 ` Falk Hueffner
2002-07-09 21:52 ` alvin
0 siblings, 2 replies; 8+ messages in thread
From: Darren Dupre @ 2002-07-09 21:15 UTC (permalink / raw)
To: axp-list
Hello,
I have two 4.3GB SCSI drives that I would like to configure as a software
RAID-0 device.
This does not seem possible since SRM requries BSD disklabels and since
software RAID wont work with BSD disklabels.
Is there any solution? Would using MILO support booting from normal DOS
partitions (that the RAID driver requires)?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:15 Root RAID0 on Alpha Darren Dupre
@ 2002-07-09 21:43 ` Falk Hueffner
2002-07-09 21:51 ` Darren Dupre
2002-07-09 21:55 ` Darren Dupre
2002-07-09 21:52 ` alvin
1 sibling, 2 replies; 8+ messages in thread
From: Falk Hueffner @ 2002-07-09 21:43 UTC (permalink / raw)
To: axp-list
"Darren Dupre" <darrendupre@houston.rr.com> writes:
> I have two 4.3GB SCSI drives that I would like to configure as a
> software RAID-0 device.
>
> This does not seem possible since SRM requries BSD disklabels and since
> software RAID wont work with BSD disklabels.
It does, just the autodetection won't work. So your root partition
would have to be non-RAID, but all other data could. I'm currently
using that setup.
> Is there any solution? Would using MILO support booting from normal DOS
> partitions (that the RAID driver requires)?
MILO certainly supports DOS partitions, after all, it was designed for
dual boot with Windows NT. I don't think it can load a kernel from a
raid, though, so you'd have to copy it onto the FAT partition.
I'd advise to use SRM though, as it provides better PAL-Codes to
Linux.
--
Falk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:43 ` Falk Hueffner
@ 2002-07-09 21:51 ` Darren Dupre
2002-07-09 21:54 ` Falk Hueffner
2002-07-09 21:55 ` Darren Dupre
1 sibling, 1 reply; 8+ messages in thread
From: Darren Dupre @ 2002-07-09 21:51 UTC (permalink / raw)
To: axp-list
Thanks for your reply regarding MILO.
I would like to use SRM too.. but SRM wont boot off of anything other than
something with BSD partitions. The Linux raid driver doesn't work with BSD
disklabels though, which is the problem I have here..
The machine in question is a AlphaServer 1000A 5/400 RM. I think it has
version 7.8 of the SRM console.
Is there any fesiable way to do this on Alpha? Also, what exactly are the
advantages of "better PAL codes"?
----- Original Message -----
From: "Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de>
To: <axp-list@redhat.com>
Sent: Tuesday, July 09, 2002 4:43 PM
Subject: Re: Root RAID0 on Alpha
> "Darren Dupre" <darrendupre@houston.rr.com> writes:
>
> > I have two 4.3GB SCSI drives that I would like to configure as a
> > software RAID-0 device.
> >
> > This does not seem possible since SRM requries BSD disklabels and since
> > software RAID wont work with BSD disklabels.
>
> It does, just the autodetection won't work. So your root partition
> would have to be non-RAID, but all other data could. I'm currently
> using that setup.
>
> > Is there any solution? Would using MILO support booting from normal DOS
> > partitions (that the RAID driver requires)?
>
> MILO certainly supports DOS partitions, after all, it was designed for
> dual boot with Windows NT. I don't think it can load a kernel from a
> raid, though, so you'd have to copy it onto the FAT partition.
>
> I'd advise to use SRM though, as it provides better PAL-Codes to
> Linux.
>
> --
> Falk
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:15 Root RAID0 on Alpha Darren Dupre
2002-07-09 21:43 ` Falk Hueffner
@ 2002-07-09 21:52 ` alvin
2002-07-09 21:56 ` Darren Dupre
1 sibling, 1 reply; 8+ messages in thread
From: alvin @ 2002-07-09 21:52 UTC (permalink / raw)
To: axp-list
Darren Dupre wrote:
>
> Hello,
>
> I have two 4.3GB SCSI drives that I would like to configure as a software
> RAID-0 device.
>
> This does not seem possible since SRM requries BSD disklabels and since
> software RAID wont work with BSD disklabels.
>
> Is there any solution? Would using MILO support booting from normal DOS
> partitions (that the RAID driver requires)?
This is not exactly true. I have a patch to the kernel that will allow
the partitions to be tagged and used for raid.
I have sent it off to our friends at RH and hopefully it will get into
some kernel release in the future.
--
Alvin Starr || voice: (416)785-4051
Interlink Connectivity || fax: (416)785-3668
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:51 ` Darren Dupre
@ 2002-07-09 21:54 ` Falk Hueffner
0 siblings, 0 replies; 8+ messages in thread
From: Falk Hueffner @ 2002-07-09 21:54 UTC (permalink / raw)
To: axp-list
"Darren Dupre" <darrendupre@houston.rr.com> writes:
> I would like to use SRM too.. but SRM wont boot off of anything
> other than something with BSD partitions. The Linux raid driver
> doesn't work with BSD disklabels though, which is the problem I have
> here..
Why would you think so? It works fine here. The RAID-layer can use
pretty much any block device.
--
Falk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:43 ` Falk Hueffner
2002-07-09 21:51 ` Darren Dupre
@ 2002-07-09 21:55 ` Darren Dupre
1 sibling, 0 replies; 8+ messages in thread
From: Darren Dupre @ 2002-07-09 21:55 UTC (permalink / raw)
To: axp-list
Sorry, I missed the part about having a non-RAID root partition.
How would I get /var /usr and all of the other directories mounted? I don't
want seperate /var and /usr partitions.. I would like to have all of these
on one big RAID partition.. if thats possible..
----- Original Message -----
From: "Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de>
To: <axp-list@redhat.com>
Sent: Tuesday, July 09, 2002 4:43 PM
Subject: Re: Root RAID0 on Alpha
> "Darren Dupre" <darrendupre@houston.rr.com> writes:
>
> > I have two 4.3GB SCSI drives that I would like to configure as a
> > software RAID-0 device.
> >
> > This does not seem possible since SRM requries BSD disklabels and since
> > software RAID wont work with BSD disklabels.
>
> It does, just the autodetection won't work. So your root partition
> would have to be non-RAID, but all other data could. I'm currently
> using that setup.
>
> > Is there any solution? Would using MILO support booting from normal DOS
> > partitions (that the RAID driver requires)?
>
> MILO certainly supports DOS partitions, after all, it was designed for
> dual boot with Windows NT. I don't think it can load a kernel from a
> raid, though, so you'd have to copy it onto the FAT partition.
>
> I'd advise to use SRM though, as it provides better PAL-Codes to
> Linux.
>
> --
> Falk
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:52 ` alvin
@ 2002-07-09 21:56 ` Darren Dupre
2002-07-09 22:09 ` alvin
0 siblings, 1 reply; 8+ messages in thread
From: Darren Dupre @ 2002-07-09 21:56 UTC (permalink / raw)
To: axp-list
Is your patch for 2.4.18?
Where may I download it?
Thanks.
----- Original Message -----
From: "alvin" <alvin@iplink.net>
To: <axp-list@redhat.com>
Sent: Tuesday, July 09, 2002 4:52 PM
Subject: Re: Root RAID0 on Alpha
> This is not exactly true. I have a patch to the kernel that will allow
> the partitions to be tagged and used for raid.
>
> I have sent it off to our friends at RH and hopefully it will get into
> some kernel release in the future.
>
> --
> Alvin Starr || voice: (416)785-4051
> Interlink Connectivity || fax: (416)785-3668
> alvin@iplink.net ||
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Root RAID0 on Alpha
2002-07-09 21:56 ` Darren Dupre
@ 2002-07-09 22:09 ` alvin
0 siblings, 0 replies; 8+ messages in thread
From: alvin @ 2002-07-09 22:09 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
Darren Dupre wrote:
>
> Is your patch for 2.4.18?
>
> Where may I download it?
you will find it attached. It is not a big patch. A few caviats
1)srm and aboot do not know about raid partitions so you will need a
/boot that is non raided or raid1.
2) I build a kernel with the raid drivers installed but I think it can
be done with an initrd.
3) The installer is too stupid to allow raid installs so you will likely
have to do an install to a seperate disk and then copy things around.
--
Alvin Starr || voice: (416)785-4051
Interlink Connectivity || fax: (416)785-3668
alvin@iplink.net ||
[-- Attachment #2: 2.4.raidpatch --]
[-- Type: application/octet-stream, Size: 1064 bytes --]
*** linux.orig/fs/partitions/osf.c Mon Oct 1 23:03:26 2001
--- linux/fs/partitions/osf.c Wed Apr 10 16:07:18 2002
***************
*** 15,24 ****
--- 15,29 ----
#include <linux/blk.h>
#include "check.h"
#include "osf.h"
+ #if CONFIG_BLK_DEV_MD
+ extern void md_autodetect_dev(kdev_t dev);
+ #endif
+
+
int osf_partition(struct gendisk *hd, struct block_device *bdev,
unsigned long first_sector, int current_minor)
{
int i;
Sector sect;
***************
*** 76,85 ****
--- 81,97 ----
break;
if (le32_to_cpu(partition->p_size))
add_gd_partition(hd, current_minor,
first_sector+le32_to_cpu(partition->p_offset),
le32_to_cpu(partition->p_size));
+ #if CONFIG_BLK_DEV_MD
+ if (le32_to_cpu(partition->p_fstype) == LINUX_RAID_PARTITION) {
+ printk("add md device %d %d",hd->major,current_minor);
+ md_autodetect_dev(MKDEV(hd->major,current_minor));
+ }
+ #endif
+
current_minor++;
}
printk("\n");
put_dev_sector(sect);
return 1;
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-07-09 22:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-09 21:15 Root RAID0 on Alpha Darren Dupre
2002-07-09 21:43 ` Falk Hueffner
2002-07-09 21:51 ` Darren Dupre
2002-07-09 21:54 ` Falk Hueffner
2002-07-09 21:55 ` Darren Dupre
2002-07-09 21:52 ` alvin
2002-07-09 21:56 ` Darren Dupre
2002-07-09 22:09 ` alvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox