On 11/26/06, Nix <nix@xxxxxxxxxxxxx> wrote:
On 25 Nov 2006, Dragan Marinkovic stated: > Hm, I was playing with RAID 5 with one spare (3 + 1) and metadata > version 1.2 . If I let it build to some 10% and cleanly reboot it does > not start where it left off -- basically it starts from scratch. I was > under the impression that RAID with metadata version 1.x exhibits > different behavior with kernel 2.6.18 . I'm staring the array as: > > /sbin/mdadm --assemble --scan -e 1.2 --no-degraded > --config=/etc/mdadm.conf > > On another topic, I looked through the code trying to find if metadata > version can be stored as a default in conf file. Unfortunately, there > is no such option. It would be nice to have it so you don't have to > specify it when assembling the array. Well, I assemble my arrays with the command /sbin/mdadm --assemble --scan --auto=md and mdadm.conf looks like DEVICE partitions ARRAY /dev/md0 UUID=3a51b74f:8a759fe7:8520304c:3adbceb1 ARRAY /dev/md1 UUID=a5a6cad4:2c7fdc07:88a409b9:192ed3bf ARRAY /dev/md2 UUID=fe44916d:a1098576:8007fb81:2ee33b5a MAILADDR postmaster@xxxxxxxxxxxxx No metadata versions needed anywhere. -- `The main high-level difference between Emacs and (say) UNIX, Windows, or BeOS... is that Emacs boots quicker.' --- PdS
But you do have to specify the version (other than 0.90) when you want to build the array for the first time, correct? - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html