5

query on mdadm for support of adding a disk to a running linear array

view full story
linux-howto

http://www.linuxquestions.org – Hi All, I am using mdadm 2.6.4 for managing RAIDs. I've a query like whenever i tried to add a new disk to a running linear array(JBOD)i get a message "cannot add new disk to this array" The exact steps are as follows: create a new array as: mdadm -C /dev/md0 -llinear -n2 /dev/sata/ /dev/sata2 it is getting added and i am able to see with -D command. Now add a new disk sata3 as follows: mdadm --grow /dev/md0 --add /dev/sata3 I get the output as: md: sdb has invalid sb, not importing! md: md_import_device returned -22 mdadm: cannot add new disk to this array. So my first doubt is whether mdadm 2.6.4 supports this features or not if it supports then do i need to change the driver? Please help! (HowTos)