Giter Club home page Giter Club logo

Comments (2)

pawanpraka1 avatar pawanpraka1 commented on June 2, 2024 2

This issue is specific to xfs only, when we create a clone volume and system is taking time in creating the device.

When we create a clone volume from a xfs filesystem, ZFS-LocalPV will go ahead and generate a new UUID for the clone volumes as we need a new UUID to mount the new clone filesystem. To generate a new UUID for the clone volume, ZFS-LocalPV first replays the xfs log by mounting the device to a tmp localtion.

Here, what is happening is since device creation is slow, so we went ahead and created the tmp location to mount the clone volume but since device has not created yet, the mount failed. In the next try since the tmp location is present, it will keep failing there only at every reconciliation time.

from zfs-localpv.

pawanpraka1 avatar pawanpraka1 commented on June 2, 2024

Below log shows the mount failure because the device is not present :

time="2020-07-15T10:02:25Z" level=info msg="created clone zfs-test-pool/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323"
time="2020-07-15T10:02:25Z" level=error msg="xfs: failed to mount volume /dev/zvol/zfs-test-pool/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323=>/tmp/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323 error: mount: /tmp/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323: special device /dev/zvol/zfs-test-pool/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323 does not exist.\n"

In retry it is failing to create the tmp directory

time="2020-07-15T10:02:25Z" level=error msg="xfs: failed to create tmpdir /tmp/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323 error: mkdir /tmp/pvc-cc253e5f-dd7c-4bd8-abc7-26ff73848323: file exists"

from zfs-localpv.

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.