Open doug-last opened 1 month ago
I'm also encountering this problem after a power failure. @doug-last, did you have any luck importing your pool?
I'm also encountering this problem after a power failure. @doug-last, did you have any luck importing your pool?
no luck, also tested with a few random live-boot images, also no luck, i'm waiting and wishing for it to be fixed on an update since it was my backup and storage system, and i have no backup of backup (no where else to backup), i expected to be able to at least read the contents in case of failure or whatever..
@doug-last fyi, even though i cannot import my pool i'm having luck recovering the data with this script: https://gist.github.com/giucam/d2a43b2dd6ca918fcfcaf07a45485df7
recover.sh dir/in/pool recovered/
@doug-last fyi, even though i cannot import my pool i'm having luck recovering the data with this script: https://gist.github.com/giucam/d2a43b2dd6ca918fcfcaf07a45485df7
recover.sh dir/in/pool recovered/
Didn't work for me, even on zdb i'm getting the same error:
root@proxmox:/# zdb -e -O 'pool 1' '/'
dmu_bonus_hold(os, object, dl, &dl->dl_dbuf) == 0 (0x34 == 0)
ASSERT at module/zfs/dsl_deadlist.c:308:dsl_deadlist_open()Aborted
@doug-last Right, i had also made some changes to the zfs code to avoid the crashes: https://gist.github.com/giucam/d2a43b2dd6ca918fcfcaf07a45485df7#file-0001-make-it-not-crash-patch You can apply that patch on top of the zfs 2.2.4 tag. You don't need to replace the kernel module, just the userspace binaries.
@doug-last Right, i had also made some changes to the zfs code to avoid the crashes: https://gist.github.com/giucam/d2a43b2dd6ca918fcfcaf07a45485df7#file-0001-make-it-not-crash-patch You can apply that patch on top of the zfs 2.2.4 tag. You don't need to replace the kernel module, just the userspace binaries.
Applied the path and compiled the whole thing: zdb:
sudo zdb -e -O 'pool 1' '/' -v
failed to lookup dataset=pool 1 path=/: No such file or directory
(also tries a few folders that i could remember, same result) zpool import:
sudo zpool import -f 'pool 1'
cannot import 'pool 1': I/O error
Destroy and re-create the pool from
a backup source.
on dmesg:
[set11 15:03] WARNING: can't open objset 2011, error 5
[ +0,000103] WARNING: can't open objset 2199, error 5
[ +0,441889] WARNING: can't open objset 94, error 5
...repeats...
System information
running system: promox Virtual Environment 8.2.4 pool created on: truenas
uname -a: Linux proxmox 6.8.8-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.8-2 (2024-06-24T09:00Z) x86_64 GNU/Linux OpenZFS Version | zfs-2.2.4-pve1 zfs-kmod-2.2.4-pve1
Describe the problem you're observing
i'm unable to import a pool with zpool import on truenas results in reboot on proxmox it panics and freeze zfs tools
Describe how to reproduce the problem
pool:[
then using 'zpool import -f "pool 1" ' as instructed above: warning on bare metal monitor (not frozen ssh console):
on dmesg: