{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3605","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3605/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3605/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3605/events","html_url":"https://github.com/zfsonlinux/zfs/issues/3605","id":95547926,"number":3605,"title":"Unable to mount / at boot with Dracut, zfs-dracut 0.6.4-20 under Debian Stretch","user":{"login":"Amitie10g","id":2096562,"avatar_url":"https://avatars.githubusercontent.com/u/2096562?v=3","gravatar_id":"","url":"https://api.github.com/users/Amitie10g","html_url":"https://github.com/Amitie10g","followers_url":"https://api.github.com/users/Amitie10g/followers","following_url":"https://api.github.com/users/Amitie10g/following{/other_user}","gists_url":"https://api.github.com/users/Amitie10g/gists{/gist_id}","starred_url":"https://api.github.com/users/Amitie10g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amitie10g/subscriptions","organizations_url":"https://api.github.com/users/Amitie10g/orgs","repos_url":"https://api.github.com/users/Amitie10g/repos","events_url":"https://api.github.com/users/Amitie10g/events{/privacy}","received_events_url":"https://api.github.com/users/Amitie10g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-16T22:52:47Z","updated_at":"2016-01-20T19:35:37Z","closed_at":null,"body":"I noticed that recet versions of `zfs-dracut` renders the initramfs images (3.19.8, 4.0.5 and 4.1.2) unable to mount the root «/» filesystem, with the error `unable to mount /sysroot`, leaving a Busybox rescue shell; using `zpool import -R / poolname` and even `zpool import -R /sysroot poolname` will import the pool and mount its datasets successfully, but when exit the shell, the system hangs and still unable to boot. This ocurrs in the both my desktop and laptop (both with Debian Stertch and zfs related packages 0.6.4-20).\r\n\r\nThis problem **does not** ocurr using `initramfs-tools` and `zfs-initramfs`, when the root pool is imported, and then root and descendant filesystems are mounted correctly and the system boots successfully.\r\n\r\nI use Dracut because I have better control on the generated initramfs images and smaller size is beter when using with **EFI Stub** in small EFI partition.\r\n\r\n![img_20150716_172559](https://cloud.githubusercontent.com/assets/2096562/8736988/050a4374-2bf4-11e5-919e-f567688e3a71.jpg)\r\n![img_20150716_172613](https://cloud.githubusercontent.com/assets/2096562/8736989/051003ae-2bf4-11e5-8d5f-e943869f7d2c.jpg)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/173335054","html_url":"https://github.com/zfsonlinux/zfs/issues/3605#issuecomment-173335054","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3605","id":173335054,"user":{"login":"prometheanfire","id":1869923,"avatar_url":"https://avatars.githubusercontent.com/u/1869923?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheanfire","html_url":"https://github.com/prometheanfire","followers_url":"https://api.github.com/users/prometheanfire/followers","following_url":"https://api.github.com/users/prometheanfire/following{/other_user}","gists_url":"https://api.github.com/users/prometheanfire/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheanfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheanfire/subscriptions","organizations_url":"https://api.github.com/users/prometheanfire/orgs","repos_url":"https://api.github.com/users/prometheanfire/repos","events_url":"https://api.github.com/users/prometheanfire/events{/privacy}","received_events_url":"https://api.github.com/users/prometheanfire/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T19:35:37Z","updated_at":"2016-01-20T19:35:37Z","body":"@FransUrbo can you link them?"}}