New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to mount luks-encrypted device - R3.1rc2 w/ sys-usb enabled #1751

Closed
mfc opened this Issue Feb 14, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@mfc
Member

mfc commented Feb 14, 2016

R3.1rc2, I have sys-usb enabled. Following: https://www.qubes-os.org/doc/usb/

  1. The device (hard drive) shows up on qvm-block -l (sda and sda1)
  2. I can assign them to an arbitrary AppVM (I have tried Fedora 23 and Debian 8 based AppVMs)
  3. The hard drive does not show up in Nautilus or Dolphin file managers
  4. qvm-block -l shows that the device has been attached to the AppVM as xvdi, however in the AppVM there is no /dev/xvdi listed.
  5. unable to mount device, decrypt, use.
  6. upon detaching (qvm-block -d AppVM), get the following error:
Trackback (most recent call last):
  File "/usr/bin/qvm-block", line 151, in <module>
    main()
  File "/usr/bin/qvm-block", line 122, in main
    block_detach_all(vm)
  File "/usr/lib64/python2.7/site-packages/qubes/qubesutils.py", line 459, in block_detach_all
    block_detach(vm, None)
  File "/usr/lib64/python2.7/site-packages/qubes/qubesutils.py", line 447, in block_detach vm.libvirt_domain.detachDevice(etree.tostring(dis, encoding='utf-8'))
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1146, in detachDevice
    if ret == -1: raise libvirtError ('virDomainDetachDevice() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to detach disk 'xvdi'
@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Feb 14, 2016

Member

reboot solved it.

Member

mfc commented Feb 14, 2016

reboot solved it.

@mfc mfc closed this Feb 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment