After Upgrade 5>6 /dev/md0 visible but Shares not possible

  • Hello everybody,

    my NAS with OMV 5 worked fine for years, now it was time to update it to V6.


    Everything about the upgrade worked fine, except this:


    I have a boot drive 120 gb SSD (usb - its a terramaster nas and device /dev/sdc) and a raid 1 created with OMV 5 on /dev/md0.

    After Upgrade to 6 i see /dev/md0 in Storage - Software Raid: Its clean, healthy and made of /dev/sda and /dev/sdb


    In File Systems i only see Partition /dev/sdc3 (there are my docker containers on it) , but nothing else, no sdc (the boot drive), no sda, sdb or md0.


    So its also not possible to create Samba file shares or else, because only sdc3 is visible for omv.


    Tried it with installed webmin, shares with samba can be created and working, but they are of course gone when OMV overwrites the smb.conf.


    I have been read most everything in the forum and google and also tested most every hint about this, but no success.

    I know that there maybe an issue with OMVs Database, that these drives are not seen, but i dont know how i can fix this..


    Do you have any ideas ? Thanks a lot for any help..... with OMV5 all worked fine in this configuration.


    ~# cat /proc/mdstat

    :~# blkid

    # fdisk -l | grep "Disk "


    :~# cat /etc/mdadm/mdadm.conf

    :~# mdadm --detail --scan --verbose

  • geaves

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    but nothing else, no sdc (the boot drive), no sda, sdb or md0

    The boot drives is only displayed if the sharerootfs plugin is installed, if /dev/md0 is not displayed this would suggest that the file system is not mounted, you could try mount -a from the cli and then check it with findmnt -t ext4

    Tried it with installed webmin, shares with samba can be created and working, but they are of course gone when OMV overwrites the smb.conf

    As you've found out, bad idea, webmin behaves differently and cannot interact with omv


    BTW if this is a LUKS issue I don't use it and have no knowledge of it's workings :)

    Raid is not a backup! Would you go skydiving without a parachute?


    OMV 6x amd64 running on an HP N54L Microserver

  • Hi geaves, thanks for helping out.


    ~# findmnt -t ext4

    TARGET SOURCE FSTYPE OPTIONS

    / /dev/sdc1 ext4 rw,relatime,errors=remount-ro

    ├─/srv/dev-disk-by-uuid-5a341348-c332-4d73-9b40-7122e52dfb37

    │ /dev/sdc3 ext4 rw,relatime,stripe=8191,jqfmt=vfsv0,

    └─/media/hdd1 /dev/mapper/crypt_hdd1 ext4 rw,relatime


    Installed the sharerootfs plugin, it works thank you !


    Done the sharing via sharerootfs plugin on /media/hdd1.


    Maybe thats what it was before.......

    Thanks a lot !
    Haui

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!