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

Create fs does not exclude swap partition if this is a LV #475

subzero79 opened this issue Oct 26, 2019 · 0 comments · May be fixed by #479


Copy link

@subzero79 subzero79 commented Oct 26, 2019

Description of issue/question

If you attempt to create a filesystem where debian is installed into a LVM layout for rootfs and swap, the filesystem enumerate candidates method does not exclude the swap logical volume

Steps to reproduce issue

Install debian minimal and set LVM install for rootfs. Install omv via terminal adding packages.

Go to fs->create the swap partition is displayed there to format


output of lsblk

sudo blkid
[sudo] password for sysadmin: 
/dev/sda: UUID="hgcQaJ-PpkP-0tdN-847X-mGI1-yMek-A9zRzW" TYPE="LVM2_member"
/dev/sdb1: UUID="5525-F951" TYPE="vfat" PARTUUID="1890835c-01"
/dev/mapper/elqui--vg-root: UUID="0293545a-d0bd-4263-91bc-5ceabd055cb9" TYPE="ext4"
/dev/mapper/elqui--vg-swap_1: UUID="3866063e-be48-41f9-a650-b158635234c8" TYPE="swap"
/dev/sdc: UUID="1a34719d-a02c-40e1-9f7b-01d7852c667a" TYPE="crypto_LUKS"
/dev/mapper/data-storage: UUID="iMZ91O-lMSk-dOwK-09pw-lGO2-lsZD-vpgY5X" TYPE="LVM2_member"
/dev/mapper/data_storage--vg-music: LABEL="music" UUID="678f9f51-2c27-49fc-8ede-1f30dcd2a2be" TYPE="ext4"
/dev/mapper/data_storage--vg-other: LABEL="other" UUID="4d1859b9-6938-4149-a38d-8dfdc6900642" TYPE="ext4"

I haven't check earlier versions of omv but i suspect the same

Versions report


votdev added a commit to votdev/openmediavault that referenced this issue Oct 28, 2019
Fixes: openmediavault#475

Signed-off-by: Volker Theile <>
@votdev votdev referenced this issue Oct 28, 2019
0 of 2 tasks complete
@votdev votdev added 4.x 5.x bug labels Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.