Very slow to mount after importing?

All your general support questions for OpenZFS on OS X.

Very slow to mount after importing?

Postby nixcamic » Wed Jul 15, 2015 7:33 am

After booting it takes a good 5 minutes for my pool to *mount*. During this time zpool status reports the pool to be online. Scrubs find no errors. Trying to run zpool export/import during this time either leads to a panic or the pool successfully exporting, then importing again and taking 5 minutes to mount. I'm running 1.3.2-RC1 but I've been having this issue since 1.3.0 or 1.3.1. OS X 10.10.3 on a hackintosh.

pool: Blitz
state: ONLINE
scan: scrub repaired 0 in 8h40m with 0 errors on Fri May 1 18:14:57 2015
config:

NAME STATE READ WRITE CKSUM
Blitz ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
PCI0@0-SAT0@1F,2-PRT1@1-PMP@0-@0:1 ONLINE 0 0 0
PCI0@0-SAT0@1F,2-PRT0@0-PMP@0-@0:1 ONLINE 0 0 0

errors: No known data errors


This is during the 5 minutes waiting for it to mount.
nixcamic
 
Posts: 8
Joined: Wed Aug 06, 2014 6:13 am

Re: Very slow to mount after importing?

Postby lundman » Wed Jul 15, 2015 4:13 pm

See if there are any messages in /var/log/system.log - one thing it could be is the unlinked drain reclaim. We added progress output of it in the later versions.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Very slow to mount after importing?

Postby nixcamic » Thu Jul 16, 2015 4:22 pm

All I see in system.log (pertaining to zfs that is) is:


Jul 16 18:12:02 Micahs-Mac-Pro kernel[0]: ZFS: 'Blitz' mount using last_unmount value 0
Jul 16 18:12:02 Micahs-Mac-Pro.local zed[1093]: eid=4 class=config.sync pool=Blitz
Jul 16 18:12:02 Micahs-Mac-Pro.local zed[1097]: eid=4 class=config.sync pool=Blitz
Jul 16 18:12:02 Micahs-Mac-Pro.local sudo[1099]: root : TTY=unknown ; PWD=/ ; USER=nixcamic ; COMMAND=/usr/bin/osascript -e display notification "zpool.cache file has been renamed" with title "config.sync"
Jul 16 18:12:02 Micahs-Mac-Pro.local zed[1104]: eid=5 class=zpool.import pool=Blitz
Jul 16 18:12:02 Micahs-Mac-Pro.local zed[1106]: Pool import Blitz
Jul 16 18:12:02 Micahs-Mac-Pro.local sudo[1108]: root : TTY=unknown ; PWD=/ ; USER=nixcamic ; COMMAND=/usr/bin/osascript -e display notification "Pool Blitz imported." with title "Pool import"
Jul 16 18:15:09 Micahs-Mac-Pro kernel[0]: ZFS: unlinked drain (Total entries: 0).


Also, I never get any of these notifications.
nixcamic
 
Posts: 8
Joined: Wed Aug 06, 2014 6:13 am


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 26 guests