The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-26 11:49:20

I installed Daeldalus from netinstall with only ssh.

nano /etc/apt/sources.list

deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware non-free contrib

apt update
apt install linux-headers-$(uname -r) linux-image-amd64  kmod zfsutils-linux

(takes a long time)

   - Installing to /lib/modules/6.1.0-21-amd64/updates/dkms/
depmod....
Setting up linux-headers-6.1.0-21-amd64 (6.1.90-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-21-amd64.
dkms: autoinstall for kernel: 6.1.0-21-amd64.
Setting up g++ (4:12.2.0-3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Setting up linux-headers-amd64 (6.1.90-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-21-amd64
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Processing triggers for ca-certificates (20230311) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
 zfsutils-linux
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@d5-zfs:~/.ssh#

I didn't look further what error it was (sorry).
I tried installing again:
apt install linux-headers-$(uname -r) linux-image-amd64
apt install  kmod zfsutils-linux zfs-dkms zfs-zed

root@d5-zfs:~/.ssh# apt install linux-headers-$(uname -r) linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.1.0-21-amd64 is already the newest version (6.1.90-1).
linux-image-amd64 is already the newest version (6.1.90-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up zfsutils-linux (2.1.11-1) ...
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/spl.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/znvpair.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zcommon.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/icp.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zavl.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zlua.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zzstd.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zunicode.ko
insmod /lib/modules/6.1.0-21-amd64/updates/dkms/zfs.ko
Mounting ZFS filesystem(s) .
Load ZFS filesystem(s) keys.
Sharing ZFS filesystems .
Setting up zfs-zed (2.1.11-1) ...
Starting ZFS Event Daemon .
root@d5-zfs:~/.ssh# apt install  kmod zfsutils-linux zfs-dkms zfs-zed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kmod is already the newest version (30+20221128-1).
zfsutils-linux is already the newest version (2.1.11-1).
zfs-dkms is already the newest version (2.1.11-1).
zfs-dkms set to manually installed.
zfs-zed is already the newest version (2.1.11-1).
zfs-zed set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@d5-zfs:~/.ssh#

All seems fine

(Added 3 1GB disks)

sudo lsblk
root@d5-zfs:~# sudo lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    0   32G  0 disk
??sda1   8:1    0   31G  0 part /
??sda2   8:2    0    1K  0 part
??sda5   8:5    0  975M  0 part [SWAP]
sdb      8:16   0    1G  0 disk
sdc      8:32   0    1G  0 disk
sdd      8:48   0    1G  0 disk
sr0     11:0    1 1024M  0 rom
root@d5-zfs:~#

root@d5-zfs:~# ls -lh /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 Jun 26 13:14 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jun 26 13:14 ata-VBOX_HARDDISK_VB19b22f4e-d366cedf -> ../../sdb
lrwxrwxrwx 1 root root  9 Jun 26 13:14 ata-VBOX_HARDDISK_VB4bba567c-1d2e5a13 -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 26 13:14 ata-VBOX_HARDDISK_VB4bba567c-1d2e5a13-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 26 13:14 ata-VBOX_HARDDISK_VB4bba567c-1d2e5a13-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 26 13:14 ata-VBOX_HARDDISK_VB4bba567c-1d2e5a13-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Jun 26 13:14 ata-VBOX_HARDDISK_VBab7c48ef-bbd457ab -> ../../sdd
lrwxrwxrwx 1 root root  9 Jun 26 13:14 ata-VBOX_HARDDISK_VBacc7b9a1-936214d4 -> ../../sdc
root@d5-zfs:~#

zpool create -f -m /zfs zpool \
               raidz \
                  ata-VBOX_HARDDISK_VB19b22f4e-d366cedf \
                  ata-VBOX_HARDDISK_VBacc7b9a1-936214d4\
                  ata-VBOX_HARDDISK_VBab7c48ef-bbd457ab

root@d5-zfs:~# zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zpool  2.75G   217K  2.75G        -         -     0%     0%  1.00x    ONLINE  -
root@d5-zfs:~#

root@d5-zfs:~# zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zpool  2.75G   217K  2.75G        -         -     0%     0%  1.00x    ONLINE  -
root@d5-zfs:~# zpool status
  pool: zpool
 state: ONLINE
config:

        NAME                                       STATE     READ WRITE CKSUM
        zpool                                      ONLINE       0     0     0
          raidz1-0                                 ONLINE       0     0     0
            ata-VBOX_HARDDISK_VB19b22f4e-d366cedf  ONLINE       0     0     0
            ata-VBOX_HARDDISK_VBacc7b9a1-936214d4  ONLINE       0     0     0
            ata-VBOX_HARDDISK_VBab7c48ef-bbd457ab  ONLINE       0     0     0

errors: No known data errors
root@d5-zfs:~#

root@d5-zfs:~# zfs list
NAME    USED  AVAIL     REFER  MOUNTPOINT
zpool   145K  1.71G     30.6K  /zfs

I saw no errors when rebooting.
There is a /zfs directory of 1745 MB that I can write to etc.

I hope this can be of some help.

#2 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-26 07:31:58

I have not seen these kinds of problems.
If I have time, I will make a Virtualbox VM and install Daeldalus and zfs and see how it goes.

#3 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-24 14:02:39

OK, I got it to work!
So, maybe that someone else has some use of what I did:

nano /etc/apt/sources.list

deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib
deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware non-free contrib

apt update

apt install linux-headers-$(uname -r) linux-image-amd64  kmod zfsutils-linux
apt install zfsutils-linux zfs-dkms zfs-zed
zpool import stor -f
zpool list

zfs list
NAME   USED  AVAIL     REFER  MOUNTPOINT
stor  1.31M  3.51T      128K  /zfs

Success!

I hope I did not miss anything, since this was done after a previous failure.

#4 Re: Installation » zfs setup package - missing dependencies leads to failed setup » 2024-06-24 08:21:56

I don't know if this related, but I ran into a problem installing zfs (on daedalus on PC).
The building of the module hangs and and I had to stop it.
Now I can also not remove it because it says:
dpkg was interrupted, you must manually run 'dpkg --reconfigure -a'
to correct the problem.

But when I do that it hangs again.
Can someone please tell me what can be done about this?

Edit:
OK, I ran it again after a reboot and after a very long time, it finished with unconfigured packages.
I then ran remove and autoremove
and it looks ok now.

So, how can I install zfs, please?

#5 Re: Other Issues » should I use unattended-upgrades? » 2024-04-14 17:17:15

Thanks for your reply.
So I will leave it for the time being.

So a test on a local server beforehand is advised.

Yes, I do that always.

#6 Other Issues » should I use unattended-upgrades? » 2024-04-13 13:06:07

Kiergan
Replies: 3

Hello everyone,

I run a few servers on Devuan, for fun, mostly.
It has come to my attention that there is such a thing as unattended-upgrades, mostly via the Ubuntu-people where it is pre-installed.

My question: Is this a good practice, to run this on my servers?
Normally I like to see what gets installed and not run anything that is not needed.

I do not run testing, just standard stuff, so that exploit of late, that affected some ssh-stuff would not have had any impact anyway.
O.t.o.h. some servers are off-site and a wrong update that somehow prevents me from logging in remotely would be quite inconvenient.

Love to see your thoughts on this.

-greetings

#7 Re: Off-topic » Your thoughts on: TheCaseForTheUsrMerge » 2022-06-12 11:19:25

@Head_on_a_Stick
I do not know enough of Linux to be able to care or not care, it was just that it turned up at the install that I was doing and I had not come across it before.
Though veteran, perhaps, I am not an *nix-veteran.
Therefore, I thought to ask about it here.

And t.b.h. the fact that the article was linked below a systemd directory made me a little suspicious.

#8 Off-topic » Your thoughts on: TheCaseForTheUsrMerge » 2022-06-08 07:32:54

Kiergan
Replies: 15

While Installing Mint on someone's laptop, I came across the recommendation to convert the system with USRmerge.
https://www.freedesktop.org/wiki/Softwa … eUsrMerge/

After reading, I was left with the question: Is this some new BS or is there really some merit in this idea?

Edit:
After a little digging:
https://lwn.net/Articles/773342/
This seems to go back for more than 10 years.

And I am now left with the idea that my initial feeling is probably right.

Anyone who wants to share their thoughts on this?

Edit:
Hmm, this seems to be a controversial topic.
Please let me know if it is not ok to have it posted here.

Edit2:
https://wiki.debian.org/UsrMerge says:
Will switching to a merged /usr be mandatory?
In February 2021, the Technical Committee has resolved that Debian 'bookworm' should support only the merged-usr root filesystem layout, dropping support for the non-merged-usr layout.

What will happen in Devuan concerning this?

#9 Re: Installation » Looking for advice for upgrading from Ascii to Chimaera. » 2021-11-07 19:48:24

Hmm, that sounds much more serious than I had expected.
I guess that will be a long trip then, somewhere in spring, hopefully the weather will be nice then :-)

How long will Chimaera be supported? Will this become what they call a LTS-version?

#10 Installation » Looking for advice for upgrading from Ascii to Chimaera. » 2021-11-06 11:50:43

Kiergan
Replies: 3

Hi all,

I take care of a (very) remote server that is still running Ascii.
Is it wise/easy/doable/difficult/unwise to remotely upgrade it to Chimaera?
(I normally do a new install, when I want to run a new version and that's it.)

The server has all the current updates.

Can I remotely upgrade directly to Chimaera or need it be upgraded to Beowulf first?

The server is more than 1000 km away and there are no technical people available there so I want to play sure as much as is possible.
I might visit there in 6 months, perhaps later. Would it be more wise to wait until then?

#11 Re: Other Issues » ifup wait at boot » 2021-10-11 13:02:05

Thanks for your quick reply.
I will give that a try. ( I went to try Devuan 3.0.0 but it behaves the same, so might as well go again install 3.1.1 then.)
I am not such a Veteran, at least not on *nix, so I used a MX-linux installer to make changes in the root.
I have heard of this chroot you mention, I did LFS once, but I have to look up everything, there is not much that I know by heart, on Linux.

Edit:
Thanks, the
auto eth0 in /etc/network/interfaces
works.

Now to find a way to fix this in the installer .iso

#12 Re: Other Issues » ifup wait at boot » 2021-10-11 10:44:50

Hi,
I have this problem when booting for the 1st time after installing the net-install and also the server-install Devuan 3.1.1 Beowulf.
How can I make the needed changes when I can not boot?
Do I need to get a rescue-cd or is it possible to modify the installer?

I have not had this problem before, with older versions.

Edit:

I booted with a rescue-cd and modified the file etc/network/interfaces
Now it boots, but I get no IP, (state DOWN)

This is very inconvenient.

edit:
/sbin/ifconfig eth0 up
dhclient

gave me an IP.

How to fix this, so it will get an IP on boot, like normal?

#13 Re: News & Announcements » Devuan 2.0 ASCII Release Candidate » 2018-05-11 11:52:41

13K views in 2 days smile
It shows that even though there are not many replies, many are following the progress.
The release will be 'When ready", I assume?
I am preparing a new install (CLI-only) and would like to start with ASCII if possible.

#14 Other Issues » Setting up Webmin - hangs, any tips, help? » 2017-06-10 15:38:45

Kiergan
Replies: 1

Hi,

I want to install Webmin (1.840) like I do on all my boxes but the setup hangs after
.
.
.
** Initializing cache.
Setting up webmin (1.840) .....
nothing more after that.

Most likely it expects systemd, because I did not see this line show up during the installation process, where it does show up when I install it on Debian 8.8.

I know that Webmin used to install fine on Wheezy, and probably still does, so it should be not too hard to make this work.(?)
But I do not know all that much about Linux, but sysadmin for windows for many years does mean I can read and follow instructions.

Anyone able to give some tips or help?
That would be very much appreciated.

I really would like to be able to change all my boxes to Devuan in the near future.

#15 Re: News & Announcements » Devuan Jessie 1.0.0 Stable LTS is here!!! » 2017-05-31 18:05:37

Specially registered to say: Congratulations with reaching this milestone!
At least I can contribute enthousiasm smile

Board footer

Forum Software