-
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
Debian Buster Root on ZFS - Step 1.5 Install ZFS in the Live CD environment - Problem - fail on apt install --yes -t buster-backports zfs-dkms #9599
Comments
@jose7007 The maintainers are very busy at times and your Issue is quite long... So think they skimmed over it... If you want a wiki page changed, it helps to be as specific as possible... Good find and nice amount of research on the issue though, thanks! @behlendorf I see no problem in replacing:
with:
In: Under:
|
using the debian buster vagrant image:
same result with the official documentation command this eventually results in the error:
|
@drewmullen Please don't add to an issue and make the actual solution go down... |
The solution does not work. what part about that isn't relevant to the discussion? |
@drewmullen I didn't get that you said the solution meantioned in the issue doesn't work. Sorry. |
np @Ornias1993 - i probably could have been more clear in my comment. i appreciate the apology. I'll try again, error: $ modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/4.19.0-5-amd64 commands run as root on fresh vm:
I suppose this could be a problem with Vagrant or Virtualbox but that seems less likely. Can try it easily yourself here: |
I got it working!
I updated my kernel and the commands are working great. idk much about how debian bundles the kernel per release (i think red hat maintains the same for an entire version lifecycle) but I'm guessing the vagrant box image is just slightly behind on the patch version. For any future person with this issue - ill publish working commands to the vagrantfile linked above https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946393 Once the kernel was updated, the updated commands worked great. thanks for the fix @jose7007 @Ornias1993 |
@jose7007 Thanks for the bug report and fix. I've merged this change in ccad9f9b489adb6fba6c9fa61cf3e8dfeb366ce0 in the wiki. @drewmullen Your issue is a bit different. As you found, the kernel in your image did not have headers available in the archive. There's not much we can do about that sort of thing. The kernel headers are required to build the module. @Ornias1993 I maintain the Debian and Ubuntu HOWTOs, so please tag me instead of behlendorf. |
System information
Describe the problem you're observing
I have installed Debian 10 Buster in my PC:
uname -a
Linux USER 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux
First, I want to install zfs and zpool utils in my system to work with others HDDs.
Describe how to reproduce the problem
I am doing some steps of:
https://github.com/zfsonlinux/zfs/wiki/Debian-Buster-Root-on-ZFS
and:
https://wiki.debian.org/ZFS
I have update buster and buster-backports repositories.
Note:
I haven't used a LiveCD, I have Debian 10 Buster installed in my PC
1.5 Install ZFS in the Live CD environment:
apt install --yes debootstrap gdisk dkms dpkg-dev linux-headers-$(uname -r)
To this point all is right.
The problem is in this step:
apt install --yes -t buster-backports zfs-dkms
Include any warning/errors/backtraces from the system logs
At the same step I am installing zfs-dkms and zfsutils-linux:
The same issue:
zfs-dkms install fail on debian buster #9462
[https://github.com//issues/9462]
Possible solution:
I have replaced the command:
apt install --yes -t buster-backports zfs-dkms
By the command:
apt install --yes -t buster-backports zfs-dkms --no-install-recommends
After that:
modprobe zfs
apt install --yes -t buster-backports zfsutils-linux
zfsutils-linux is installed:
dpkg -l | grep -i zfsutils-linux
ii zfsutils-linux 0.8.2-2~bpo10+1 amd64 command-line tools to manage OpenZFS filesystems
zfs tool is installed:
zfs version
zfs-0.8.2-2~bpo10+1
zfs-kmod-0.8.2-2~bpo10+1
zpool tool is installed:
zpool version
zfs-0.8.2-2~bpo10+1
zfs-kmod-0.8.2-2~bpo10+1
Request:
Can the "Debian Buster Root on ZFS" developer try and/or update the steps?
apt install --yes -t buster-backports zfs-dkms --no-install-recommends
modprobe zfs
apt install --yes -t buster-backports zfsutils-linux
Thank you
The text was updated successfully, but these errors were encountered: