{"action":"created","issue":{"url":"https://api.github.com/repos/linuxkit/linuxkit/issues/1886","repository_url":"https://api.github.com/repos/linuxkit/linuxkit","labels_url":"https://api.github.com/repos/linuxkit/linuxkit/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/linuxkit/linuxkit/issues/1886/comments","events_url":"https://api.github.com/repos/linuxkit/linuxkit/issues/1886/events","html_url":"https://github.com/linuxkit/linuxkit/issues/1886","id":230925983,"number":1886,"title":"External disk not work as expected","user":{"login":"HackToday","id":10363809,"avatar_url":"https://avatars0.githubusercontent.com/u/10363809?v=3","gravatar_id":"","url":"https://api.github.com/users/HackToday","html_url":"https://github.com/HackToday","followers_url":"https://api.github.com/users/HackToday/followers","following_url":"https://api.github.com/users/HackToday/following{/other_user}","gists_url":"https://api.github.com/users/HackToday/gists{/gist_id}","starred_url":"https://api.github.com/users/HackToday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackToday/subscriptions","organizations_url":"https://api.github.com/users/HackToday/orgs","repos_url":"https://api.github.com/users/HackToday/repos","events_url":"https://api.github.com/users/HackToday/events{/privacy}","received_events_url":"https://api.github.com/users/HackToday/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-05-24T05:39:59Z","updated_at":"2017-05-24T08:48:27Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/linuxkit/linuxkit/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Description**\r\n\r\n<!--\r\nBriefly describe the problem you are having in a few paragraphs.\r\n-->\r\n\r\n**Steps to reproduce the issue:**\r\n1. use moby build  docker example (https://github.com/linuxkit/linuxkit/tree/master/examples)\r\n docker kernel + initrd  images\r\n2. then follow doc from \r\nhttps://github.com/linuxkit/linuxkit/blob/master/docs/external-disk.md\r\n\r\nIt not specify any requirements. so I ran following command\r\n\r\n`linuxkit run qemu -disk foo.img -disk-size 1024 docker`\r\n\r\nAnd if you in the VM, and check as below:\r\n\r\n```\r\n/ # runc list\r\nID          PID         STATUS      BUNDLE                         CREATED                          OWNER\r\ndhcpcd      599         running     /run/containerd/linux/dhcpcd   2017-05-24T05:30:51.153828733Z   root\r\ndocker      635         running     /run/containerd/linux/docker   2017-05-24T05:30:53.598604676Z   root\r\nntpd        663         running     /run/containerd/linux/ntpd     2017-05-24T05:30:55.980477397Z   root\r\n\r\n/ # ls -l /dev/sd*\r\nls: /dev/sd*: No such file or directory\r\n/ # ls -l /dev/vd*\r\nls: /dev/vd*: No such file or directory\r\n/ # \r\n\r\n```\r\n\r\n\r\n**Describe the results you received:**\r\n\r\nnot any dev/sd*  dev/vd*  available\r\n\r\n**Describe the results you expected:**\r\n\r\nshould work as the doc https://github.com/linuxkit/linuxkit/blob/master/docs/external-disk.md\r\ndev/vd*  or  dev/sd* any available\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/linuxkit/linuxkit/issues/comments/303659858","html_url":"https://github.com/linuxkit/linuxkit/issues/1886#issuecomment-303659858","issue_url":"https://api.github.com/repos/linuxkit/linuxkit/issues/1886","id":303659858,"user":{"login":"deitch","id":282526,"avatar_url":"https://avatars0.githubusercontent.com/u/282526?v=3","gravatar_id":"","url":"https://api.github.com/users/deitch","html_url":"https://github.com/deitch","followers_url":"https://api.github.com/users/deitch/followers","following_url":"https://api.github.com/users/deitch/following{/other_user}","gists_url":"https://api.github.com/users/deitch/gists{/gist_id}","starred_url":"https://api.github.com/users/deitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deitch/subscriptions","organizations_url":"https://api.github.com/users/deitch/orgs","repos_url":"https://api.github.com/users/deitch/repos","events_url":"https://api.github.com/users/deitch/events{/privacy}","received_events_url":"https://api.github.com/users/deitch/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T08:48:27Z","updated_at":"2017-05-24T08:48:27Z","body":"You got me here. It appears to be creating the disk, and certainly is passing it to qemu. Maybe qemu version? What do you have? I am working pretty recent:\r\n\r\n```\r\n$ qemu-system-x86_64 --version\r\nQEMU emulator version 2.9.0\r\nCopyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers\r\n```\r\n"}}
{"actor":{"display_login":"deitch"}}