Re: Yes, it can be done - Re: Install ZFS root with FAI?

2019-04-10 Diskussionsfäden Steffen Grunewald
On Thu, 2019-04-04 at 10:09:13 +0200, Steffen Grunewald wrote: > On Tue, 2018-12-18 at 11:35:15 +0100, Robert Markula wrote: > > great to hear! Maybe you could write it up in the FAI wiki when you're > > ready so things don't get lost in the mailman archive? > > I've written up something (6 pages

Re: Yes, it can be done - Re: Install ZFS root with FAI?

2019-04-04 Diskussionsfäden Steffen Grunewald
On Tue, 2018-12-18 at 11:35:15 +0100, Robert Markula wrote: > Hi Steffen, > > great to hear! Maybe you could write it up in the FAI wiki when you're > ready so things don't get lost in the mailman archive? I've written up something (6 pages plain text), and eventually found the wiki itself, but

Re: Yes, it can be done - Re: Install ZFS root with FAI?

2018-12-18 Diskussionsfäden Robert Markula
Hi Steffen, great to hear! Maybe you could write it up in the FAI wiki when you're ready so things don't get lost in the mailman archive? Cheers, Robert Am 18.12.18 um 10:22 schrieb Steffen Grunewald: > Finally, I succeeded. > > Boot mode set to Legacy, PXE boot into FAI, with classes, hooks

Yes, it can be done - Re: Install ZFS root with FAI?

2018-12-18 Diskussionsfäden Steffen Grunewald
Finally, I succeeded. Boot mode set to Legacy, PXE boot into FAI, with classes, hooks and scripts. It will take a few more days to iron out minor mistakes, before I can start to make this public ;) I will write up everything I did. Basically, I used input from the following documents, with a few

Getting closer but no cigar yet, Re: Install ZFS root with FAI?

2018-12-14 Diskussionsfäden Thomas Lange
> On Fri, 14 Dec 2018 14:41:37 +0100, Steffen Grunewald > said: > Is there a trick in FAI to force an installation order? FAI itself does only create long list of package names that are then feed to apt, aptitude or apt-get. These tools then decide in which order to install the

Getting closer but no cigar yet, Re: Install ZFS root with FAI?

2018-12-14 Diskussionsfäden Steffen Grunewald
On Fri, 2018-12-07 at 12:21:47 +0100, Steffen Grunewald wrote: > > Setting up a root zpool mirroring three disks, I get > > BOOT_DEVICE="/dev/disk/by-id/ata-INTEL_SSDSC2KW128G8_PHLA805104HX128BGN > /dev/disk/by-id/ata-INTEL_SSDSC2KW128G8_PHLA805102QH128BGN >

Re: Install ZFS root with FAI?

2018-12-07 Diskussionsfäden Steffen Grunewald
On Thu, 2018-11-15 at 19:56:56 +0100, Steffen Grunewald wrote: > On Mon, 2018-11-12 at 12:54:52 +0800, Chris Hsiang wrote: > > Dear Steffen > > > > How do you install debians os afterwards and config grub? follow > > https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS > > or?? > >

Re: Install ZFS root with FAI?

2018-11-15 Diskussionsfäden Steffen Grunewald
On Mon, 2018-11-12 at 12:54:52 +0800, Chris Hsiang wrote: > Dear Steffen > > How do you install debians os afterwards and config grub? follow > https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS > or?? Hi Chris, Basically that's the document, yes. I didn't get that far yet,

Install ZFS root with FAI?

2018-11-11 Diskussionsfäden Chris Hsiang
Dear Steffen How do you install debians os afterwards and config grub? follow https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS or?? Chris > Add a hook: > --- /etc/fai/nfsroot-hooks/90-zfs --- > #!/bin/bash > > export DEBIAN_FRONTEND=noninteractive > $ROOTCMD dpkg-reconfigure

Re: Install ZFS root with FAI?

2018-11-08 Diskussionsfäden Robert Markula
Am 05.11.18 um 11:24 schrieb Steffen Grunewald: > On Sun, 2018-11-04 at 12:35:12 +0100, Robert Markula wrote: >> how do you ensure the ZFS kernel module is present on the Debian >> NFSroot? Adding >> >> PACKAGES install >> zfs-dkms >> zfsutils-linux >> >> to /etc/fai/NFSROOT does not seem to

Re: Install ZFS root with FAI?

2018-11-05 Diskussionsfäden Steffen Grunewald
On Sun, 2018-11-04 at 12:35:12 +0100, Robert Markula wrote: > Hi Remy, > > how do you ensure the ZFS kernel module is present on the Debian > NFSroot? Adding > > PACKAGES install > zfs-dkms > zfsutils-linux > > to /etc/fai/NFSROOT does not seem to build the ZFS kernel module. Add a hook: ---

Re: Install ZFS root with FAI?

2018-11-04 Diskussionsfäden Robert Markula
Hi Remy, how do you ensure the ZFS kernel module is present on the Debian NFSroot? Adding PACKAGES install zfs-dkms zfsutils-linux to /etc/fai/NFSROOT does not seem to build the ZFS kernel module. Robert Am 05.10.18 um 10:33 schrieb Rémy Dernat: > Hi, > > I am not doing this, but I think it

Re: Install ZFS root with FAI?

2018-10-05 Diskussionsfäden Rémy Dernat
Hi, I am not doing this, but I think it should not be to difficult. I have a similar script running as a post-install step; maybe you can use something like this as a script : #!/bin/bash check_zpool() { zfs_value=`/sbin/zpool list|grep -ic "zfs_bigvol"` } check_zpool if [ $zfs_value -eq 0

Install ZFS root with FAI?

2018-10-05 Diskussionsfäden Steffen Grunewald
Good morning, once again I have browsed multiple years of the list archive, without finding anything useful, but it's Firday and I may have gone blind over the past week. What I'm looking for is FAI installation details to set up a root filesystem on ZFS (two mirrored disks, possibly one spare)