Raidz1 2 disk resilver, now won't load?

All your general support questions for OpenZFS on OS X.

Re: Raidz1 2 disk resilver, now won't load?

Postby lundman » Tue Feb 27, 2018 3:40 am

I'm almost always on IRC, but yes it has been strangely busy lately.

Ok, so your kexts are correct, can we also confirm the commandline tools are what we expect?

which zfs

should tell you the path of the zfs binary you run, then do a
ls -l /path/to/zfs

So we can confirm its date and size.
User avatar
lundman
 
Posts: 402
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Raidz1 2 disk resilver, now won't load?

Postby carpman » Thu Apr 05, 2018 3:11 am

Hi, sorry did not see your reply.

What i tried was using uninstall scripts to delete zfs install, then searched for all files with zfs in them, found a quite a few that looked to be from earlier source installs, deleted them.

Rebooted and installed v 1.7.2 stable

Code: Select all
which zfs
/usr/local/bin/zfs


Code: Select all
ls -l /path/to/zfs
-rwxr-xr-x 1 root wheel 109600 24 Mar 19:03 /usr/local/bin/zfs


running any zpool command from terminal results in terminal hanging!
carpman
 
Posts: 13
Joined: Wed Mar 18, 2015 7:52 am

Re: Raidz1 2 disk resilver, now won't load?

Postby carpman » Thu Apr 05, 2018 3:21 am

Update, reboot without my external drive bay (zfs) turned on and zpool status works and reports no pools!

Switch on external bay, drives show in diskutil, but zpool status and zpool list report no pools available.

Reboot with external bay turned on and again zpool commands hang terminal?


Thanks
carpman
 
Posts: 13
Joined: Wed Mar 18, 2015 7:52 am

Re: Raidz1 2 disk resilver, now won't load?

Postby lundman » Thu Apr 05, 2018 5:44 pm

In the middle case, remember to do "zpool import -d /dev" if your pools use /dev/disk paths
User avatar
lundman
 
Posts: 402
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Raidz1 2 disk resilver, now won't load?

Postby carpman » Thu Apr 12, 2018 12:27 am

Hi,

ok that helped

hamlet:~ michael$ zpool import -d /dev
cannot discover pools: permission denied
hamlet:~ michael$ sudo zpool import -d /dev
Password:
pool: Ext-Storage
id: 2819644488756112022
state: ONLINE
status: One or more devices were being resilvered.
action: The pool can be imported using its name or numeric identifier.
config:

Ext-Storage ONLINE
raidz1-0 ONLINE
disk5 ONLINE
disk4 ONLINE
disk2 ONLINE
disk3 ONLINE

Unfortunately trying to import results in terminal hang again? tried both name and numeric ID

Note sudo is required to run zpool commands.

Also if boot with drive bay turned on the even the sudo zpool import -d /dev hangs terminal

Thanks
carpman
 
Posts: 13
Joined: Wed Mar 18, 2015 7:52 am

Re: Raidz1 2 disk resilver, now won't load?

Postby lundman » Mon Apr 16, 2018 4:27 pm

Terminal hang? As in the zpool import command just sits there, or the computer dies? If zpool import takes a long time, open another terminal and run spindump to see what it is doing.
User avatar
lundman
 
Posts: 402
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Previous

Return to General Help

Who is online

Users browsing this forum: No registered users and 2 guests