-
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
Do not are working commands ZFS... #2803
Comments
@apaxucok did you install them using |
I understand if the ZFS and SPL included in the kernel they need not be further set with 'make install'... linaro-nano:/usr/local/sbin> sudo su |
Maybe this will help as that ... |
Maybe there's another way to install ZFS on Parallella BOARD? But I will say at 2014-10-16 17:38 GMT+04:00 Brian Behlendorf notifications@github.com:
|
One reason this can happen is if you're running a 32-bit binary on a 64-bit system (or vise-versa). There's a nice summary of this issue here. I'm not familiar with parallella but I see it's a ARM board. You'll need to make sure the runtime for the resulting binary is installed. |
Yes on Parallella BOARD a 32 bit processor arm, so the file system is 32-bit.What should I do order to ZFS ran at arm 32 bit? |
@apaxucok Can you run |
So if I run file /usr/local/bin/zpool : |
I will describe how I built the kernel: 22 linaro-nano:~> dmesg | grep -i spl p.s All of these actions were done on Parallella BOARD |
The correct command - 'sudo file /usr/local/sbin/zpool' linaro-nano:~> sudo file /usr/local/sbin/zfs sudo file /usr/local/sbin/spl Then what's the problem? |
@abyxcos Everything looks like it built correctly and the resulting utilities are 32-bit. Have you tried running the zfs/zpool command under |
This does not help...I tried to do so, but the result is the same |
I think if the problem is was in this, then the komand 'sudo su' would have helped... |
@behlendorf What should be included in the kernel for the proper operation of ZFS? For example before installing SPL need to enable '<> Deflate compression algorithm' and '<> Zlib compression algorithm'. |
@apaxucok Yes, you'll need zlib compression and decompression. Although in your case the kernel side appears to have built fine. You very likely wouldn't have been able to load the module if something went wrong. Your issue is with the user space utilities and looks to be something arm specific. |
@apaxucok Try A little bit of research pointed me a ServerFault thread, my understanding is your binary is using some libraries not available at runtime, thus giving you a Please run |
maybe the LD_LIBRARY_PATH is broken |
For @maci0 : linaro@linaro-nano:~$ ls /etc/ld.so.conf.d For @mat128 : linaro@linaro-nano:~$ mount linaro@linaro-nano:~$ cat /etc/fstab UNCONFIGURED FSTAB FOR BASE SYSTEMlinaro@linaro-nano:~$ sudo blkid I so understand that it is necessary configure the file /etc/fstab...I did not encounter this before so need help ... Thanks guys @behlendorf,@maci0 and @mat128 !!! |
Maybe it too, as it will help ... linaro@linaro-nano:~$ cat /etc/mtab |
@apaxucok something is really wrong here .. this is from your output earlier
How can it be that One possibility here is a mixup with the different arm targets. EABI vs. EABI-HF etc.. |
Hmm...What can be done with it? @maci0 |
@apaxucok tbh I would just follow the zfsonlinux guide for generic DEBs and build spl and zfs as kernel modules and not into the kernel directly, also this should create nice packages for the userland tools |
Yes, I agree that the build deb packages would be better, but I have not got it because of this kernel haven't headers and modules... Does not exist headers for this kernel : |
Maybe I should try to recompile the kernel using the Linaro Toolchain (arm-linux-gnueabihf-*)? |
@apaxucok you should compile the kernel and the zfs userland tools with the same toolchain the rest of your userland is compiled with. |
Closing as stale. |
Hello! I compiled the kernel with modules SPL and ZFS for my Parallella board, everything has been successful. After that, I loaded the Ubuntu 14.04 with this kernel and decided to test the native ZFS, but faced with such a problem does not work ZFS commands. Here is the log:
linaro-nano:~> dmesg | grep -i zfs
ZFS: Loaded module v0.6.3-99_g83e9986, ZFS pool version 5000, ZFS filesystem version 5
linaro-nano:~> dmesg | grep -i spl
SPL: Loaded module v0.6.3-10_ge302072
SPLAT: Loaded module v0.6.3-10_ge302072
linaro-nano:~> sudo su
root@linaro-nano:/home/linaro# cd /usr/local/sbin/
root@linaro-nano:/usr/local/sbin# ls
spl splat zdb zfs zinject zpios zpool ztest
root@linaro-nano:/usr/local/sbin# zpool
bash: /usr/local/sbin/zpool: No such file or directory
root@linaro-nano:/usr/local/sbin# z
zcat zenity zinject zipnote zpool
zcmp zfgrep zip zipsplit zpool_layout
zdb zforce zipcloak zless zsoelim
zdiff zfs zipdetails zmore ztest
zdump zgrep zipgrep znew
zegrep zic zipinfo zpios
root@linaro-nano:/usr/local/sbin# ./zpool
bash: ./zpool: No such file or directory
root@linaro-nano:/usr/local/sbin#
And now I do not know what to do next.Please help me...
The text was updated successfully, but these errors were encountered: