#1 Global Leader in Data Resilience

Imagestream Export or Restore Fails With "error writing layer: no space left on device"

KB ID: 4633
Product: Veeam Kasten for Kubernetes | 7
Published: 2024-06-26
Last Modified: 2024-06-26
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

Export Action or Restore Action of OpenShift Imagestream fails with the following error:

Failed to exec command in pod: command terminated with exit code 1.stdout: error writing layer: write/var/lib/image/<id>/blobs/sha256/<id>: no space left on device

Cause

During the export or restore of an image stream, a temporary persistent volume will be created using the default storage class. In some instances, the allocated size of that temporary intermediate volume created for exporting or restoring images is insufficient for the intended image size. This can result in a “no space left on device” error. In such a situation, the default value of ephemeralPVCOverhead of 0.1 is insufficient.

Solution

Increase the value of ephemeralPVCOverhead as needed. By default, it is 0.1, and it can be increased as needed.

For example, to increase it to 0.2, the following commands would be used:

helm get values k10 --output yaml --namespace=kasten-io > k10_val.yaml && \
helm upgrade k10 kasten/k10 --namespace=kasten-io -f k10_val.yaml \
--set ephemeralPVCOverhead=0.2 --version=<current k10 version>
The updated value can be verified with the following command:
kubectl get cm k10-config -oyaml -n kasten-io | grep -i K10EphemeralPVCOverhead
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.