Can't see my main pool (msbv01) while plugins pool Anavailable

Description

I have created 2 zpool msbv01 and plugins pool for jails only and iocage activate plugins and because it was for my test of latest release of freenas i had only one parity that was anavailable because of I/O error. That was not my concern but the one is was msbv01 pool couldnt be able to see it on webgui regarless I try to destroy plugins or iocage activate msbv01. Last I remove the plugins pool disk and restart when i managed to see msbv01 pool intake. My question is this normal or there is a better way to handle this situation and be able to iocage activate msbv01. Attached the debug before removing the plugins disk.

root@PRODNAS[~]# zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:02:36 with 0 errors on Mon Dec 30 03:47:36 2019
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
da3p2 ONLINE 0 0 0

errors: No known data errors

pool: msbv01
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0 in 0 days 01:11:39 with 0 errors on Sun Dec 8 01:11:39 2019
config:

NAME STATE READ WRITE CKSUM
msbv01 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/f24168d2-e0d0-11e9-98b1-0cc47a30154a ONLINE 0 0 0
gptid/f3569757-e0d0-11e9-98b1-0cc47a30154a ONLINE 0 0 0

errors: No known data errors

pool: plugins
state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
see: http://illumos.org/msg/ZFS-8000-JQ
scan: scrub repaired 0 in 0 days 00:01:02 with 0 errors on Sun Dec 22 00:01:02 2019
config:

NAME STATE READ WRITE CKSUM
plugins UNAVAIL 5 85 0
8466361110961048045 REMOVED 0 0 0 was /dev/gptid/e51ad65f-ea7a-11e9-9519-0cc47a30154a

errors: 18 data errors, use '-v' for a list
root@PRODNAS[~]# zpool scrub plugins
cannot scrub plugins: pool I/O is currently suspended
root@PRODNAS[~]# iocage activate msbv01
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 20, in run
cp.check_returncode()
File "/usr/local/lib/python3.7/subprocess.py", line 444, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['zfs', 'set', 'org.freebsd.ioc:active=no', 'plugins']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in _call_
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/iocage_cli/activate.py", line 37, in cli
ioc.IOCage(activate=True).activate(zpool)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/iocage.py", line 361, in activate
pool.deactivate_pool()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/pools.py", line 54, in deactivate_pool
IOCAGE_POOL_PROP, 'no'
File "/usr/local/lib/python3.7/site-packages/iocage_lib/resource.py", line 29, in set_property
set_property(self.resource_name, prop, value, self.zfs_resource)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 122, in set_property
run([resource_type, 'set', f'{prop}={value}', dataset])
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 22, in run
raise ZFSException(cp.returncode, cp.stderr)
iocage_lib.zfs.ZFSException: cannot open 'plugins': pool I/O is currently suspended

root@PRODNAS[~]# iocage destroy plugins
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 20, in run
cp.check_returncode()
File "/usr/local/lib/python3.7/subprocess.py", line 444, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['zfs', 'get', '-H', '-o', 'property,value', 'all', 'plugins']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in _call_
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1134, in invoke
Command.invoke(self, ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/iocage_cli/_init_.py", line 259, in cli
ioc_check.IOCCheck()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_check.py", line 48, in _init_
checking_datasets=True
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 1314, in _init_
super()._init_(location, checking_datasets, silent, callback)
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 428, in _init_
self.pool, self.iocroot = self.get_pool_and_iocroot()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 552, in get_pool_and_iocroot
pool = get_pool()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_json.py", line 453, in get_pool
if pool.active:
File "/usr/local/lib/python3.7/site-packages/iocage_lib/pools.py", line 27, in active
return Dataset(self.name, cache=self.cache).properties.get(
File "/usr/local/lib/python3.7/site-packages/iocage_lib/resource.py", line 23, in properties
self.resource_name, self.zfs_resource
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 54, in properties
resource_type, 'get', '-H', '-o', 'property,value', 'all', dataset
File "/usr/local/lib/python3.7/site-packages/iocage_lib/zfs.py", line 22, in run
raise ZFSException(cp.returncode, cp.stderr)
iocage_lib.zfs.ZFSException: cannot open 'plugins': pool I/O is currently suspended

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

William Gryzbowski January 2, 2020 at 2:27 PM

Hello,

 

Thanks for the bug report.

Unfortunately I am considering this an upstream (ZFS) behavior there isn't much we can do about.

 

ZFS was not designed to lose redundancy like that and default behavior is to simply halt I/O.

Not to be Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created December 31, 2019 at 6:32 AM
Updated July 1, 2022 at 4:46 PM
Resolved January 2, 2020 at 2:27 PM