{"action":"created","issue":{"url":"https://api.github.com/repos/neilbrown/mdadm/issues/13","labels_url":"https://api.github.com/repos/neilbrown/mdadm/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/neilbrown/mdadm/issues/13/comments","events_url":"https://api.github.com/repos/neilbrown/mdadm/issues/13/events","html_url":"https://github.com/neilbrown/mdadm/issues/13","id":108924474,"number":13,"title":"5 to 1 level change is only partly done","user":{"login":"stronny","id":503119,"avatar_url":"https://avatars.githubusercontent.com/u/503119?v=3","gravatar_id":"","url":"https://api.github.com/users/stronny","html_url":"https://github.com/stronny","followers_url":"https://api.github.com/users/stronny/followers","following_url":"https://api.github.com/users/stronny/following{/other_user}","gists_url":"https://api.github.com/users/stronny/gists{/gist_id}","starred_url":"https://api.github.com/users/stronny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stronny/subscriptions","organizations_url":"https://api.github.com/users/stronny/orgs","repos_url":"https://api.github.com/users/stronny/repos","events_url":"https://api.github.com/users/stronny/events{/privacy}","received_events_url":"https://api.github.com/users/stronny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-29T18:03:21Z","updated_at":"2015-09-30T07:30:00Z","closed_at":"2015-09-30T07:30:00Z","body":"root@rescue ~ # cat /proc/mdstat\r\nPersonalities : [raid1] [raid6] [raid5] [raid4]\r\nmd1 : active raid5 sda2[0] sdb2[1]\r\n      104857600 blocks super 1.2 level 5, 64k chunk, algorithm 2 [2/2] [UU]\r\nroot@rescue ~ # mdadm --grow /dev/md1 --level 1\r\nmdadm: Impossible level change requested\r\n\r\nNow, looking at Grow.c I can first see checks from current level to a new level, which seem to pass just fine. But then it switches over the new level again, and there is no case for level 1: https://github.com/neilbrown/mdadm/blob/master/Grow.c#L1317-L1410\r\n\r\nAm I missing something here?"},"comment":{"url":"https://api.github.com/repos/neilbrown/mdadm/issues/comments/144313285","html_url":"https://github.com/neilbrown/mdadm/issues/13#issuecomment-144313285","issue_url":"https://api.github.com/repos/neilbrown/mdadm/issues/13","id":144313285,"user":{"login":"neilbrown","id":57437,"avatar_url":"https://avatars.githubusercontent.com/u/57437?v=3","gravatar_id":"","url":"https://api.github.com/users/neilbrown","html_url":"https://github.com/neilbrown","followers_url":"https://api.github.com/users/neilbrown/followers","following_url":"https://api.github.com/users/neilbrown/following{/other_user}","gists_url":"https://api.github.com/users/neilbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/neilbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilbrown/subscriptions","organizations_url":"https://api.github.com/users/neilbrown/orgs","repos_url":"https://api.github.com/users/neilbrown/repos","events_url":"https://api.github.com/users/neilbrown/events{/privacy}","received_events_url":"https://api.github.com/users/neilbrown/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T07:30:00Z","updated_at":"2015-09-30T07:30:00Z","body":"Yes - it doesn't work in 3.2.56 does it.  Hmmm..  Ah, it was fixed by 6a67848ab6dc389634673fda3ec867539a763f38 in mdadm-3.3.\r\nSo: all fixed now."}}