{"action":"created","issue":{"url":"https://api.github.com/repos/emccode/rexray/issues/255","labels_url":"https://api.github.com/repos/emccode/rexray/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/emccode/rexray/issues/255/comments","events_url":"https://api.github.com/repos/emccode/rexray/issues/255/events","html_url":"https://github.com/emccode/rexray/issues/255","id":126432246,"number":255,"title":"Virtualbox error creating volume","user":{"login":"byrnedo","id":5528491,"avatar_url":"https://avatars.githubusercontent.com/u/5528491?v=3","gravatar_id":"","url":"https://api.github.com/users/byrnedo","html_url":"https://github.com/byrnedo","followers_url":"https://api.github.com/users/byrnedo/followers","following_url":"https://api.github.com/users/byrnedo/following{/other_user}","gists_url":"https://api.github.com/users/byrnedo/gists{/gist_id}","starred_url":"https://api.github.com/users/byrnedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byrnedo/subscriptions","organizations_url":"https://api.github.com/users/byrnedo/orgs","repos_url":"https://api.github.com/users/byrnedo/repos","events_url":"https://api.github.com/users/byrnedo/events{/privacy}","received_events_url":"https://api.github.com/users/byrnedo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T14:42:44Z","updated_at":"2016-01-13T15:38:33Z","closed_at":null,"body":"I'm trying to use rexray on a docker swarm which is running on boot2docker images.\r\nIt's all running on virtualbox.\r\n\r\nI have virtualbox version 5.0.10_Ubuntu r104061\r\n\r\nThe vbox daemon is running:\r\n\r\n    vboxwebsrv -H 0.0.0.0 -v\r\n\r\nI have installed rexray on all nodes and the config looks like so:\r\n\r\n    rexray:\r\n      logLevel: warm\r\n      storageDrivers:\r\n      - virtualbox\r\n      volume:\r\n        mount:\r\n          preempt: false\r\n    virtualbox:\r\n      endpoint: http://10.0.2.2:18083\r\n      volumePath: /home/donal/VirtualBoxVolumes \r\n      controllerName: SATA\r\n\r\nBut when I try an create a volume:\r\n\r\n    $docker volume create --driver=rexray --name=mongo --opt=size=5\r\n        Error response from daemon: Plugin Error: VolumeDriver.Create, {\"Error\":\"open /dev/disk/by-id: no such file or directory\"}\r\n\r\nRexray service logs show:\r\n\r\n    time=\"2016-01-13T14:35:14Z\" level=error msg=\"/VolumeDriver.Create: error creating volume\" error=\"open /dev/disk/by-id: no such file or directory\" \r\n    time=\"2016-01-13T14:35:14Z\" level=error msg=\"open /dev/disk/by-id: no such file or directory\" \r\n\r\nAny idea what's going wrong?"},"comment":{"url":"https://api.github.com/repos/emccode/rexray/issues/comments/171333794","html_url":"https://github.com/emccode/rexray/issues/255#issuecomment-171333794","issue_url":"https://api.github.com/repos/emccode/rexray/issues/255","id":171333794,"user":{"login":"clintonskitson","id":1395761,"avatar_url":"https://avatars.githubusercontent.com/u/1395761?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonskitson","html_url":"https://github.com/clintonskitson","followers_url":"https://api.github.com/users/clintonskitson/followers","following_url":"https://api.github.com/users/clintonskitson/following{/other_user}","gists_url":"https://api.github.com/users/clintonskitson/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonskitson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonskitson/subscriptions","organizations_url":"https://api.github.com/users/clintonskitson/orgs","repos_url":"https://api.github.com/users/clintonskitson/repos","events_url":"https://api.github.com/users/clintonskitson/events{/privacy}","received_events_url":"https://api.github.com/users/clintonskitson/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T15:38:33Z","updated_at":"2016-01-13T15:38:33Z","body":"Yeah, I ran into the same recently with boot2docker as well.\n\nThe issue https://github.com/boot2docker/boot2docker/issues/1111 should\ndescribe what I found.\n\nBasically udev isn't creating necessary paths for devices to allow rexray\nto discover as it needs to.\n\nOn Wednesday, January 13, 2016, Donal Byrne <notifications@github.com>\nwrote:\n\n> I'm trying to use rexray on a docker swarm which is running on boot2docker\n> images.\n> It's all running on virtualbox.\n>\n> I have virtualbox version 5.0.10_Ubuntu r104061\n>\n> The vbox daemon is running:\n> vboxwebsrv -H 0.0.0.0 -v\n>\n> I have installed rexray on all nodes and the config looks like so:\n>\n> rexray:\n>   logLevel: warm\n>   storageDrivers:\n>   - virtualbox\n>   volume:\n>     mount:\n>       preempt: false\n> virtualbox:\n>   endpoint: http://10.0.2.2:18083\n>   volumePath: /home/donal/VirtualBoxVolumes\n>   controllerName: SATA\n>\n> But when I try an create a volume:\n>\n> $docker volume create --driver=rexray --name=mongo --opt=size=5\n>     Error response from daemon: Plugin Error: VolumeDriver.Create, {\"Error\":\"open /dev/disk/by-id: no such file or directory\"}\n>\n> Rexray service logs show:\n>\n> time=\"2016-01-13T14:35:14Z\" level=error msg=\"/VolumeDriver.Create: error creating volume\" error=\"open /dev/disk/by-id: no such file or directory\"\n> time=\"2016-01-13T14:35:14Z\" level=error msg=\"open /dev/disk/by-id: no such file or directory\"\n>\n> Any idea what's going wrong?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/emccode/rexray/issues/255>.\n>\n"}}