Selective import at boot

All your general support questions for OpenZFS on OS X.

Selective import at boot

Postby hamiid » Fri Jul 30, 2021 2:38 am

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
hamiid
 
Posts: 3
Joined: Tue Nov 28, 2017 1:08 pm

Re: Selective import at boot

Postby lundman » Fri Jul 30, 2021 2:24 pm

Change that script from "import -a" to "import POOLNAME" would work.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: No registered users and 38 guests

cron