Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* software raid
@ 2000-11-16 23:57 Robert Williams
  2000-11-17  1:14 ` Chai Mee Joon
  2000-11-17  3:23 ` Mike Tibor
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Williams @ 2000-11-16 23:57 UTC (permalink / raw)
  To: axp-list

I've been trying to get software raid working
on an UP1000.   With kernels 2.14 and 2.16,
I get the following.   What does this indicate
and is there a way around?

 [root@rw /etc]# /sbin/mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda1, 2088418kB, raid superblock at 2088320kB
disk 1: /dev/sdb1, 2088418kB, raid superblock at 2088320kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

[root@rw /etc]# /sbin/fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 522 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1       260   2088418+  fd  Linux raid autodetect
/dev/sda2           261       522   2104515   fd  Linux raid autodetect

Command (m for help): q

[root@rw /etc]# /sbin/fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 255 heads, 63 sectors, 522 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1       260   2088418+  fd  Linux raid autodetect
/dev/sdb2           261       522   2104515   fd  Linux raid autodetect

Command (m for help): q

[root@rw /etc]# cat /etc/raidtab
raiddev /dev/md0
        raid-level      0
        nr-raid-disks   2
        persistent-superblock   1
        chunk-size      4
        device          /dev/sda1
        raid-disk       0
        device          /dev/sdb1
        raid-disk       1

[root@rw /etc]# cat /proc/mdstat
Personalities: [2 raid0] [3 raid1]
read_ahead not set
md0: inactive
md1: inactive
md2: inactive
md3: inactive

and syslog shows nothing.

--
Bob Williams, http://bob.usuf2.usuhs.mil/






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

* Re: software raid
  2000-11-16 23:57 software raid Robert Williams
@ 2000-11-17  1:14 ` Chai Mee Joon
  2000-11-17  3:23 ` Mike Tibor
  1 sibling, 0 replies; 12+ messages in thread
From: Chai Mee Joon @ 2000-11-17  1:14 UTC (permalink / raw)
  To: axp-list

Hi Robert,


are you booting Linux off SRM using BDS disklabels or 
off MILO ?


Regards,

Chai Mee Joon, Lawrence <chaimj@singnet.com.sg>

4 Pandan Valley #14-413 Singapore 597628
Mobile: (+65) 98430098


On Thu, Nov 16, 2000 at 11:57:00PM +0000, Robert Williams wrote:
> I've been trying to get software raid working
> on an UP1000.   With kernels 2.14 and 2.16,
> I get the following.   What does this indicate
> and is there a way around?
>




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

* Re: software raid
  2000-11-16 23:57 software raid Robert Williams
  2000-11-17  1:14 ` Chai Mee Joon
@ 2000-11-17  3:23 ` Mike Tibor
  2000-11-17 13:22   ` Robert Williams
  1 sibling, 1 reply; 12+ messages in thread
From: Mike Tibor @ 2000-11-17  3:23 UTC (permalink / raw)
  To: axp-list

On Thu, 16 Nov 2000, Robert Williams wrote:

> I've been trying to get software raid working
> on an UP1000.   With kernels 2.14 and 2.16,
> I get the following.   What does this indicate
> and is there a way around?

Are you using the stock Red Hat kernel, or one that you built from
pristine sources?  If not the stock RH kernel, one of the raid patches
from http://people.redhat.com/mingo/raid-patches/ should be applied.

If you've already done the above, you might try doing a "raidstart
/dev/md0".  You shouldn't have to do that since you're using persistent
superblocks, but oddly enough that was the only thing that worked for me
in a similar situation using pristine 2.2.16+raid-2.2.16-A0 on a RH 6.1
box.

Mike
-- 
Mike Tibor         Univ. of Alaska Anchorage    (907) 786-1001 voice
Network Technician     Consortium Library         (907) 786-6050 fax
tibor@lib.uaa.alaska.edu       http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey  for PGP public key




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

* Re: software raid
  2000-11-17  3:23 ` Mike Tibor
@ 2000-11-17 13:22   ` Robert Williams
  2000-11-17 14:01     ` Alvin Starr
  2000-11-17 21:52     ` Robert Williams
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Williams @ 2000-11-17 13:22 UTC (permalink / raw)
  To: axp-list

Mike Tibor wrote:

> On Thu, 16 Nov 2000, Robert Williams wrote:
>
> > I've been trying to get software raid working
> > on an UP1000.   With kernels 2.14 and 2.16,
> > I get the following.   What does this indicate
> > and is there a way around?
>
> Are you using the stock Red Hat kernel, or one that you built from
> pristine sources?  If not the stock RH kernel, one of the raid patches
> from http://people.redhat.com/mingo/raid-patches/ should be applied.

pristine sources...   So these patches at redhat will apply
to 2.14 or 2.16?    I've tried patches available for software raid
from other sites, but they only go up to 2.11, and they didn't work
on 2.14.

> If you've already done the above, you might try doing a "raidstart
> /dev/md0".  You shouldn't have to do that since you're using persistent
> superblocks, but oddly enough that was the only thing that worked for me
> in a similar situation using pristine 2.2.16+raid-2.2.16-A0 on a RH 6.1
> box.

Thanks.   I'll give it a shot.

--
Bob Williams, http://bob.usuf2.usuhs.mil/






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

* Re: software raid
  2000-11-17 13:22   ` Robert Williams
