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

virtnbdbackup stuck in fsfreeze on Cloudlinux Pro. OS #102

Closed
shahidnoorai opened this issue Jan 30, 2023 · 3 comments
Closed

virtnbdbackup stuck in fsfreeze on Cloudlinux Pro. OS #102

shahidnoorai opened this issue Jan 30, 2023 · 3 comments
Labels
support Usage/support questions.

Comments

@shahidnoorai
Copy link

Version used
1.9.14

Describe the bug
Virtnbdbackup stuck when trying to execute fsfreeze on a VM with CloudLinux Pro OS.

Expected behavior
A clear and concise description of what you expected to happen.

Hypervisor information:

  • OS: Almalinux 8.7
  • HV type: kvm

Logfiles:
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Backup level: [copy]
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Compression enabled, level [2]
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Libvirt library version: [8000000]
[2023-01-29 17:49:44] INFO virt client - getDomainDisks [MainThread]: Skipping attached [cdrom] device: [hdc].
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Backup will save [2] attached disks.
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Concurrent backup processes: [2]
[2023-01-29 17:49:44] INFO virt client - redefineCheckpoints [MainThread]: Loading checkpoint list from: [/mnt/backup/compute01.local/i-6-140-VM/checkpoints]
[2023-01-29 17:49:44] INFO root virtnbdbackup - handleCheckpoints [MainThread]: Checkpoint handling.
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Local NDB Endpoint socket: [/var/tmp/virtnbdbackup.2632427]
[2023-01-29 17:49:44] INFO root virtnbdbackup - main [MainThread]: Temporary scratch file target directory: [/var/tmp]
[2023-01-29 17:49:44] INFO root virtnbdbackup - startBackupJob [MainThread]: Starting backup job.

Workaround:
N/A

@shahidnoorai shahidnoorai added the bug Something isn't working label Jan 30, 2023
@abbbi
Copy link
Owner

abbbi commented Jan 30, 2023

hi,

there has been a past issue on this, the reason for the fsfreeze to stuck was an mysql/mariadb database within the
virtual machine which was not able to be set into consistent mode by the qemu agent. The issue is most probably
some service within your virtual machine causing the trouble. you should be able to reproduce it by using
virsh or direct qemu commands...

@abbbi abbbi added support Usage/support questions. and removed bug Something isn't working labels Jan 30, 2023
@abbbi
Copy link
Owner

abbbi commented Jan 30, 2023

Heres the issue where another user faced the same situation:

#59
#59 (comment)

Theres nothing in virtnbdbackup i can change to fix the issue. You could use the -F option to freeze only specific
filesystem mounts to track down what filesystem is causing the issue.

@shahidnoorai
Copy link
Author

Hi,
Thank you for your reply. After reading the provided threads, I found that the problem is unrelated to CloudLinux or MySQL/MariaDB. According to https://gitlab.com/qemu-project/qemu/-/issues/520, cPanel and securetmp caused this issue. I followed the instructions on the link above and could successfully get a VM backup.
Thank you again for your great script and support. You can close this thread.

@abbbi abbbi closed this as completed Jan 30, 2023
@abbbi abbbi pinned this issue Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Usage/support questions.
Projects
None yet
Development

No branches or pull requests

2 participants