X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=TODO;h=a282744a95f0b37a1076beaccd0e5b4ad439fbc7;hp=061a2b42499d5d257f19224121d473d524642db3;hb=dd0781e50555c32ff2f808ec46f4b03a5693ea47;hpb=9a9dab3670110c2db7fe6f716977b72adedbf855 diff --git a/TODO b/TODO index 061a2b42..a282744a 100644 --- a/TODO +++ b/TODO @@ -1,22 +1,78 @@ +2004-june-02 + * Don't print 'errors' flag, it is meaningless. DONE + * Handle new superblock format + * create device file on demand, particularly partitionable devices. DONE + BUT figure a way to create the partition devices. + auto=partN + * Use Event: interface to listen for events. DONE, untested + * Make sure mdadm -As can assemble multi-level RAIDs ok. + * --build to build raid1 or multipath arrays + clean or not ??? + +---------------------------------------------------------------------------- +* mdadm --monitor to monitor failed multipath paths and re-instate them. + +* Maybe make "--help" fit in 80x24 and have a --long-help with more info. DONE + + +* maybe "missing" instead of missing in doco DONE +* possibly wait for resync to start, or even finish while assembling.- NO + +* -Db should have a devices= entry if possible. - DONE +* when assembling multipath arrays, ignore any error indicators. - DONE +* rationalise --monitor usage: + mdadm --monitor + doesn't do as expected. DONE + +* --assemble could have a --update option. - DONE + following word can be: + sparc2.2 + super-minor +* mdadm /dev/md11, where md11 is raid0 can segfault, particularly when looking in the + [UU_UUU] string ... which doesn't exist ! +It should be more sensible. DONE -?? Allow -S /dev/md? - current complains subsequent not a/d/r +Example: -* write proc.c to parse /proc/mdstat file, and maybe /proc/partitions too. +from Raimund Sacherer + +mke2fs -m0 -q /dev/ram1 300 +mount -n -t ext2 /dev/ram1 /tmp +echo DEVICE /dev/[sh]* >> /tmp/mdadm.conf +mdadm -Esb /dev/[sh]* 2>/dev/null >> /tmp/mdadm.conf +mdadm -ARsc /tmp/mdadm.conf +umount /tmp + + +?? Allow -S /dev/md? - current complains subsequent not a/d/r - DONE + +* new "Query" mode to subsume --detail and --examine. + --query or -Q, takes a device and tells if it is an MD device, + and also tells in a raid superblock is found. + DONE + +* write mdstat.c to parse /proc/mdstat file Build list of arrays: name, rebuild-percent + DONE + +* parse /proc/partitions and map major/minor into /dev/* names, + and use that for default DEVICE list ???? -* --detail --scan to read mdadm.conf, and then iterate over these, +* --detail --scan to read /proc/mdstat, and then iterate over these, but assume --brief. --verbose can override check each subdevice to see if it is in conf_get_devs. Warn if not. + DONE, but don't warn yet... * Support multipath ... maybe... + maybe DONE * --follow to syslog -* --follow to move spares around +* --follow to move spares around DONE -* --follow to notice other events: +* --follow to notice other events: DONE rebuild started spare activated spare removed @@ -51,7 +107,7 @@ - mdadm -S /dev/md0 /dev/md1 gives internal error FIXED -- mdadm --detail --scan print summary of what it can find? +- mdadm --detail --scan print summary of what it can find? DONE ---------