@ 2000-11-17 14:01     ` Alvin Starr
  2000-11-17 21:52     ` Robert Williams
  1 sibling, 0 replies; 12+ messages in thread
From: Alvin Starr @ 2000-11-17 14:01 UTC (permalink / raw)
  To: axp-list

On Fri, 17 Nov 2000, Robert Williams wrote:

> Mike Tibor wrote:
> 
> > On Thu, 16 Nov 2000, Robert Williams wrote:
> >
> > > I've been trying to get software raid working
> > > on an UP1000.   With kernels 2.14 and 2.16,
> > > I get the following.   What does this indicate
> > > and is there a way around?
> >
> > Are you using the stock Red Hat kernel, or one that you built from
> > pristine sources?  If not the stock RH kernel, one of the raid patches
> > from http://people.redhat.com/mingo/raid-patches/ should be applied.
> 
> pristine sources...   So these patches at redhat will apply
> to 2.14 or 2.16?    I've tried patches available for software raid
> from other sites, but they only go up to 2.11, and they didn't work
> on 2.14.
> 
> > If you've already done the above, you might try doing a "raidstart
> > /dev/md0".  You shouldn't have to do that since you're using persistent
> > superblocks, but oddly enough that was the only thing that worked for me
> > in a similar situation using pristine 2.2.16+raid-2.2.16-A0 on a RH 6.1
> > box.
> 
> Thanks.   I'll give it a shot.

if you are booting from SRM and you need to have the raid auto-recognized
you will also have to patch the partition checking code. I posted a patch
before and do not think it has made it into the sources so if you need it
email me.

Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||




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

* Re: software raid
  2000-11-17 13:22   ` Robert Williams
  2000-11-17 14:01     ` Alvin Starr
