-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Zpool import fails #1784
Comments
@supergerdmeier It sounds like the file system's unlinked set might have a lot of entries in it. Obviously the crash you're seeing shouldn't be happening but it would be interesting to know if there's a lot of pending deletes. You should be able to do something like
Finding out whether your file system has a large unlinked set would be a good starting point. BTW, I'd expect its unlinked set to be large if most/all of the files you deleted had xattrs (unless you're using xattr=sa). |
I executed |
I had not considered to ask about DDT. It sounds like you're on the right track now. |
Since i completed the Send/Receive i cant import both filesystems without problems... Strange. zfsonlinux rules! |
@supergerdmeier If you have your old dedupped filesystem around, could you please run |
I already deleted files of my old pool (forgot this issue here). |
This has gotten a bit stale but there appears to be a legitimate dedup bug here. I'm leaving it open for now. |
I recently deleted about 1TB of files in my pool.
After the system finished its hdd-io i rebooted the system.
Since then im not able anymore to mount my pool.
System:
CPU: Intel Xeon E3-1265L v2
Mainboard: Intel S1200KPR
Storage-Controller: IBM M1015 (Flashed to LSI 9211-8 it)
RAM: 2x8gb ECC
OS: Ubuntu 12.10.3
ZFS Info:
ZFS-Version: Version: 0.6.2-1~precise
4 WD-RED in Raid-Z
The following happens when i try to import the pool:
Oct 12 19:27:25 henrik-server kernel: [ 1747.859353] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Oct 12 19:27:25 henrik-server kernel: [ 1747.859412] IP: [] prepare_to_wait+0x74/0x90
Oct 12 19:27:25 henrik-server kernel: [ 1747.859453] PGD 0
Oct 12 19:27:25 henrik-server kernel: [ 1747.859469] Oops: 0002 [#1] SMP
Oct 12 19:27:25 henrik-server kernel: [ 1747.859494] Modules linked in: ip6table_filter(F) ip6_tables(F) ebtable_nat(F) ebtables(F) ipt_MASQUERADE(F) iptable_nat(F) nf_nat_ipv4(F) nf_nat(F) nf_conntrack_ipv4(F) nf_defrag_ipv4(F) xt_state(F) nf_conntrack(F) ipt_REJECT(F) xt_CHECKSUM(F) iptable_mangle(F) xt_tcpudp(F) iptable_filter(F) ip_tables(F) x_tables(F) bridge(F) stp(F) llc(F) kvm_intel(F) kvm(F) ghash_clmulni_intel(F) aesni_intel(F) ablk_helper(F) cryptd(F) lrw(F) aes_x86_64(F) xts(F) gf128mul(F) gpio_ich(F) hid_generic(F) psmouse(F) usbhid(F) serio_raw(F) hid(F) microcode(F) i915(F) drm_kms_helper(F) drm(F) i2c_algo_bit(F) video(F) mei(F) lpc_ich(F) mac_hid(F) w83627ehf(F) hwmon_vid(F) coretemp(F) lp(F) parport(F) nls_iso8859_1(F) zfs(POF) zcommon(POF) znvpair(POF) zavl(POF) zunicode(POF) spl(OF) zlib_deflate(F) ahci(F) libahci(F) mpt2sas(F) scsi_transport_sas(F) raid_class(F) e1000e(F)
Oct 12 19:27:25 henrik-server kernel: [ 1747.860031] CPU 6
Oct 12 19:27:25 henrik-server kernel: [ 1747.860047] Pid: 3137, comm: txg_sync Tainted: PF O 3.8.0-31-generic #46~precise1-Ubuntu /S1200KP
Oct 12 19:27:25 henrik-server kernel: [ 1747.860107] RIP: 0010:[] [] prepare_to_wait+0x74/0x90
Oct 12 19:27:25 henrik-server kernel: [ 1747.860155] RSP: 0018:ffff8803f2859ae8 EFLAGS: 00010046
Oct 12 19:27:25 henrik-server kernel: [ 1747.860185] RAX: 0000000000000282 RBX: ffff8803ade73f80 RCX: 0000000000000000
Oct 12 19:27:25 henrik-server kernel: [ 1747.860223] RDX: ffff8803f2859b58 RSI: 0000000000000282 RDI: ffff8803ade73f80
Oct 12 19:27:25 henrik-server kernel: [ 1747.860261] RBP: ffff8803f2859b18 R08: 0000000000016d00 R09: ffffea001013d100
Oct 12 19:27:25 henrik-server kernel: [ 1747.860298] R10: ffffffffa00858cb R11: ffffc9003cef918e R12: ffff8803f2859b40
Oct 12 19:27:25 henrik-server kernel: [ 1747.860336] R13: 0000000000000002 R14: ffff8803f3f52e80 R15: 0000000000000001
Oct 12 19:27:25 henrik-server kernel: [ 1747.860375] FS: 0000000000000000(0000) GS:ffff88041f380000(0000) knlGS:0000000000000000
Oct 12 19:27:25 henrik-server kernel: [ 1747.860418] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 12 19:27:25 henrik-server kernel: [ 1747.860449] CR2: 0000000000000008 CR3: 0000000001c0d000 CR4: 00000000001407e0
Oct 12 19:27:25 henrik-server kernel: [ 1747.860487] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 12 19:27:25 henrik-server kernel: [ 1747.860525] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 12 19:27:25 henrik-server kernel: [ 1747.860563] Process txg_sync (pid: 3137, threadinfo ffff8803f2858000, task ffff8803f3f52e80)
Oct 12 19:27:25 henrik-server kernel: [ 1747.860607] Stack:
Oct 12 19:27:25 henrik-server kernel: [ 1747.860620] 00000000000001c0 ffff8803ade73e00 ffff8803f2859bb8 ffff8803ade73f60
Oct 12 19:27:25 henrik-server kernel: [ 1747.860668] ffff8803f2859b58 ffff8803ade73f80 ffff8803f2859b98 ffffffffa0091551
Oct 12 19:27:25 henrik-server kernel: [ 1747.860716] ffff8803ade73f28 0000000000020000 ffff880404d1a000 0000000000000000
Oct 12 19:27:25 henrik-server kernel: [ 1747.860764] Call Trace:
Oct 12 19:27:25 henrik-server kernel: [ 1747.860794] [] __cv_destroy+0xd1/0x190 [spl]
Oct 12 19:27:25 henrik-server kernel: [ 1747.860829] [] ? add_wait_queue+0x60/0x60
Oct 12 19:27:25 henrik-server kernel: [ 1747.860886] [] ddt_free+0x3a/0x50 [zfs]
Oct 12 19:27:25 henrik-server kernel: [ 1747.860938] [] ddt_sync+0x278/0x6b0 [zfs]
Oct 12 19:27:25 henrik-server kernel: [ 1747.860972] [] ? __wake_up+0x53/0x70
Oct 12 19:27:25 henrik-server kernel: [ 1747.861033] [] spa_sync+0x46e/0xae0 [zfs]
Oct 12 19:27:25 henrik-server kernel: [ 1747.861067] [] ? ktime_get_ts+0x4c/0xe0
Oct 12 19:27:25 henrik-server kernel: [ 1747.861130] [] txg_sync_thread+0x2df/0x540 [zfs]
Oct 12 19:27:25 henrik-server kernel: [ 1747.861195] [] ? txg_init+0x250/0x250 [zfs]
Oct 12 19:27:25 henrik-server kernel: [ 1747.861235] [] thread_generic_wrapper+0x78/0x90 [spl]
Oct 12 19:27:25 henrik-server kernel: [ 1747.861279] [] ? __thread_create+0x310/0x310 [spl]
Oct 12 19:27:25 henrik-server kernel: [ 1747.861316] [] kthread+0xc0/0xd0
Oct 12 19:27:25 henrik-server kernel: [ 1747.861345] [] ? flush_kthread_worker+0xb0/0xb0
Oct 12 19:27:25 henrik-server kernel: [ 1747.861382] [] ret_from_fork+0x7c/0xb0
Oct 12 19:27:25 henrik-server kernel: [ 1747.861413] [] ? flush_kthread_worker+0xb0/0xb0
Oct 12 19:27:25 henrik-server kernel: [ 1747.861446] Code: 00 48 87 11 48 89 df 48 89 c6 48 89 55 d8 48 8b 55 d8 e8 60 41 67 00 48 8b 5d e8 4c 8b 65 f0 4c 8b 6d f8 c9 c3 66 90 48 8b 4b 08 <48> 89 51 08 49 89 4c 24 18 48 8d 4b 08 49 89 4c 24 20 48 89 53
Oct 12 19:27:25 henrik-server kernel: [ 1747.861707] RIP [] prepare_to_wait+0x74/0x90
Oct 12 19:27:25 henrik-server kernel: [ 1747.861744] RSP
Oct 12 19:27:25 henrik-server kernel: [ 1747.861763] CR2: 0000000000000008
Oct 12 19:27:25 henrik-server kernel: [ 1748.230774] ---[ end trace 0695373f7596f76b ]---
The text was updated successfully, but these errors were encountered: