! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Clean release of LVM VGs on removable storage
Status:
RESOLVED: MOVED

Comments

Description Thomas McWork 2019-11-06 11:01:23 CET
Usually a USB key or disk is MS-DOS partitioned and mounted volumes can be unmounted via the "Unmount" option in the context menu of the volume. Now I have an external hard disk which is partitioned by LVM2. It's still possible to unmount mounted volumes as usual. But the volume groups are staying active when I unplug the device. The second option "Eject" is greyed out, probably due to the existing and active LVM volume groups.

My suggestion is either of:

- (preferred) release the concerned volume group(s) and then release the device via the "Eject" menu item
- Add another menu item (e.g., "release LVM volume group 'xyz'") for that special purpose. Only visible if applicable
Comment 1 Thomas McWork 2019-11-06 11:23:16 CET
The release command on the CLI: `vgchange -an my-volume-group`. Also, I forgot to mention that closing the luks container should be considered (`cryptsetup close cryptroot`).
Comment 2 alexxcons editbugs 2019-11-06 21:29:00 CET
Thanks for reporting !

I would be ok with your preferred solution. Though I neither have time, nor I have the hardware required for testing.
So patches would be very welcome !
Comment 3 Ali Abdallah editbugs 2020-04-28 18:27:29 CEST
Maybe I'm missing something, but may I ask what does tumbler has to do with this?
Comment 4 alexxcons editbugs 2020-04-28 22:09:51 CEST
(In reply to Ali Abdallah from comment #3)
> Maybe I'm missing something, but may I ask what does tumbler has to do with
> this?
I guess nothing. Is it mentioned here ?  Probably you are on the wrong bug :)
Comment 5 Ali Abdallah editbugs 2020-04-29 12:07:40 CEST
Oh my bad, sorry, it is for some reason assigned to me, I was searching for tumbler bugs and this ended up in my list for some reason. 

Probably we should assigned to the Thunar maintainer.
Comment 6 alexxcons editbugs 2020-04-29 16:49:52 CEST
(In reply to Ali Abdallah from comment #5)
> Probably we should assigned to the Thunar maintainer.
Uh, damn, that would be me .. done :)
Comment 7 Git Bot editbugs 2020-05-26 23:46:54 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/270.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16126

Reported by:
Thomas McWork
Reported on: 2019-11-06
Last modified on: 2020-05-26

People

Assignee:
alexxcons
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information