How to import a pool in Mac OS "safe mode"?

All your general support questions for OpenZFS on OS X.

How to import a pool in Mac OS "safe mode"?

Postby patmuk » Fri Jan 18, 2019 12:44 am

Hi,

I crashed my system by trying to symlink the iCloud folder in ~/Library/Mobile\ Documents to another location ... shouldn't be done, now my Mac crashes after a few seconds, even when there is no user logged in (it runs Sierra).

However, it is fine in "safe mode" - some apple iCloud Account daemon is causing the crash.

But I am not able to import the pools. Diskutil shows my drives, but
zpool import
returns
no pools available to import
same with giving a device name, the pool number, the pool name, ...
The only command which returns meaningful data is
zpool import -d /dev
Code: Select all
   pool: secure_bup
     id: 6202715003095819667
  state: ONLINE
 status: Some supported features are not enabled on the pool.
 action: The pool can be imported using its name or numeric identifier, though
   some features will not be available without an explicit 'zpool upgrade'.
 config:

   secure_bup  ONLINE
     disk8s1   ONLINE

   pool: datapool1
     id: 3571308118281011652
  state: ONLINE
 status: Some supported features are not enabled on the pool.
 action: The pool can be imported using its name or numeric identifier, though
   some features will not be available without an explicit 'zpool upgrade'.
 config:

   datapool1   ONLINE
     mirror-0  ONLINE
       disk6   ONLINE
       disk4   ONLINE

   pool: datapool2
     id: 11302927174597401557
  state: ONLINE
 status: Some supported features are not enabled on the pool.
 action: The pool can be imported using its name or numeric identifier, though
   some features will not be available without an explicit 'zpool upgrade'.
 config:

   datapool2   ONLINE
     mirror-0  ONLINE
       disk2   ONLINE
       disk7   ONLINE

   pool: secure
     id: 8912466580830241136
  state: ONLINE
 status: Some supported features are not enabled on the pool.
 action: The pool can be imported using its name or numeric identifier, though
   some features will not be available without an explicit 'zpool upgrade'.
 config:

   secure       ONLINE
     mirror-0   ONLINE
       disk9    ONLINE
       disk1s1  ONLINE


I forgot which kext needs to be loaded ... maybe I need to do that manually.
Do you have any hints?
patmuk
 
Posts: 19
Joined: Fri May 13, 2016 2:41 pm

Re: How to import a pool in Mac OS "safe mode"?

Postby patmuk » Fri Jan 18, 2019 12:46 am

Loading zfs.kext
/sbin/kextload /Library/Extensions/zfs.kext
didn't help.
patmuk
 
Posts: 19
Joined: Fri May 13, 2016 2:41 pm

Re: How to import a pool in Mac OS "safe mode"?

Postby nodarkthings » Sat Jan 19, 2019 9:54 am

I would try using an app called LaunchControl (there's another one called Lingon) and disable anything with "cloud" in its name — I've done it as a regular trick as I don't use iCoud, wifi, bluetooth...
The only thing is I'm not absolutely sure you can do it in safe mode, but you don't risk anything trying it.
You could also try cleaning all caches manually...
Of course, if you boot from another drive OS you might have other solutions.
nodarkthings
 
Posts: 174
Joined: Mon Jan 26, 2015 10:32 am

Re: How to import a pool in Mac OS "safe mode"?

Postby lundman » Sun Jan 20, 2019 5:03 pm

You have to load both kexts, so its usually

kextload spl.kext zfs.kext

using full path to both kexts of course.
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: Google [Bot] and 37 guests