Skip to contentSkip to conversation

*** Announcement: dmraid 1.0.0.rc10 ***

DISCUSSION Heinz Mauelshagen 2 participants 3 messages Feb 17, 2006 – Feb 22, 2006

lore
Share & tools
lore
#0 lore raw
               *** Announcement: dmraid 1.0.0.rc10 ***

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

This release adds support for Adaptec HostRAID and JMicron JMB36X (see CHANGELOG below for more information).

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:

Adaptec HostRAID ASR
Highpoint HPT37X
Highpoint HPT45X
Intel Software RAID
JMicron JMB36X
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, which comes with the source tarball for prerequisites to run this software, further instructions on installing and using dmraid!

Call for testers:
-----------------

I need testers with the above ATARAID types, to check that the mapping created by this tool is correct (see options "-t -ay") and access to the ATARAID data is proper.

In case you have a different ATARAID solution from those listed above, please feel free to contact me about supporting it in dmraid.

You can activate your ATARAID sets without danger of overwriting your metadata, because dmraid accesses it read-only unless you use option -E together with -r in order to erase ATARAID metadata (see 'man dmraid')!

This is a release candidate version so you want to have backups of your valuable data *and* you want to test accessing your data read-only first in order to make sure that the mapping is correct before you go for read-write access.

Contacts:
---------

The author is reachable at <[email protected]>.

For test results, mapping information, discussions, questions, patches, enhancement requests and the like, please subscribe and mail to <[email protected]>.

--

Regards,
Heinz -- The LVM Guy --

Changelog from dmraid 1.0.0.rc9 to 1.0.0.rc10 2006.02.17

FIXES:
------
o metadata.c: want_set() didn't drop sets properly
(eg, jmicron_raid10 wanted and jmicron_raid1 not dropped)

o scsi.c: avoid retrieving too much data (Al Viro)

o sil.h: magic number fix (some arrays were not recognized)

FEATURES:
---------
o added libdmraid_make_table() to activate.c to be used by installer

o asr.[ch]: added Adaptec HostRAID support

o jm.[ch]: added JMicron JMB36x support

o added '--enable-libselinux' to configure for those who want to build without it

o bytorder.h: enhanced to support big endian conversion on little endian arch

o nv.c: support RAID5 with dm-raid45 target

o pdc.h: support additional metadata offset

o metadata.c: enhanced to support RAID4 and RAID5 mappings with dm-raid45 target

MISCELANIOUS:
-------------
o misc.c: streamlined remove_white_space() (Al Viro)

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

Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

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

#1 lore raw
Quoted 8 lines · Heinz Mauelshagen
               *** Announcement: dmraid 1.0.0.rc10 ***

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

This release adds support for Adaptec HostRAID and JMicron JMB36X (see CHANGELOG below for more information).

you're missusing AC_ARG_ENABLE: it cannot assume whereas you want to default to --enable-XXX or --disable-XXX.

eg passing --disable-selinux to dmraid's configures make it actually enable selinux support :-(

the format is "AC_ARG_ENABLE(name, help, [ use given value ], [ default action ])"

the following patch fixes it:

1.0.0.rc10/configure.in renamed from 1.0.0.rc10/configure.in.tv2 +4 -4
@@ -101,19 +101,19 @@
 AC_ARG_ENABLE(jobs,  [  --enable-jobs=NUM       Number of jobs to run simultaneously], JOBS=-j$enableval, JOBS=-j1)
 
 dnl Enables linking to libselinux
-AC_ARG_ENABLE(libselinux, [  --enable-libselinux     Use this to link the tools to libselinux ], LIBSELINUX=yes, LIBSELINUX=no)
+AC_ARG_ENABLE(libselinux, [  --enable-libselinux     Use this to link the tools to libselinux ], LIBSELINUX=$enableval, LIBSELINUX=no)
 
 dnl Enables linking to libselinux
-AC_ARG_ENABLE(libsepol, [  --enable-libsepol       Use this to link the tools to libsepol ], LIBSEPOL=yes, LIBSEPOL=no)
+AC_ARG_ENABLE(libsepol, [  --enable-libsepol       Use this to link the tools to libsepol ], LIBSEPOL=$enableval, LIBSEPOL=no)
 
 dnl Enables mini binary
 AC_ARG_ENABLE(mini, [  --enable-mini           Use this to create a minimal binrary suitable
-                          for early boot environments],  DMRAID_MINI=yes, DMRAID_MINI=no)
+                          for early boot environments],  DMRAID_MINI=$enableval, DMRAID_MINI=no)
 
 echo $ac_n "checking whether to disable native metadata logging""... $ac_c" 1>&6
 dnl Disable native metadata logging
 AC_ARG_ENABLE(native_log, [  --disable-native_log    Disable native metadata logging. Default is enabled],  \
-DMRAID_NATIVE_LOG=no, DMRAID_NATIVE_LOG=yes)
+DMRAID_NATIVE_LOG=$enableval, DMRAID_NATIVE_LOG=yes)
 echo "$ac_t""$DMRAID_NATIVE_LOG" 1>&6
 
 dnl Enables staticly linked tools

you might want to alter default values then since i guess you misunderstood what the arguments should have been.

author Applied
#2 lore raw
Quoted 8 lines · Thierry Vignaud
Quoted 6 lines · Heinz Mauelshagen
               *** Announcement: dmraid 1.0.0.rc10 ***

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

Quoted 8 lines
Quoted 2 lines

This release adds support for Adaptec HostRAID and JMicron JMB36X (see CHANGELOG below for more information).

you're missusing AC_ARG_ENABLE: it cannot assume whereas you want to default to --enable-XXX or --disable-XXX.

eg passing --disable-selinux to dmraid's configures make it actually enable selinux support :-(

Well, I better tested --disable-libselinux rather than just leaving the respective option out or configure --enable-libselinux, which most people will do anyway ;-)

Quoted 4 lines

the format is "AC_ARG_ENABLE(name, help, [ use given value ], [ default action ])"

the following patch fixes it:

Applied.

Quoted 3 lines

you might want to alter default values then since i guess you misunderstood what the arguments should have been.

Hrm, configure option got added last minute.

Thanks,
Heinz

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

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Cluster and Storage Development                   56242 Marienrachdorf
                                                  Germany
[email protected]                            +49 2626 141200
                                                       FAX 924446

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