{"action":"closed","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/1841","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/1841/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/1841/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/1841/events","html_url":"https://github.com/lxc/lxd/issues/1841","id":145283654,"number":1841,"title":"Inaccessible partitions created inside container","user":{"login":"robsanderson","id":3287565,"avatar_url":"https://avatars.githubusercontent.com/u/3287565?v=3","gravatar_id":"","url":"https://api.github.com/users/robsanderson","html_url":"https://github.com/robsanderson","followers_url":"https://api.github.com/users/robsanderson/followers","following_url":"https://api.github.com/users/robsanderson/following{/other_user}","gists_url":"https://api.github.com/users/robsanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/robsanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robsanderson/subscriptions","organizations_url":"https://api.github.com/users/robsanderson/orgs","repos_url":"https://api.github.com/users/robsanderson/repos","events_url":"https://api.github.com/users/robsanderson/events{/privacy}","received_events_url":"https://api.github.com/users/robsanderson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-01T20:58:03Z","updated_at":"2016-04-01T21:18:30Z","closed_at":"2016-04-01T21:18:30Z","body":" * Distribution: Ubuntu\r\n * Distribution version: 16.04\r\n * The output of \"lxc info\" or if that fails:\r\nlxc info\r\napicompat: 0\r\nauth: trusted\r\nenvironment:\r\n  addresses:\r\n  - 10.10.8.11:8443\r\n  architectures:\r\n  - x86_64\r\n  - i686\r\n  certificate: |\r\n    -----BEGIN CERTIFICATE-----\r\n    -----END CERTIFICATE-----\r\n  driver: lxc\r\n  driverversion: 2.0.0.rc12\r\n  kernel: Linux\r\n  kernelarchitecture: x86_64\r\n  kernelversion: 4.4.0-15-generic\r\n  server: lxd\r\n  serverpid: 22440\r\n  serverversion: 2.0.0.rc5\r\n  storage: dir\r\n  storageversion: \"\"\r\nconfig:\r\n  core.https_address: 10.10.8.11:8443\r\n  core.trust_password: true\r\npublic: false\r\n\r\n   * Kernel version: 4.4.0-15-generic\r\n   * LXC version: 2.0.0~rc12-0ubuntu1\r\n   * LXD version: 2.0.0~rc5-0ubuntu1\r\n   * Storage backend in use: dir\r\n\r\n# Example container config\r\nconfig:\r\n  raw.lxc: |\r\n    lxc.aa_profile=unconfined\r\n    lxc.cgroup.devices.allow = b 8:* rwm\r\n  security.privileged: \"true\"\r\n  volatile.base_image: 4e8bb333466929ed0c7d25ff5dcc42e7241fd2dad22c5e4e40ae0b60be6d9f53\r\n  volatile.eth0.hwaddr: 00:16:3e:54:8d:0a\r\n  volatile.last_state.idmap: '[]'\r\ndevices:\r\n  eth0:\r\n    name: eth0\r\n    nictype: macvlan\r\n    parent: eth0\r\n    type: nic\r\n  root:\r\n    path: /\r\n    type: disk\r\n  sda:\r\n    path: /dev/sda\r\n    type: unix-block\r\n\r\n# Issue description\r\n$ parted /dev/sda mklabel gpt\r\n$ parted /dev/sda mkpart data xfs 1 100G\r\n$ parted /dev/sda p\r\nPartition Table: gpt\r\nDisk Flags:\r\n\r\nNumber  Start   End    Size   File system  Name  Flags\r\n 1      1049kB  100GB  100GB  xfs          data\r\n\r\n$ grep sda /proc/partitions\r\n   8        0 1953514584 sda\r\n   8        1   97654784 sda1\r\n\r\nls -la /dev/sda*\r\nbrw-r----- 1 root root 8, 0 Apr  1 20:56 /dev/sda"}}