You are not logged in.

#1 2021-01-29 23:44:50

LittleSandra
Member
Registered: 2021-01-25
Posts: 75

[SOLVED] How to install ZFS?

Dear all smile

I would like to install ZFS on a fresh ArchLinux, so I follow https://openzfs.github.io/openzfs-docs/ … index.html , but I get the below error:

Can anyone figure out what I need to type to get the requested packages?

Hugs
Sandra smile

[root@backup ~]# pacman -S archzfs-dkms
:: There is 1 member in group archzfs-dkms:
:: Repository archzfs
   1) zfs-dkms

Enter a selection (default=all): 
warning: zfs-dkms-2.0.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) zfs-dkms-2.0.1-1

Total Installed Size:  50.94 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> Unable to remove module zfs/2.0.1 for kernel *: Not found in dkms status output.
:: Processing package changes...
(1/1) reinstalling zfs-dkms                                                                    [########################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> Unable to install module zfs/2.0.1 for kernel *: Missing kernel headers.
[root@backup ~]# 

Last edited by LittleSandra (2021-01-30 00:30:47)

Offline

#2 2021-01-29 23:47:52

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] How to install ZFS?

LittleSandra wrote:
==> Unable to install module zfs/2.0.1 for kernel *: Missing kernel headers.

Install linux-headers?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-01-30 00:30:31

LittleSandra
Member
Registered: 2021-01-25
Posts: 75

Re: [SOLVED] How to install ZFS?

pacman -S linux-headers

did the trick. Thanks smile

Offline

#4 2021-01-30 10:13:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] How to install ZFS?

https://wiki.archlinux.org/index.php/ZFS

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB