anyone compile and install ZFS manually?
Phil Marsh
microcraftx at gmail.com
Fri Dec 8 20:39:38 UTC 2023
Hi Stephen, all,
It appears that the OpenZFS compile from source worked on my Ubuntu 22.04
for ZFS 2.2.2 and it still works after the recent kernel update. My package
manager is reporting ZFS 2.2.2-1 and zfs-dkms 2.2.2-1 installed. There is
no zsys, zfsutils-linux nor zfs-initramfs installed, but I'm not going to
be running ZFS on root anyway. Might look into a BTRFS mirror for root
instead.
Yes, I know that the maintainers of Ubuntu 22.04 have an upgrade to 2.1.14
on their schedule, but who knows how long that could take? I'm a bit
paranoid about getting data trashed, even though I know this is an old bug.
If it can fail, it usually fails on my watch. I'm going to try this again
from the top on another system.
I'll keep you posted on my adventures in ZFS.
Thanks,
Phil
On Fri, Dec 8, 2023 at 2:00 AM Phil Marsh <microcraftx at gmail.com> wrote:
> Hi Stephen,
> I probably could run the "make install" ZFS version in a chroot if I
> really wanted badly to use ZFS 2.1.14 prior to Ubuntu including it in their
> updates?
> That way, the installation wouldn't mess up the OS. But then, I bet you'd
> have to bind the mount directory in the chroot. Sounds like more trouble
> than it's worth.
> Thanks,
> Phil
>
> On Thu, Dec 7, 2023 at 4:02 PM Stephen Warren <
> swarren-tag-list-nclug at wwwdotorg.org> wrote:
>
>> On 12/7/23 15:23, Phil Marsh wrote:
>> > Also another question.
>> > The method I proposed to build and install ZFS 2.2.2 in my previous
>> > email apparently leaves out the following: at least I don't see them in
>> > the installed packages in synaptic.
>> > zfs-dkms
>> > zfs-initramfs
>> > zfs-zed
>> > zfsutils-linux
>> > Perhaps those are installed, sidestepping apt package manager, via
>> > sudo make install; sudo 1dconfig; sudo demod
>>
>> I would personally avoid running "make install" as root for any SW on a
>> system that has an OS-supplied package manager. If you do so, then want
>> to remove the installed files, or install an OS package that contains
>> those files, e.g. if Ubuntu updates their ZFS, or you find a PPA that
>> supplies the version you need, you will be unhappy.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nclug.org/pipermail/nclug/attachments/20231208/e0be53b9/attachment.htm>
More information about the NCLUG
mailing list