Skip to content
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

zfs set compression=lz4 throws core dump #1251

Closed
marcin-github opened this issue Jan 30, 2013 · 3 comments
Closed

zfs set compression=lz4 throws core dump #1251

marcin-github opened this issue Jan 30, 2013 · 3 comments
Milestone

Comments

@marcin-github
Copy link

# zfs set compression=lz4 zvinci internal error: Invalid argument Aborted (core dumped)

Backtrace is like below:

Core was generated by `zfs set compression lz4 zvinci'.
Program terminated with signal 6, Aborted.
#0 0x0000036aa460aec5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x0000036aa460aec5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x0000036aa460c348 in __GI_abort () at abort.c:91
#2 0x0000036aa4bc7441 in zfs_verror (hdl=, error=, fmt=, ap=) at ../../lib/libzfs/libzfs_util.c:270
#3 zfs_verror (hdl=0x78456adf80, error=2070, fmt=, ap=) at ../../lib/libzfs/libzfs_util.c:255
#4 0x0000036aa4bc795b in zfs_standard_error_fmt (hdl=0x78456adf80, error=22, fmt=fmt@entry=0x36aa4bd1f31 "%s") at ../../lib/libzfs/libzfs_util.c:395
#5 0x0000036aa4bc7b79 in zfs_standard_error (hdl=, error=, msg=) at ../../lib/libzfs/libzfs_util.c:334
#6 0x0000036aa4badc7c in zfs_prop_set (zhp=0x78456af780, propname=, propval=) at ../../lib/libzfs/libzfs_dataset.c:1487
#7 0x0000007844082b30 in set_callback (zhp=, data=) at ../../cmd/zfs/zfs_main.c:3361
#8 0x000000784407dbb9 in zfs_for_each (argc=argc@entry=1, argv=argv@entry=0x3e89d1515f0, flags=flags@entry=0,

types=types@entry=(ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT | ZFS_TYPE_VOLUME), sortcol=<optimized out>, sortcol@entry=0x0, proplist=proplist@entry=0x0, 
limit=limit@entry=0, callback=callback@entry=0x7844082b10 <set_callback>, data=data@entry=0x3e89d151480) at ../../cmd/zfs/zfs_iter.c:469

#9 0x0000007844081c76 in zfs_do_set (argc=3, argv=0x3e89d1515e0) at ../../cmd/zfs/zfs_main.c:3419
#10 0x000000784407ced3 in main (argc=4, argv=0x3e89d1515d8) at ../../cmd/zfs/zfs_main.c:6402

zfs at commit dbf763b.

@behlendorf
Copy link
Contributor

@marcin-github My suspicion is your user space utilities are out of sync with the loaded ZoL kernel modules. In particularly, it appears the new kernel modules with the new feature we not loaded on your system. Now that shouldn't cause the utilities to core dump but still I suspect that's your issue. I'd rebuild everything and make sure the old modules get unloaded.

@marcin-github
Copy link
Author

You are completly right Brian. I was planning to unload/load modules but I have to did something else, next I was sure I have new modules loaded.

@behlendorf
Copy link
Contributor

Great, then I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants