{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1600","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1600/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1600/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1600/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1600","id":125788505,"number":1600,"title":"qvm-block treats system disks as attachable block devices","user":{"login":"axon-qubes","id":10417133,"avatar_url":"https://avatars.githubusercontent.com/u/10417133?v=3","gravatar_id":"","url":"https://api.github.com/users/axon-qubes","html_url":"https://github.com/axon-qubes","followers_url":"https://api.github.com/users/axon-qubes/followers","following_url":"https://api.github.com/users/axon-qubes/following{/other_user}","gists_url":"https://api.github.com/users/axon-qubes/gists{/gist_id}","starred_url":"https://api.github.com/users/axon-qubes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axon-qubes/subscriptions","organizations_url":"https://api.github.com/users/axon-qubes/orgs","repos_url":"https://api.github.com/users/axon-qubes/repos","events_url":"https://api.github.com/users/axon-qubes/events{/privacy}","received_events_url":"https://api.github.com/users/axon-qubes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20core","name":"C: core","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/P:%20major","name":"P: major","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-09T23:37:38Z","updated_at":"2016-01-13T05:16:34Z","closed_at":null,"body":"`qvm-block` and Qubes Manager both treat the disk(s) on which Qubes is installed as attachable block devices:\r\n\r\n```\r\n[user@dom0 ~]$ qvm-block -l\r\ndom0:sda     <name>\r\ndom0:sdb     <name>\r\n```\r\n\r\nIn Qubes Manager, these disks are available as options to attach to VMs.\r\n\r\n`sda` and `sdb` are in a RAID1 configuration, with an encrypted LUKS volume on top, and Qubes installed in that volume.\r\n\r\nI have not attempted to attach `sda` or `sdb` to any VM, for obvious reasons."},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/171169967","html_url":"https://github.com/QubesOS/qubes-issues/issues/1600#issuecomment-171169967","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1600","id":171169967,"user":{"login":"axon-qubes","id":10417133,"avatar_url":"https://avatars.githubusercontent.com/u/10417133?v=3","gravatar_id":"","url":"https://api.github.com/users/axon-qubes","html_url":"https://github.com/axon-qubes","followers_url":"https://api.github.com/users/axon-qubes/followers","following_url":"https://api.github.com/users/axon-qubes/following{/other_user}","gists_url":"https://api.github.com/users/axon-qubes/gists{/gist_id}","starred_url":"https://api.github.com/users/axon-qubes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axon-qubes/subscriptions","organizations_url":"https://api.github.com/users/axon-qubes/orgs","repos_url":"https://api.github.com/users/axon-qubes/repos","events_url":"https://api.github.com/users/axon-qubes/events{/privacy}","received_events_url":"https://api.github.com/users/axon-qubes/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T05:16:34Z","updated_at":"2016-01-13T05:16:34Z","body":"> Is the array made of all the disk, or just some partition(s)?\r\n\r\nJust some partitions.\r\n\r\n> Check the same for the partitions.\r\n\r\nIndeed:\r\n```\r\n$ udevadm info -q all -n sda1 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n$ udevadm info -q all -n sda2 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n$ udevadm info -q all -n sda3 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n$ udevadm info -q all -n sdb1 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n$ udevadm info -q all -n sdb2 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n$ udevadm info -q all -n sdb3 | grep QUBES_EXPOSED\r\nE: QUBES_EXPOSED=0\r\n```\r\n"}}