Closed gitercn closed 1 year ago
I have this same problem! Cannot delete a corrupted dataset. It show "Cannot iterate filesystems: I/O Error" But the weird part is that zfs mount -a aborts and i have partially mounted pools
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
System information
Describe the problem you're observing
I had some issues with bad cables that caused my zpool can't import some days ago. Then I changed these cables and used
zpool import -f -F -T <tgx> poolname
to revert it to a previous state (the steps are: https://github.com/openzfs/zfs/issues/6497#issuecomment-917718107). Now there are still some permanent errors with some zvols when I check withzpool status -v
. I want to destroy these zvols to clean these errors, but I can't destroy them (except one of them), it showscannot open 'xxx': I/O error
. How to get rid of them?This is what it looks like after destroyed
zfs52/enc/vol/subvol-103-disk-0
. All others are still there...Describe how to reproduce the problem
Not sure how to reproduce because it's initially caused by bad cables.
Include any warning/errors/backtraces from the system logs
dmesg log appears to be normal. The only warning are these (unknown if it's related with zfs or not)