Page 1 of 1

Selective import at boot

PostPosted: Fri Jul 30, 2021 2:38 am
by hamiid
How can I only import certain pools at boot time?
Is this possible?

Do I need to edit
Code: Select all
/usr/local/zfs/libexec/zfs/launchd.d/zpool-import-all.sh
?
It seems that script launches and job which tries to import all disks in
Code: Select all
/var/run/disk/by-id

Re: Selective import at boot

PostPosted: Fri Jul 30, 2021 2:24 pm
by lundman
Change that script from "import -a" to "import POOLNAME" would work.