Pool import with missing log device

Moderators: jhartley, MSR734, nola

Re: Pool import with missing log device

Post by ilovezfs » Sun Sep 29, 2013 4:44 am

grahamperrin wrote:Reading part of this topic alongside SPL panic on corrupt ZIL log · Issue #43 · zfsonlinux/spl (closed 2011-07-01) makes me wonder whether in ZEVO Community Edition 1.1.1 (a product in development at the time of its release) there's debug code.

Thoughts?

That code is from the open source portion of ZFS.

https://github.com/zfs-osx/zfs/blob/111 ... zil.c#L382

However, asserts are only applied if the build is configured to have them enabled. Solaris lets you suppress them with the aok option I mentioned earlier, which can even be put into the Solaris system settings. ZEVO could probably easily be built without the debug option to suppress the asserts.
ilovezfs Online


 
Posts: 249
Joined: Sun Feb 10, 2013 9:02 am

Re: Pool import with missing log device

Post by grahamperrin » Sun Sep 29, 2013 10:28 am

Thanks again.

Letting slip a little from a private message in October 2012, I just found this:

> … custom package installer for a ZEVO 1.1.1 CE that has kernel assertions disabled …

That customisation was not for me, I have no idea what was involved, I don't have that installer and (sorry) can't offer directions.

This post is just FYI for anyone who's wondering about assertions.

Yours sincerely
Mr Can-Do … but not in this case.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Pool import with missing log device

Post by maxijazz » Wed Oct 02, 2013 11:02 am

ilovezfs wrote:I assume you just had that one dataset?

Yes, sir.

PS. I would love ZEVO implementation was as good as the openindiana's one.
maxijazz Offline


 
Posts: 12
Joined: Wed Sep 19, 2012 8:42 pm

Re: Pool import with missing log device

Post by ilovezfs » Wed Oct 02, 2013 11:30 am

maxijazz wrote:
ilovezfs wrote:I assume you just had that one dataset?

Yes, sir.

PS. I would love ZEVO implementation was as good as the openindiana's one.

You might want to try out the new MacZFS. http://open-zfs.org/wiki/Talk:Distributions
ilovezfs Online


 
Posts: 249
Joined: Sun Feb 10, 2013 9:02 am

ZIL_CLAIM_LR_SEQ_VALID panics after a test with ZFS-OSX

Post by grahamperrin » Fri Oct 11, 2013 11:40 am

maxi jazz wrote:… I did use Live OpenIndiana DVD, imported the "basic" pool, removed "logs" and "cache" from "basic" pool and then cleanly exported. No problems with that, nice experience.
Then upon booting back into OSX i get kernel panic …


"/staging/zevo/src/uts/common/fs/zfs/zil.c:367 ZFS assertion failed: !claimed || !(zh->zh_flags & ZIL_CLAIM_LR_SEQ_VALID) || (max_blk_seq == claim_blk_seq && max_lr_seq == claim_lr_seq)"@/staging/zevo/src/uts/darwin/os/printf.c:43

Without using OpenIndiana, the same appears at http://pastebin.com/9UGvFN09

Code: Select all
Fri Oct 11 14:12:40 2013
panic(cpu 1 caller 0xffffff7f86db11b7): "/staging/zevo/src/uts/common/fs/zfs/zil.c:367 ZFS assertion failed: !claimed || !(zh->zh_flags & ZIL_CLAIM_LR_SEQ_VALID) || (max_blk_seq == claim_blk_seq && max_lr_seq == claim_lr_seq)"@/staging/zevo/src/uts/darwin/os/printf.c:43
Backtrace (CPU 1), Frame : Return Address
0xffffff8119d5b3a0 : 0xffffff800681d636 mach_kernel : _panic + 0xc6
0xffffff8119d5b410 : 0xffffff7f86db11b7 com.getgreenbytes.filesystem.zfs : _assfail + 0x18
0xffffff8119d5b420 : 0xffffff7f86e3e90e com.getgreenbytes.filesystem.zfs : _zil_parse + 0x822
0xffffff8119d5b650 : 0xffffff7f86e40f82 com.getgreenbytes.filesystem.zfs : _zil_replay + 0xc5
0xffffff8119d5b6a0 : 0xffffff7f86e2f35a com.getgreenbytes.filesystem.zfs : _zfsvfs_setup + 0xe3
0xffffff8119d5b6c0 : 0xffffff7f86e34e0c com.getgreenbytes.filesystem.zfs : _zfsx_mount + 0x391
0xffffff8119d5b790 : 0xffffff80068ffb6e mach_kernel : _vfs_addtrigger + 0xfbe
0xffffff8119d5bae0 : 0xffffff800690087a mach_kernel : ___mac_mount + 0x81a
0xffffff8119d5bf10 : 0xffffff8006900059 mach_kernel : _mount + 0x39
0xffffff8119d5bf50 : 0xffffff8006be97ba mach_kernel : _unix_syscall64 + 0x20a
0xffffff8119d5bfb0 : 0xffffff80068cf453 mach_kernel : _hndl_unix_scall64 + 0x13
      Kernel Extensions in backtrace:
         com.getgreenbytes.filesystem.zfs(2012.9.23)[04497DBB-8849-31D8-8496-BE10E5711C53]@0xffffff7f86da6000->0xffffff7f86f40fff
            dependency: com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f86d79000
 
BSD process name corresponding to current thread: zpool
Boot args: -v keepsyms=y
 
Mac OS version:
12F45


Discussion

MacZFS-devel > OpenZFS ZFS-OSX (osx.zfs-signed-20131011.dmg): testing
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Previous

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 0 guests

cron