Heinz Mauelshagen | 11 Apr 2005 20:14
Picon
Favicon

*** Announcement: dmraid 1.0.0.rc7 ***


               *** Announcement: dmraid 1.0.0.rc7 ***

dmraid 1.0.0.rc7 is available at
http://people.redhat.com:/heinzm/sw/dmraid/ in source tarball,
source rpm and i386 rpms (shared, static and dietlibc).

This release fixes size bugs with Highpoint and Promise RAID1 sets.

dmraid (Device-Mapper Raid tool) discovers, [de]activates and displays
properties of software RAID sets (i.e. ATARAID) and contained DOS
partitions using the device-mapper runtime of the 2.6 kernel.

The following ATARAID types are supported on Linux 2.6:

Highpoint HPT37X
Highpoint HPT45X
Intel Software RAID
LSI Logic MegaRAID
NVidia NForce
Promise FastTrack
Silicon Image Medley
VIA Software RAID

Please provide insight to support those metadata formats completely.

Thanks.

See files README and CHANGELOG, which come with the source tarball for
prerequisites to run this software, further instructions on installing
(Continue reading)

Erik Agsjö | 17 Apr 2005 19:59

SIL device names keep changing

I'm successfully running a SIL 3112 dmraid mirrored configuration since
months, but I have just recently started using the mirror from Windows.

I started out using a home-brewed initrd setup on linuxfromscratch and
then switched to gentoo using gerte's excellent livecd and init scripts.

Now, each time I boot linux after having run a Windows (XP) session, the
device names have changed! I can manage to get everything up and running
by using the provided shell and figuring out the new boot device name,
then fixing fstab and grub.conf afterwards.

I have found out that the sil incarnation_no seems to increase by two
everytime I run Windows. What is the incarnation_no used for, and why is
it used to create the device name?

/Erik
Manu Linux Lookit | 19 Apr 2005 18:50
Face

SIS180 raid under Fedora core 3 : please convert it to SG_IO

Hi,

i'm inderested by doing RAID under my server.

I've got a SIS180 card on my motherboard.

I've configured the bios SIS180 with RAID0 for my 2 ide hard drives.

I'm go under my FC3 ( 770kernel ) :

they are reconized as 2 differents HD under linux.

i must use then dmraid to do the RAID 0.

when i launch the activation command : "dmraid -ay sil"

#dmraid -ay sil
No Software RAID disks
#

the dmraid software send me the message in DMESG command :
program dmraid is using a deprecated SCSI ioctl, please convert it to SG_IO

i don't really understand the message.

Any help will be welcome ...

Best regards
Manu
(Continue reading)

Dick | 20 Apr 2005 13:08
Picon

dmraid works with my TX-2000

Hi All,

Since dmraid-1.0.0_rc7 I've got my Promise TX 2000 mirror online in linux-2.6, 
and it all seems fine.

I've also switched to udev, which brought some problems, what is the preferred 
way to get the device nodes from initrd its /dev/mapper to the 
root /dev/mapper? Rerunning dmraid -ay doesn't seem to work, any tips on 
this?

Greetings,
Dick
_______________________________________________
Ataraid-list mailing list
Ataraid-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/ataraid-list
Molle Bestefich | 20 Apr 2005 18:57
Picon

Re: dmraid works with my TX-2000

Dick wrote:
> I've also switched to udev, which brought some problems, what is the preferred
> way to get the device nodes from initrd its /dev/mapper to the
> root /dev/mapper? Rerunning dmraid -ay doesn't seem to work, any tips on
> this?

Good question, I was wondering myself.

I used my own modified version of Gerte's dmraidinitrd to create the
initrd - basically just added some device nodes for hdi and hdk and
removed all the compilation stuff.

I also modified Gerte's linuxrc and Gentoo's /sbin/rc.  Probably only
useful if you're running Gentoo, don't know if this will apply
anywhere else.

I modified linuxrc to copy the device-mapper nodes from the initrd
filesystem (where dmraid "created" them) to the "static" /dev, eg. a
/dev/mapper folder in the root filesystem (line 163, just before
pivot()'ing):

echo -e "${GOOD}>>${NORMAL}${BOLD} Copying device-mapper nodes...${NORMAL}"
rm -rf /newroot/dev/mapper
mkdir /newroot/dev/mapper
cp -dpr /dev/mapper/* /newroot/dev/mapper/


Also, I modified Gentoo's /sbin/rc script to save the device-mapper
nodes before it mounts udev and restore them afterwards (line 184):

(Continue reading)

Dick | 20 Apr 2005 19:30
Picon

Re: dmraid works with my TX-2000

> I also modified Gerte's linuxrc and Gentoo's /sbin/rc.  Probably only
> useful if you're running Gentoo, don't know if this will apply
> anywhere else.
I'm also running running Gentoo Linux, it applies to me ;-)

> I modified linuxrc to copy the device-mapper nodes from the initrd
> filesystem (where dmraid "created" them) to the "static" /dev, eg. a
> /dev/mapper folder in the root filesystem (line 163, just before
> pivot()'ing):
>
> echo -e "${GOOD}>>${NORMAL}${BOLD} Copying device-mapper nodes...${NORMAL}"
> rm -rf /newroot/dev/mapper
> mkdir /newroot/dev/mapper
> cp -dpr /dev/mapper/* /newroot/dev/mapper/
I thought about that, but I don't like the "newroot" to be mounted read/write 
during initrd-time :(

> Also, I modified Gentoo's /sbin/rc script to save the device-mapper
> nodes before it mounts udev and restore them afterwards (line 184):
I don't like hacking /sbin/rc ;-) ... And I think this stuff is udev's 
resposibility, isn't it possible to learn udev to do the trick?

> Works like a charm.
I believe that! :) ... I'm really suprised to see someone got through the same 
initrd hell as me ;-)

I've wrote a new linuxrc inspired by Gerte's linuxrc, simplified and less 
external binaries needed:
#######################################
#!/bin/bash
(Continue reading)

Molle Bestefich | 20 Apr 2005 21:42
Picon

Re: dmraid works with my TX-2000

> I'm also running running Gentoo Linux, it applies to me ;-)
Whee!  Much rejoice :-).

> > I modified linuxrc to copy the device-mapper nodes from the initrd
> > filesystem (where dmraid "created" them) to the "static" /dev
> I thought about that, but I don't like the "newroot" to be mounted read/write
> during initrd-time :(

Hm?
Please enlighten me.  Why is that bad?

Just diffed my linuxrc against Gerte's, he does the same thing.
Which reminds me, I get a message on every boot up saying that
"reiserfs assumes mounted read-only, skipping journal playback".  I
wonder...

(I also get "attempt to access beyond end of device" and
"ichxrom_init_one(): Unable to register resource 0xffb00000-0xffffffff
- kernel bug?", but that's a whole other discussion.  Humn =)).

> > Also, I modified Gentoo's /sbin/rc script to save the device-mapper
> > nodes before it mounts udev and restore them afterwards (line 184):
> I don't like hacking /sbin/rc ;-) ... And I think this stuff is udev's
> resposibility, isn't it possible to learn udev to do the trick?

Good question.  No idea how udev works :-(.

> > Works like a charm.
> I believe that! :) ... I'm really suprised to see someone got through the same
> initrd hell as me ;-)
(Continue reading)

ben morse | 21 Apr 2005 06:45

raid 0 with 3 drives doesn't work

I already emaild this to Heinz, but I can't get raid 0 to work on my 
machine with 3 devices.  It works just fine with 2, but not with 3.   
When I setup 3 devices, the stride gets read totally wrong, and I get 
the error:
ERROR: dos: reading /dev/mapper/nvidia_bhddebdb[Device or resource busy]

So I don't know, it seems like this would be a simple fix, but I don't 
much about C, so just letting you know.  Thanks for the awesome program.
-ben
Heinz Mauelshagen | 21 Apr 2005 10:13
Picon
Favicon

Re: raid 0 with 3 drives doesn't work

On Wed, Apr 20, 2005 at 09:45:47PM -0700, ben morse wrote:
> I already emaild this to Heinz, but I can't get raid 0 to work on my 
> machine with 3 devices.  It works just fine with 2, but not with 3.   
> When I setup 3 devices, the stride gets read totally wrong, and I get 
> the error:
> ERROR: dos: reading /dev/mapper/nvidia_bhddebdb[Device or resource busy]
> 
> So I don't know, it seems like this would be a simple fix, but I don't 
> much about C, so just letting you know.  Thanks for the awesome program.
> -ben

Ben,

I had another stride size related report this week and fixed a related bug
which is likely to address your issue as well.
Will get another dmraid release with that fix out next week.

> 
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list <at> redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

--

-- 

Regards,
Heinz    -- The LVM Guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

(Continue reading)

Heinz Mauelshagen | 21 Apr 2005 10:18
Picon
Favicon

Re: SIS180 raid under Fedora core 3 : please convert it to SG_IO

On Tue, Apr 19, 2005 at 06:50:59PM +0200, Manu Linux Lookit wrote:
> Hi,
> 
> i'm inderested by doing RAID under my server.
> 
> I've got a SIS180 card on my motherboard.
> 
> I've configured the bios SIS180 with RAID0 for my 2 ide hard drives.
> 
> I'm go under my FC3 ( 770kernel ) :
> 
> they are reconized as 2 differents HD under linux.

Can you access their devnodes (eg, mke2fs /dev/hdc) ok ?

> 
> i must use then dmraid to do the RAID 0.
> 
> when i launch the activation command : "dmraid -ay sil"
> 
> #dmraid -ay sil
> No Software RAID disks
> #

What do 'dmraid -vvv -b' and 'dmraid -r -vvv' show ?

> 
> the dmraid software send me the message in DMESG command :
> program dmraid is using a deprecated SCSI ioctl, please convert it to SG_IO

(Continue reading)


Gmane