ZFS Help!!

    • Offizieller Beitrag

    Are you using docker and changed it to use zfs?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Is this a problem?

    Nope. docker can use zfs to create containers. Do you happen to have 10 containers running?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • No. I only had 2 containers running.
    I managed to stop the 2 containers. Then I removed all the legacy Snapshots under ZFS which was all fine. But now I cannot remove the Containers in Docker as it says the "dataset doesnt exist". Do you know how to force Container removal?

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Then I removed all the legacy Snapshots under ZFS which was all fine. But now I cannot remove the Containers in Docker as it says the "dataset doesnt exist".

    That tells me the snapshots were created by docker. The snapshots may have also been docker volumes.


    Do you know how to force Container removal?

    Yes. https://docs.docker.com/engine/reference/commandline/rm/

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Nope. docker can use zfs to create containers.

    Now I quite surprised (rather confused). ?( In this post I read that (mis?)behavior is caused by a missing ZFS driver: ZFS settings and here: Use the ZFS storage driver

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

    • Offizieller Beitrag

    Now I quite surprised (rather confused). In this post I read that (mis?)behavior is caused by a missing ZFS driver

    I said "can". I never know what someone has done to their system. I was just speculating. I don't use zfs and don't even use docker on OMV. The post you linked to tells me I guessed wrong.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The Snapshots/Clones were indeed created by Docker but I dont understand why so many (I counted 15 Snapshots although I only have 2 Containers.)

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    That still doesnt let me remove them because the Snapshots are gone. -> Erro message
    Any other ideas?

    What commands did you try and what was the output?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • command: docker rm [IMAGE ID]


    error:
    Error response from daemon: container c863316aefd95e36f1ef056af1691f0d79c992a9d3ee52dfc3868949a5c653e7: driver "zfs" failed to remove root filesystem: exit status 1: "/sbin/zfs fs destroy -r Pool1/LiveZ/0360f9afdfd5707a2ce251b4b3fb9e675202120b4e035295fe74ccbce2f77696" => cannot open 'Pool1/LiveZ/0360f9afdfd5707a2ce251b4b3fb9e675202120b4e035295fe74ccbce2f77696': dataset does not exist

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Did you try the force (-f) flag?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Maybe you need to remove the missing volume first? docker volume rm -f


    If that doesn't, I guess I would purge the docker packages and reinstall.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks. Looks very technical. I am just trying to remove the COntainers and Docker wont let me because the Clones/Snashots dont exist anymore.
    Any ideas how to force-remove the contrainers?
    I already tried docker rm -f but it did not work.

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    Any ideas how to force-remove the contrainers?

    The -f flag is the force remove. Did you try force removing the volume if it is in the list? Did you try removing the docker package?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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