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

Allow disabling fallocate for fs DS_MAD #5441

Closed
7 tasks
OpenNebulaSupport opened this issue Jun 30, 2021 · 2 comments
Closed
7 tasks

Allow disabling fallocate for fs DS_MAD #5441

OpenNebulaSupport opened this issue Jun 30, 2021 · 2 comments

Comments

@OpenNebulaSupport
Copy link
Collaborator

Description
Currently fallocate -d command is executed on every new image allocated in a fs datastore. The goal of this is to sparse the resulting files to save disk space and reduce copying times.

Two different behaviors have been found when the underlying filesystem doesn't support the fallocate call:

  • The command fails (this case is already controlled by the driver).
  • The command hung indefinitely.

As the advantages of calling fallocate usually don't apply to the file system which doesn't support the fallocate call it will be nice to allow disabling this call when necessary.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@OpenNebulaSupport OpenNebulaSupport added this to the Release 6.0.3 milestone Jun 30, 2021
christian7007 pushed a commit to christian7007/docs that referenced this issue Jul 1, 2021
christian7007 pushed a commit to christian7007/docs that referenced this issue Jul 1, 2021
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Jul 1, 2021
* F OpenNebula/one#5441: Add docs for SPARSE attr

* F #5441: Add to resolved issues
rsmontero pushed a commit to OpenNebula/docs that referenced this issue Jul 1, 2021
@tinova tinova modified the milestones: Release 6.0.3, Release 6.0.4 Jul 20, 2021
@harsxv
Copy link
Contributor

harsxv commented Mar 27, 2022

Hello, how can I disable fallocate in my current ONE 6.2 ?
I facing this "command hung indefinitely.". My DS images using TrueNAS Core (12.0-U7).

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

No branches or pull requests

4 participants