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.
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.
2. evms comes with partition handling. Otherwise someone has to write another tool/library that does the partition setup.
Well, kpartx is already written.
3. it works for 2.6 and (patched) 2.4 kernels
Can't dispute that.
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.
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.
Regards, Wilfried