Code Monkey home page Code Monkey logo

Comments (4)

chriscchien avatar chriscchien commented on July 24, 2024 1

Hi @phan,

Folloing the test steps in a fresh cluster, the cloning-pod still stuck at ContainerCreating with below error from pod description

Events:
  Type     Reason                  Age                 From                     Message
  ----     ------                  ----                ----                     -------
  Normal   SuccessfulAttachVolume  2m4s                attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360"
  Warning  FailedMount             59s (x8 over 2m4s)  kubelet                  MountVolume.MountDevice failed for volume "pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360" : rpc error: code = Internal desc = mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t ext4 -o defaults /dev/longhorn/pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360 /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/662595354daadf86e810af45ab0ee036f7fe6efe8735f6b30211c523f458afee/globalmount
Output: mount: /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/662595354daadf86e810af45ab0ee036f7fe6efe8735f6b30211c523f458afee/globalmount: wrong fs type, bad option, bad superblock on /dev/longhorn/pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

supportbundle_be5f346a-23ef-42dd-91dd-868deac32094_2024-06-25T09-07-21Z.zip

My env:

  • SUSE Linux Enterprise Server 15 SP5 with k3s v1.29.2+k3s1

Could you take a look on this? thank you.

from longhorn.

PhanLe1010 avatar PhanLe1010 commented on July 24, 2024

Test plan:

Run the reproducing steps in the issue description make make sure that cloning-pod can become running. Also double check the data to make sure cloned data has same checksum as in source-pvc

Repeat the steps with backup restore instead of volume cloning

from longhorn.

PhanLe1010 avatar PhanLe1010 commented on July 24, 2024

@chriscchien Thank you for reporting. There was a typo. The cloned-pvc should use longhorn-xfs StorageClass instead of longhorn StorageClass . I fixed the repoducing steps. Could you retry? Thank you

from longhorn.

chriscchien avatar chriscchien commented on July 24, 2024

Verified pass on longhorn master (longhorn-manager 77ac26) with test steps

Mounting XFS volume by PVC clone and by backup restore all successed.

from longhorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.