@ 2000-11-17 21:52     ` Robert Williams
  1 sibling, 0 replies; 12+ messages in thread
From: Robert Williams @ 2000-11-17 21:52 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]

I now have software raid working,
but not without some problems getting there:
I tried the pristine 2.2.16 kernel with
the Red Hat patches and the Red Hat 2.2.16
kernel and in both cases I ran into problems
when booting because I had already made an
/etc/raidtab file.  This file should probably not
be there prior to running mkraid.
I had to rename /etc/raidtab to something  else,
reboot, reestablish /etc/raidtab, and then mkraid /dev/md0...
fdisk /dev/md0....mkfs...mount....

I'm using the RedHat 2.2.16 aright now.



Robert Williams wrote:

> Mike Tibor wrote:
>
> > On Thu, 16 Nov 2000, Robert Williams wrote:
> >
> > > I've been trying to get software raid working
> > > on an UP1000.
> >
> > Are you using the stock Red Hat kernel, or one that you built from
> > pristine sources?  If not the stock RH kernel, one of the raid patches
> > from http://people.redhat.com/mingo/raid-patches/ should be applied.
>
> pristine sources...   So these patches at redhat will apply
> to 2.14 or 2.16?    I've tried patches available for software raid
> from other sites, but they only go up to 2.11, and they didn't work
> on 2.14.
>
> > If you've already done the above, you might try doing a "raidstart
> > /dev/md0".  You shouldn't have to do that since you're using persistent
> > superblocks, but oddly enough that was the only thing that worked for me
> > in a similar situation using pristine 2.2.16+raid-2.2.16-A0 on a RH 6.1
> > box.
>
> Thanks.   I'll give it a shot.
>
> --
> Bob Williams, http://bob.usuf2.usuhs.mil/
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list

--
Robert Williams
http://bob.usuhs.mil/



[-- Attachment #2: Type: text/html, Size: 2209 bytes --]

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

* Software Raid
@ 2002-12-12 17:21 terry.bowling
  2002-12-12 17:27 ` Rich Payne
  2002-12-12 17:37 ` Software Raid alvin
  0 siblings, 2 replies; 12+ messages in thread
From: terry.bowling @ 2002-12-12 17:21 UTC (permalink / raw)
  To: axp-list

As you may have noticed, earlier this week I installed RH7.2 on a PWS600au.
I have 3 scsi drives.  Everything has been working well.

During the installation, I setup 2 of the disks in Software Raid0.  I was
not concerned with redundancy - only make the 2 drives look like 1 and I'm
formatting /dev/md0 as ext3.  However, I forgot to add swap at the
beginning of each drive during the installation.  So now I'm
repartitioning.

Questions
1.  When editing the BSD label using fdisk, type fd (linux software raid)
is not an option.  How was DiskDruid able to do this then?  How do I do it
now?

2.  Is there a way to use DiskDruid separate from the installer?  That gui
was very nice and idiot proof.

3.  Is there a better/easier way to make the two disks look like one?  I'm
accustomed to using ADVFS which I really like.  Too bak HP is not opening
that up like JFS and XFS.  Can ext3 span multiple drives?
----
Terry Bowling
Verizon NOTD Systems Support
260.461.3772





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

* Re: Software Raid
  2002-12-12 17:21 Software Raid terry.bowling
@ 2002-12-12 17:27 ` Rich Payne
  2002-12-12 18:13   ` Maurice Hilarius
                     ` (2 more replies)
  2002-12-12 17:37 ` Software Raid alvin
  1 sibling, 3 replies; 12+ messages in thread
From: Rich Payne @ 2002-12-12 17:27 UTC (permalink / raw)
  To: axp-list

On Thu, 12 Dec 2002 terry.bowling@verizon.com wrote:

> As you may have noticed, earlier this week I installed RH7.2 on a PWS600au.
> I have 3 scsi drives.  Everything has been working well.
>
> During the installation, I setup 2 of the disks in Software Raid0.  I was
> not concerned with redundancy - only make the 2 drives look like 1 and I'm
> formatting /dev/md0 as ext3.  However, I forgot to add swap at the
> beginning of each drive during the installation.  So now I'm
> repartitioning.
>
> Questions
> 1.  When editing the BSD label using fdisk, type fd (linux software raid)
> is not an option.  How was DiskDruid able to do this then?  How do I do it
> now?

Only your boot disk needs to be partitioned as BSD. There's nothing
stopping you from puting PC partition tables on the other two. Even though
fdisk in BSB mode doesn't list fd, I think you can enter it as the
partition type.

> 2.  Is there a way to use DiskDruid separate from the installer?  That gui
> was very nice and idiot proof.

Don't know, but I don't think so.

> 3.  Is there a better/easier way to make the two disks look like one?  I'm
> accustomed to using ADVFS which I really like.  Too bak HP is not opening
> that up like JFS and XFS.  Can ext3 span multiple drives?

Your other option would be LVM (Logical Volume Manager). Basically you can
take a set of physical volumes and make them into one logical volume. I'm
pretty sure there's a Howto for it, try a search at google.com.

--rdp


Rich Payne
http://talisman.mv.com
rdp at talisman dot mv dot com




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

* Re: Software Raid
  2002-12-12 17:21 Software Raid terry.bowling
  2002-12-12 17:27 ` Rich Payne
@ 2002-12-12 17:37 ` alvin
  1 sibling, 0 replies; 12+ messages in thread
From: alvin @ 2002-12-12 17:37 UTC (permalink / raw)
  To: axp-list

terry.bowling@verizon.com wrote:

>As you may have noticed, earlier this week I installed RH7.2 on a PWS600au.
>I have 3 scsi drives.  Everything has been working well.
>
>During the installation, I setup 2 of the disks in Software Raid0.  I was
>not concerned with redundancy - only make the 2 drives look like 1 and I'm
>formatting /dev/md0 as ext3.  However, I forgot to add swap at the
>beginning of each drive during the installation.  So now I'm
>repartitioning.
>
>Questions
>1.  When editing the BSD label using fdisk, type fd (linux software raid)
>is not an option.  How was DiskDruid able to do this then?  How do I do it
>now?
>
if you use a text base fdisk you can set the type to what ever value you 
want. I have done this a number of times.
The only problem is that the stock kernels do not know about automagic 
raid taging for bsd file systems.
There is a patch available to do this but it has not found it's way into 
the kernel.

>
>2.  Is there a way to use DiskDruid separate from the installer?  That gui
>was very nice and idiot proof.
>
>3.  Is there a better/easier way to make the two disks look like one?  I'm
>accustomed to using ADVFS which I really like.  Too bak HP is not opening
>that up like JFS and XFS.  Can ext3 span multiple drives?
>

you could flame up the LVM stuff but I believe that LVM assumes that if 
you are doing raid that it is happening at a lower level and LVM
deals more with slicing and dicing raid devices into larger/smaller 
logical volumes.

>----
>Terry Bowling
>Verizon NOTD Systems Support
>260.461.3772
>
>
>
>
>_______________________________________________
>Axp-list mailing list
>Axp-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/axp-list
>  
>


-- 
Alvin Starr                   ||   voice: (416)785-4051
Interlink Connectivity        ||   fax:   (416)785-3668
alvin@iplink.net              ||






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

* Re: Software Raid
  2002-12-12 17:27 ` Rich Payne
