Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upEnable more than one block device in VM #419
Comments
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 3 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: minor
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 18 Jan 2012 13:50 UTC
I just verified that one can remove:
/dev/xvdi /mnt/removable auto noauto,user,rw 0 0
line from fstab, and qvm-block attach still works fine.
But an attempt to attach more than one device causes this:
[~](joanna@dom0)$ qvm-block -a dom0:sdd personal
Traceback (most recent call last):
File "/usr/bin/qvm-block", line 114, in <module>
main()
File "/usr/bin/qvm-block", line 81, in main
block_attach(vm, backend_vm, dev['device'], **kwargs)
File "/usr/lib64/python2.6/site-packages/qubes/qubesutils.py", line 203, in block_attach
raise QubesException("Frontend %s busy in VM %s, detach it first" % (frontend, vm.name))
qubes.qubes.QubesException: Frontend xvdi busy in VM personal, detach it first
|
Comment by joanna on 18 Jan 2012 13:50 UTC
line from fstab, and qvm-block attach still works fine. But an attempt to attach more than one device causes this:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 18 Jan 2012 14:05 UTC |
marmarek
removed this from the Release 1 Beta 3 milestone
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 18 Jan 2012 14:06 UTC
Currently qvm-block don't automatically choose block front device. You can use -f option to do this.
Because there is no need to use always xvdi (as you said above), qvm-block can choose any device name.
|
Comment by marmarek on 18 Jan 2012 14:06 UTC Because there is no need to use always xvdi (as you said above), qvm-block can choose any device name. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 14 Feb 2012 19:59 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=05e89d82fb74957eef661b690e6ee392bcdb08ec
|
Comment by marmarek on 14 Feb 2012 19:59 UTC |
marmarek commentedMar 8, 2015
Reported by marmarek on 16 Jan 2012 11:59 UTC
To make possible attaching eg two pendrives.
Perhaps using ConsoleKit/PolicyKit it is already done. But needs testing.
If not needed - perhaps also remove /mnt/removable fstab entry.
Migrated-From: https://wiki.qubes-os.org/ticket/419