Skip to content
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

Feature Request: Custom name of device mapper #40

Open
jaltek opened this issue Jun 16, 2020 · 2 comments
Open

Feature Request: Custom name of device mapper #40

jaltek opened this issue Jun 16, 2020 · 2 comments

Comments

@jaltek
Copy link

jaltek commented Jun 16, 2020

Hi,

it would be nice to have an option to customize the name of the device mapping, e.g.

/dev/mapper/foobar

Use case: I have two external devices which are not always connected to OMV. But they are both identified as "/dev/sdb" which leads to problems with the shares.

@subzero79
Copy link

Then you need to setup unique labels to the filesystem over the luks device, and mount the filesystems with labels which is the default in omv when present. then it won't matter if the device mapper is sda-crypt, sdb-crypt etc.

As now LUKS2 supports labels we could use that to generate a sort of unique dm name. But there will be no option for the user to set the dm name explicitly.

@jaltek
Copy link
Author

jaltek commented Jun 19, 2020

Oh, thanks for the label hint. I totally missed that.
Well, the unique dm name might be nice to have, but my basic problem is actually solved with the labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants