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

Allow easy mounting of LUKS volumes in usbvm for backups #831

Closed
marmarek opened this Issue Mar 8, 2015 · 5 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 27 Apr 2014 12:23 UTC
Run this nice GUI mounter for LUKS volumes attached to usbvm. This should then allow to make backups to a disk attached to an AppVM fully using GUI from Qubes Manager. Currently I need to manually start term in the usbvm, do cryptsetup luksOpen, then mount, and only then I can use the Qubes Manager GUI to choose backup location.

Migrated-From: https://wiki.qubes-os.org/ticket/831

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 27 Apr 2014 12:27 UTC
Perhaps implement the same worflow as when handling devices attached to Dom0 -- populate the "Device" combolist with the devices from the selected VM. This should also imply that we first choose the Target AppVM, and then the device --> replace the order of the fields to have AppVM selection first (at the top).

Member

marmarek commented Mar 8, 2015

Comment by joanna on 27 Apr 2014 12:27 UTC
Perhaps implement the same worflow as when handling devices attached to Dom0 -- populate the "Device" combolist with the devices from the selected VM. This should also imply that we first choose the Target AppVM, and then the device --> replace the order of the fields to have AppVM selection first (at the top).

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 27 Apr 2014 20:53 UTC
On my machine, file selection dialog (that running in VM) have device list on the left, where I can click "10 GB Encrypted volume", then enter the password and select file/directory.
Perhaps this do not work when disk do not have partition table (i.e. LUKS directly on /dev/sda) - this causes problems with a lot of disk management tools.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 27 Apr 2014 20:53 UTC
On my machine, file selection dialog (that running in VM) have device list on the left, where I can click "10 GB Encrypted volume", then enter the password and select file/directory.
Perhaps this do not work when disk do not have partition table (i.e. LUKS directly on /dev/sda) - this causes problems with a lot of disk management tools.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 5 May 2014 09:52 UTC
Indeed, putting the LUKS volume on a properly formatted disk (i.e. putting it on /dev/sda1 instead of on /dev/sda) solves the problem with GUI-based mounting.

One thing still left, however, is to offer the user an easy way to unmount the volume after completion of the backup. Perhaps the easiest and most convenient way would be to display the same file manager window (which was used to select the volume at the beginning) after the backup finished, together with an information to the user: "Backup has been completed, please unmount your backup volume."

Member

marmarek commented Mar 8, 2015

Comment by joanna on 5 May 2014 09:52 UTC
Indeed, putting the LUKS volume on a properly formatted disk (i.e. putting it on /dev/sda1 instead of on /dev/sda) solves the problem with GUI-based mounting.

One thing still left, however, is to offer the user an easy way to unmount the volume after completion of the backup. Perhaps the easiest and most convenient way would be to display the same file manager window (which was used to select the volume at the beginning) after the backup finished, together with an information to the user: "Backup has been completed, please unmount your backup volume."

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 15 May 2014 00:12 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 15 May 2014 00:12 UTC

@marmarek marmarek self-assigned this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment

@marmarek marmarek closed this Mar 8, 2015

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