zfs corruption

Volodymyr Kostyrko c.kworr at gmail.com
Mon Jul 19 00:39:18 UTC 2010


Hi all.

I have trouble accessing one zpool. It's set as bootable an it even 
manages to load and start kernel, so I suppose I can rip some files off 
it. Yet after loading kernel it spits out:

panic: solaris asser: sm->sm_space + size <= sm->sm_size, file: 
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c, 
line:96

Line number is incorrect, I have added some extra code to obtain values:
sm->sm_space = 2147483648
size = 34304
sm->sm_size = 2147483648

Yes, sm_space is equal to sm_size here, and this leads to panic.

I'm still trying to page the code to understand where I can patch the 
driver to obtain a read only access.

Have anyone saw that before? If so could someone spare some bits of 
knowledge?

-- 
Sphinx of black quartz judge my vow.



More information about the freebsd-fs mailing list