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

Hangs when running dbdctl destroy #374

Closed
yito24 opened this issue May 10, 2024 · 2 comments
Closed

Hangs when running dbdctl destroy #374

yito24 opened this issue May 10, 2024 · 2 comments

Comments

@yito24
Copy link

yito24 commented May 10, 2024

If it have a partition layout where /home is separate, attempting to destroy a snapshot of /home will hang.

Does not occur on RHEL9.3.
This is occurring on RHEL8.9.

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 100G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
├─sda3 8:3 0 50G 0 part /
├─sda4 8:4 0 4G 0 part [SWAP]
└─sda5 8:5 0 44.5G 0 part /home 
sr0 11:0 1 1024M 0 rom
datto0 253:0 0 600M 1 disk
datto1 253:1 0 1G 1 disk
datto2 253:2 0 50G 1 disk
datto3 253:3 0 44.5G 1 disk -------->When I run "dbdctl destroy 3", hang here.

I tried below driver.
0.11.8 Not hang ------> New status
0.11.7 hang
0.11.6 hang
0.11.5 hang
0.11.4 hang
0.11.3 hang
0.11.0 hang
0.10.16 Not hang

@lianghairun93
Copy link

When both a vfat partition and other partitions exist, destroy the snapshot may cause a hang。
The following scenarios were tested:
I tested the following scenarios on CentOS 7.9:
1.sdb
├─sdb1 vfat BB2E-8006
└─sdb2 xfs eef96e9a-290c-4841-8652-6ae80e7a4f3a
hang

2.sdb
├─sdb1 vfat BB2E-8006
not hang

3.sdb
└─sdb1 xfs eef96e9a-290c-4841-8652-6ae80e7a4f3a
not hang

@yito24
Copy link
Author

yito24 commented Sep 13, 2024

Hi lianghairun93,

I tested with the 0.11.8 driver.
I confirmed that this issue is resolved in RHEL7.x and RHEL8.x

I tested similar configuration.

NAME SIZE TYPE FSTYPE
sda 100G disk
├─sda1 200M part vfat
├─sda2 1G part xfs
├─sda3 3.9G part swap
├─sda4 50G part xfs
└─sda5 44.9G part xfs
sdb 16G disk
├─sdb1 2.1G part vfat
└─sdb2 14G part xfs

However, I didn't occur hangs.
I'll close this issue as I believe it's fixed in v0.11.8.

@yito24 yito24 closed this as completed Sep 19, 2024
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

2 participants