From: Wilfried Weissmann <Wilfried.Weissmann@gmx.at>
To: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>
Cc: Arjan van de Ven <arjanv@redhat.com>,
"Kevin P. Fleming" <kpfleming@backtobasicsmgmt.com>,
Jeff Garzik <jgarzik@pobox.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Device mapper devel list <dm-devel@redhat.com>,
Thomas Horsten <thomas@horsten.com>,
medley@lists.infowares.com
Subject: Re: ATARAID/FakeRAID/HPTRAID/PDCRAID as dm targets?
Date: Tue, 23 Mar 2004 22:03:10 +0100 [thread overview]
Message-ID: <4060A60E.7050109@gmx.at> (raw)
In-Reply-To: <405F3B1C.3030500@gmx.net>
Carl-Daniel Hailfinger wrote:
> Wilfried Weissmann wrote:
>>Why not join my evms-plugin work? This has 4 advantages over the
>>"stand-alone binary" approach:
>
>
> Well, I had something in mind which closely resembles the ataraid-detect
> tool Thomas Horsten (Medley RAID) suggested.
>
> http://lists.infowares.com/archive/medley/2004-February/000001.html
>
> OK, I was even aiming for less: Write an ataraid-detect tool which outputs
> the correct mapping for dmsetup. If I manage to write it generically
> enough, it can be integrated into evms or used as a standalone program,
> whatever you like.
Oh, well. My intention was to prevent that there is a set of new tools
but instead to integrate what is required into an existing framework.
And also to benefit from the system, like using the partition support
that was already present in EVMS. Particulary this was the key factor in
my decision for EVMS. Right now we have 3 places where partition
(detection) code is located. Its in the kernel, its in EVMS and now
there is also kpartx. Each implementation has its own features and
goodies, but the problem is that they also have their own bugs. There is
a wide set of partition types one wants to implement. So we end up in a
point where we have dependencies on hardware and partition types. Like
if you have hardware X you cannot use LDM and Solaris Slices but you can
have BSD Disk Slices.
>
>
>
>>1. its all within evms
>>There is no need for additional tools required to setup the volume
>>(thinking about installers and initrd...).
>
>
> The EVMS sample initrd is HUGE. (2.1 MB) I'm aiming for a initrd size of
> less than 1/10 of that.
On the other hand this is not a big deal unless you do have embedded
systems with tight hardware constraints. You can also strip evms a lot
by removing unnecessary plugins. Installers can also have EVMS only on
the installation media (unless your install source is on the RAID).
>
>
>
>>2. evms comes with partition handling.
>>Otherwise someone has to write another tool/library that does the
>>partition setup.
>
>
> Well, kpartx is already written.
Right, but like I have already written above, I do not understand why
one should not reuse existing code and therefor preventing code duplication.
>
>
>
>>3. it works for 2.6 and (patched) 2.4 kernels
>
>
> Can't dispute that.
Support in both kernels enables one to make a smooth migration.
>
>
>
>>4. nice clickety-click user interface
>>Especially useful for lazy people like me. ;)
>
>
> I prefer the "no user interface" approach. But then again, I'm biased.
Well, I have to admit that I am also biased. You can still use the
command line evms binary for scripting of course.
[snip]
>>Apropos: If we do evms plugins then we might want to have the
>>possibility to detect if some ataraid module aleady has picked up the
>>disk. In this case we should not create a volume because of someone
>>might try to mount the same volume via the ataraid and evms devicefiles
>>which leads to filesystem corruption. I thought about makeing a /proc
>>ataraid entry that contains the claimed disks. I think this should be
>>supported by all ataraid modules if this is done so I am asking you:
>
>
> That's one of the problems that made me look for a 2.6-only solution. This
> way, you won't get the problems described above.
Not all features and supported hardware of the current ataraid code are
going to be available in a matter of days (at least for my part). Indeed
I am wondering if it might be desirable to use both implementations at a
time during migration. This is why I was thinking about adding a config
options that protects you from destroying data by error.
Regards,
Wilfried
next prev parent reply other threads:[~2004-03-23 21:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-20 18:19 ATARAID/FakeRAID/HPTRAID/PDCRAID as dm targets? Carl-Daniel Hailfinger
2004-03-20 20:51 ` Jeff Garzik
2004-03-21 2:23 ` Kevin P. Fleming
2004-03-21 7:47 ` Arjan van de Ven
2004-03-21 13:47 ` Wilfried Weissmann
2004-03-22 19:14 ` Carl-Daniel Hailfinger
2004-03-22 19:29 ` Jeff Garzik
2004-03-23 21:15 ` Wilfried Weissmann
2004-04-01 3:06 ` Carl-Daniel Hailfinger
2004-04-01 3:19 ` Carl-Daniel Hailfinger
2004-04-01 5:28 ` Jeff Garzik
2004-03-23 21:03 ` Wilfried Weissmann [this message]
2004-03-21 18:07 ` Jeff Garzik
2004-03-21 18:40 ` Carl-Daniel Hailfinger
2004-03-21 18:45 ` Kevin P. Fleming
2004-03-21 19:44 ` Carl-Daniel Hailfinger
2004-03-21 20:01 ` Carl-Daniel Hailfinger
2004-03-21 20:19 ` christophe varoqui
2004-03-22 11:46 ` Carl-Daniel Hailfinger
2004-03-21 18:58 ` Måns Rullgård
2004-03-24 18:21 ` Pedro Larroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4060A60E.7050109@gmx.at \
--to=wilfried.weissmann@gmx.at \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=arjanv@redhat.com \
--cc=c-d.hailfinger.kernel.2004@gmx.net \
--cc=dm-devel@redhat.com \
--cc=jgarzik@pobox.com \
--cc=kpfleming@backtobasicsmgmt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=medley@lists.infowares.com \
--cc=thomas@horsten.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox