Comments (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.
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)
- Having secondary storage class reports 'did not have enough free storage'. HOT 5
- Volumes are not assigned to a node HOT 1
- GetNodeID failed for node HOT 3
- zfs-localpv chart version 2.3.2 specifies 2.3.1 as release.version in values.yaml HOT 3
- Driver fail to list datasets under certain circumstances HOT 1
- "Device already mounted at /var/lib/kubelet/pods" with a shared=yes ZFS dataset
- ZFS mount point configuration HOT 1
- Cross-Node Pod Access to ZFS Pool in a Multi-Node Cluster HOT 4
- Support zstd-fast compression options HOT 1
- feature: zvol as block volume without attaching to a pod HOT 7
- Erroneous release v2.4.1 HOT 2
- Default values are of the wrong type
- Volumes are not removed after PV is deleted with Delete reclaimPolicy HOT 7
- Backup exit 1 when ZFSbackup HOT 2
- velero plugin maintenance HOT 1
- URGENT: Helm chart for 2.5.0 deletes VolumeSnapshot CRDs - including all snapshots HOT 12
- Feature request: human-readeable names of volumes (with namespacing)
- Latest operator yaml installs version 2.4.0 instead of the latest one HOT 6
- error generating accessibility requirements HOT 3
- Not working with k0s HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfs-localpv.