[lustre-discuss] problem loading zfs properties for a lustre/zfs fs
Faaland, Olaf P.
faaland1 at llnl.gov
Mon Jul 11 17:02:24 PDT 2016
If you are not booting from a zpool, you do not need the "zfs-dracut" package. This package causes ZFS to be loaded very early in the boot process, most likely before your /etc/modprobe.d/zfs.conf files is visible to the kernel.
As long as you are not booting from a zpool, remove that package (rpm -e) and boot again to see if your problem is fixed.
From: Riccardo Veraldi [Riccardo.Veraldi at cnaf.infn.it]
Sent: Monday, July 11, 2016 4:55 PM
To: Faaland, Olaf P.; lustre-discuss at lists.lustre.org
Subject: Re: [lustre-discuss] problem loading zfs properties for a lustre/zfs fs
On 11/07/16 16:15, Faaland, Olaf P. wrote:
> 1) What is the output of:
> rpm -qa | grep zfs
> from that system after it boots?
> 2) How do those values get into the /etc/modprobe.d/zfs.conf file? Are they there before the node boots, or are modifying that file somehow during the boot process?
I edited those values myself inside zfs.conf then rebooted the system,
but they are not loaded
> Olaf P. Faaland
> Livermore Computing
> From: lustre-discuss [lustre-discuss-bounces at lists.lustre.org] on behalf of Riccardo Veraldi [Riccardo.Veraldi at cnaf.infn.it]
> Sent: Monday, July 11, 2016 3:53 PM
> To: lustre-discuss at lists.lustre.org
> Subject: [lustre-discuss] problem loading zfs properties for a lustre/zfs fs
> I am tailoring my system for lustre on ZFS and I am not able to set
> these parameters
> writing the config file /etc/modprobe.d/zfs.conf with the following options
> options zfs zfs_prefetch_disable=1
> options zfs zfs_txg_history=120
> options zfs metaslab_debug:unload=1
> when I check the parameters after boot in /sys/module/zfs/parameters
> they are still the defaults, and my modification are not taken.
> zfs.conf is being ignored at boot time I do not know why.
> I had to do a
> echo 1 > /sys/module/zfs/parameters/options zfs zfs_prefetch_disable
> inside rc.local
> to have it working
> I am running RHEL7 with latest kernel and zfs 0.6.5.7-1
> any hints ?
> thank you
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
More information about the lustre-discuss