@ 2002-12-12 18:13   ` Maurice Hilarius
  2002-12-12 20:59   ` Michal Jaegermann
  2002-12-17 19:46   ` Linux Box Setup Problems, Please HELP Simran
  2 siblings, 0 replies; 12+ messages in thread
From: Maurice Hilarius @ 2002-12-12 18:13 UTC (permalink / raw)
  To: axp-list

With regards to your message at 10:27 AM 12/12/02, Rich Payne. Where you 
stated:
>On Thu, 12 Dec 2002 terry.bowling@verizon.com wrote:
>
> > As you may have noticed, earlier this week I installed RH7.2 on a PWS600au.
> > I have 3 scsi drives.  Everything has been working well.
> >
> > During the installation, I setup 2 of the disks in Software Raid0.  I was
> > not concerned with redundancy - only make the 2 drives look like 1 and I'm
> > formatting /dev/md0 as ext3.  However, I forgot to add swap at the
> > beginning of each drive during the installation.  So now I'm
> > repartitioning.
> >
> > Questions
> > 1.  When editing the BSD label using fdisk, type fd (linux software raid)
> > is not an option.  How was DiskDruid able to do this then?  How do I do it
> > now?
>
>Only your boot disk needs to be partitioned as BSD. There's nothing
>stopping you from puting PC partition tables on the other two. Even though
>fdisk in BSB mode doesn't list fd, I think you can enter it as the
>partition type.


The "fd" type is not strictly necessary. It just helps with some 
"automatic" stuff.



With our best regards,

Maurice W. Hilarius       Telephone: 01-780-456-9771
Hard Data Ltd.               FAX:       01-780-456-9772
11060 - 166 Avenue        mailto:maurice@harddata.com
Edmonton, AB, Canada      http://www.harddata.com/
    T5X 1Y3

Ask me about NAS and near-line storage




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

* Re: Software Raid
  2002-12-12 17:27 ` Rich Payne
  2002-12-12 18:13   ` Maurice Hilarius
@ 2002-12-12 20:59   ` Michal Jaegermann
  2002-12-17 19:46   ` Linux Box Setup Problems, Please HELP Simran
  2 siblings, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 2002-12-12 20:59 UTC (permalink / raw)
  To: axp-list

On Thu, Dec 12, 2002 at 12:27:45PM -0500, Rich Payne wrote:
> On Thu, 12 Dec 2002 terry.bowling@verizon.com wrote:
> 
> > 2.  Is there a way to use DiskDruid separate from the installer?  That gui
> > was very nice and idiot proof.
> 
> Don't know, but I don't think so.

Well, yes and no.   Sort of.  You can always run "update" from your
installation media and this will give you DiskDruid as well if you so
desire.  You do not really have to update anything.

DiskDruid  has its own opinions where to put things, often quite
unexpect ones, so I am not so sure if it is such "idiot proof" as
it may appear in the first moment.

Yes, it is possible to put any identifier on a partition.  List in
'fdisk' just shows some "well known".

   Michal




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

* Linux Box Setup Problems, Please HELP
  2002-12-12 17:27 ` Rich Payne
  2002-12-12 18:13   ` Maurice Hilarius
  2002-12-12 20:59   ` Michal Jaegermann
@ 2002-12-17 19:46   ` Simran
  2 siblings, 0 replies; 12+ messages in thread
From: Simran @ 2002-12-17 19:46 UTC (permalink / raw)
  To: axp-list

Hi Guys,

I am building a new system for linux and I am having some problems booting 
this system and was wondering if anyone has had similar problems.  When I 
power up the system it starts up for a few seconds and then shuts itself 
back down.  I don't get any power on the hard disk or the CDROM but I do 
see a LED come up on the onboard nic.  Could this be a memory problem? 
RAM?  

Any suggestions would be grately appreciated.

Thanks in advance,
Simran




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

end of thread, other threads:[~2002-12-17 19:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 17:21 Software Raid terry.bowling
2002-12-12 17:27 ` Rich Payne
2002-12-12 18:13   ` Maurice Hilarius
2002-12-12 20:59   ` Michal Jaegermann
2002-12-17 19:46   ` Linux Box Setup Problems, Please HELP Simran
2002-12-12 17:37 ` Software Raid alvin
  -- strict thread matches above, loose matches on Subject: below --
2000-11-16 23:57 software raid Robert Williams
2000-11-17  1:14 ` Chai Mee Joon
2000-11-17  3:23 ` Mike Tibor
2000-11-17 13:22   ` Robert Williams
2000-11-17 14:01     ` Alvin Starr
2000-11-17 21:52     ` Robert Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox