Hi,
I finally got round to take OMV for a spin, and I must say I'm impressed by the extent to which OMV integrates into a Debian install. Well done, many thanks for your efforts!
All works quite nicely after some minor hiccups, except for one thing: the Software RAID section. As GitHub invites me to discuss things here before creating an issue, here we are.
My setup is:
OMV 6.9.7-3
Debian Bullseye (arm)
forage@Barad-dur:~$ sudo fdisk -l
[sudo] password for forage:
Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WDC WD2003FYYS-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 55749629-C93E-43CC-8655-9B2165DE8302
Device Start End Sectors Size Type
/dev/sda1 2048 7813119 7811072 3.7G Linux filesystem
/dev/sda2 7813120 9289727 1476608 721M Linux RAID
/dev/sda3 9289728 3907028991 3897739264 1.8T Linux filesystem
Disk /dev/sdb: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 539CE87F-8F30-4646-9E64-6CC2369B8AC9
Device Start End Sectors Size Type
/dev/sdb1 2048 7813119 7811072 3.7G Linux filesystem
/dev/sdb2 7813120 9289727 1476608 721M Linux RAID
/dev/sdb3 9289728 3907028991 3897739264 1.8T Linux filesystem
Disk /dev/md1: 720 MiB, 754974720 bytes, 1474560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Display More
Where:
- /dev/sda1 and /dev/sdb1 are a BTRFS RAID1 mirror mounted as / for the system.
- /dev/sda2 and /dev/sdb2 are an MD RAID1 for the swap partition
- /dev/sda3 and /dev/sdb3 are an unmounted BTRFS RAID1 mirror, intended for data storage
The /dev/sda1 RAID does not show up in the web UI at all. As it is system, no issue here.
The MD RAID showed up in "Storage / Software RAID" without doing anything. It is not visible "Storage / File System", nor can it be added manually. As it is swap, no issue here.
The /dev/sda3, on the other hand, is not present in the "Storage / File System" section, nor the "Storage / Software RAID" section.
I can add the /dev/sdb3 file system in "Storage / File System" manually, and it is mounted as expected:
forage@Barad-dur:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 118M 0 118M 0% /dev
tmpfs 25M 1.5M 24M 6% /run
/dev/sda1 3.8G 2.0G 1.4G 60% /
tmpfs 124M 0 124M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 124M 0 124M 0% /tmp
/dev/sda3 1.9T 3.9M 1.9T 1% /srv/dev-disk-by-uuid-6e13a369-53b5-4d96-82ea-cba9091f5be6
tmpfs 25M 0 25M 0% /run/user/1000
forage@Barad-dur:~$ sudo btrfs filesystem df /srv/dev-disk-by-uuid-6e13a369-53b5-4d96-82ea-cba9091f5be6
Data, RAID1: total=1.00GiB, used=512.00KiB
System, RAID1: total=8.00MiB, used=16.00KiB
Metadata, RAID1: total=1.00GiB, used=112.00KiB
GlobalReserve, single: total=3.25MiB, used=0.00B
But the RAID is not to be found in the "Storage / Software RAID" section afterwards either.
As BTRFS file system handling has been added at a later stage of the 6.x development, does OMV simply not have full BTRFS integration in the UI yet or is this a bug?