OMV6 MergeFS?

  • Estou trabalhando na portabilidade do mergerfs, mas quero mudá-lo muito para OMV 6.x. Quero combinar os dois plug-ins (mergerfsfolders e unionfilesystems) e usar os arquivos de montagem do systemd em vez de fstab. O progresso é lento.

    Code
    Olá querido, tecnicamente qual seria a diferença entre essas duas ferramentas: mergerfsfolders e unionfilesystems? Desculpe pela pergunta, e inglês ruim também. Eu realmente não sentia muita diferença entre eles. Agradeço antecipadamente pelo retorno.
  • Wait for the OS and its plugins to mature or just configure it by hand in fstab which is what I do.

    Here I am after running imv-release-upgrade and now realizing that my mergerFS 'volume' is no longer. I need help with something I mostly do not understand. I am willing to edit my /etc/fstab, but I fear doing more damage. So please excuse my ignorance while I attempt to sort out my situation.
    I will attach my current/etc/fstab with the hope that someone will say, 'Oh, this simple info is missing. Add this." Let's see where this goes.

    Thank you

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • Do you have a backup copy of your OMV 5 fstab that had your mergerfs configuration in it?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Do you have a backup copy of your OMV 5 fstab that had your mergerfs configuration in it?

    Not a recent/current one. I did have a copy&past text file a while back. I think it might be on my OMV on one of the random drives that are not currently stitched together with mergerFS. I am looking.

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • Do you have a backup copy of your OMV 5 fstab that had your mergerfs configuration in it?

    Found this:

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • This long line is your mergerfs pool mount:


    Code
    /srv/dev-disk-by-id-ata-ST8000DM004-2CX188_ZR10P2GE-part1:/srv/dev-disk-by-id-ata-WDC_WD100EMAZ-00WJTA0_2YJD8UYD-part1:/srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97A5K5MSF96F-part1:/srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97B6K5LJF96F-part1        /srv/6a966440-66f7-4a88-b88b-da3e8ed4dafd    fuse.mergerfs    direct_io,defaults,allow_other,use_ino,dropcacheonclose=true,func.getattr=newest,category.create=epff,minfreespace=2048G,fsname=Store:6a966440-66f7-4a88-b88b-da3e8ed4dafd,x-systemd.requires=/srv/dev-disk-by-id-ata-ST8000DM004-2CX188_ZR10P2GE-part1,x-systemd.requires=/srv/dev-disk-by-id-ata-WDC_WD100EMAZ-00WJTA0_2YJD8UYD-part1,x-systemd.requires=/srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97A5K5MSF96F-part1,x-systemd.requires=/srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97B6K5LJF96F-part1    0 0

    Make a backup copy of your current fstab file, then edit the original file. Place the above single long line at the very end of the file.


    Remove this line from the file:


    Code
    /srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97A5K5MSF96F-part1:/srv/dev-disk-by-id-ata-ST8000DM004-2CX188_ZR10P2GE-part1:/srv/dev-disk-by-id-ata-TOSHIBA_MG05ACA800E_97B6K5LJF96F-part1:/srv/dev-disk-by-id-ata>

    Save the file and reboot the machine. Your pool will be located in:


    Code
    /srv/6a966440-66f7-4a88-b88b-da3e8ed4dafd

    You can share that folder.



    If it doesn't work it is because your disk UUIDs have changed along the way. Maybe you can repair those yourself.


    I have no idea if this will work with btrfs which you seem to be using now.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • So I am still without my mergerFS volume, and just realized that my ZFS volume is also missing. I am quite ignorant to this, so I attached a bunch of images. I hoping on getting some guidance.

    ¯\_(ツ)_/¯


    Thanks




    Code
    root@omvSix:~# zpool list
    The ZFS modules are not loaded.
    Try running '/sbin/modprobe zfs' as root to load them.
    root@omvSix:~# /sbin/modprobe zfs
    modprobe: FATAL: Module zfs not found in directory /lib/modules/5.14.0-0.bpo.2-amd64
  • Code
    root@omvSix:~# zpool list
    The ZFS modules are not loaded.
    Try running '/sbin/modprobe zfs' as root to load them.
    root@omvSix:~# /sbin/modprobe zfs
    modprobe: FATAL: Module zfs not found in directory /lib/modules/5.14.0-0.bpo.2-amd64


    looks like zfs is not installed on your system.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • …post your fstab file.

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • UUIDs

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • Two comments.


    Does the directory /srv/6a966440-66f7-4a88-b88b-da3e8ed4dafd exist and does it have any content in it?


    I would move fstab line 22 to be below line 23 and then reboot.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    Einmal editiert, zuletzt von gderf ()

  • looks like zfs is not installed on your system.

    Ugh. I just uninstalled ZFS plugin, and reinstalled the plugin:

    Version7.0-32 (Sandworm)
    ProcessorAMD EPYC 7302P 16-Core Processor
    KernelLinux 6.1.15-1-pve
    HardwareDell R7515
  • I think zfs-plugin is not ready for OMV 6.0


    If you really need zfs install it manually using one of the tutorials for debian 11.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I think you are trying too many things all at once here: mergerfs, zfs, btrfs.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    • Offizieller Beitrag

    The ZFS plugin in OMV6 only has the backend. The frontend is missing. It was an attempt at a temporary ZFS working combined with openmediavault-sharerootfs which apparently is not working as expected.

    omv-extras plugins - porting progress to OMV 6.x

    Here is the migration status of the plugins.

    To use ZFS on OMV6, you will have to do it from the CLI for now.

  • I've encountered the same problems that others have mentioned.


    I had a spare RPI4, I did a fresh install, moved my drives (1x SSD and 3x HDDs) to the new host, recreated the mergerfs volume by hand via fstab... but now I can't add it to OMV6 because you can only share "filesystems" and not specific mountpoints.


    Any hints?

Jetzt mitmachen!

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