Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk Timeout on xcp virtual block devices #594

Open
UniverseSandbox opened this issue Feb 27, 2023 · 0 comments
Open

Disk Timeout on xcp virtual block devices #594

UniverseSandbox opened this issue Feb 27, 2023 · 0 comments

Comments

@UniverseSandbox
Copy link

Dear xcp-ng community,
I try to avoid RO filesystems on Debian because of disks disconnecting for some longer time. My xcp-ng-server uses a central NetApp NAS as its storage for virtual machines, virtual disks, etc.. To avoid the RO behaviour, I try to set the disk timeout to a longer time in /sys/block//device/timeout. The ultimate goal is to achieve this timeout for all disks on all my machines automatically using puppet as automation platform.

What is my Problem?
The following command fails with a Permission denied error
Command: echo 3600 > /sys/block/xvda/device/timeout
Error: cannot create /sys/block/xvda/device/timeout: Permission denied

What have I tried?

  • running the command as root
  • running the command using puppet
  • manually touching the file
  • use vim to create the file
  • creating a udev rule

After some research I think this issue has something to do with the XCP-ng/Xen storage drivers.

Any help is greatly appreciated!

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant