June 6Jun 6 Jun 6 11:23:54 Tower emhttpd: shcmd (9304750): /usr/sbin/zpool export -f main Jun 6 11:23:54 Tower root: cannot open 'main': no such pool Jun 6 11:23:54 Tower emhttpd: shcmd (9304750): exit status: 1 Jun 6 11:23:54 Tower emhttpd: Retry unmounting disk share(s)... Jun 6 11:23:59 Tower emhttpd: Unmounting disks... Jun 6 11:23:59 Tower emhttpd: shcmd (9304751): /usr/sbin/zpool export -f main Jun 6 11:23:59 Tower root: cannot open 'main': no such pool Jun 6 11:23:59 Tower emhttpd: shcmd (9304751): exit status: 1 Jun 6 11:23:59 Tower emhttpd: Retry unmounting disk share(s)... Jun 6 11:24:04 Tower emhttpd: Unmounting disks... Jun 6 11:24:04 Tower emhttpd: shcmd (9304752): /usr/sbin/zpool export -f main Jun 6 11:24:04 Tower root: cannot open 'main': no such pool Jun 6 11:24:04 Tower emhttpd: shcmd (9304752): exit status: 1 Jun 6 11:24:04 Tower emhttpd: Retry unmounting disk share(s)... Jun 6 11:24:09 Tower emhttpd: Unmounting disks... Jun 6 11:24:09 Tower emhttpd: shcmd (9304753): /usr/sbin/zpool export -f main Jun 6 11:24:09 Tower root: cannot open 'main': no such pool Jun 6 11:24:09 Tower emhttpd: shcmd (9304753): exit status: 1 Jun 6 11:24:09 Tower emhttpd: Retry unmounting disk share(s)... Jun 6 11:24:14 Tower emhttpd: Unmounting disks... Jun 6 11:24:14 Tower emhttpd: shcmd (9304754): /usr/sbin/zpool export -f main Jun 6 11:24:14 Tower root: cannot open 'main': no such pool Jun 6 11:24:14 Tower emhttpd: shcmd (9304754): exit status: 1 Jun 6 11:24:14 Tower emhttpd: Retry unmounting disk share(s)... Jun 6 11:24:19 Tower emhttpd: Unmounting disks... Jun 6 11:24:19 Tower emhttpd: shcmd (9304755): /usr/sbin/zpool export -f main Jun 6 11:24:19 Tower root: cannot open 'main': no such pool Jun 6 11:24:19 Tower emhttpd: shcmd (9304755): exit status: 1 Jun 6 11:24:19 Tower emhttpd: Retry unmounting disk share(s)...So. Came across an issue where my pool was stuck retrying to unmount. Determined the culprit was zpool devices attached to a VM which was no longer running. So, I ran...dmsetup remove pbs-root dmsetup remove pbs-swap to remove the stale mappers. and went ahead and ran a zpool export to make sure all was well.After a bit, I noticed the array still had not "stopped", and found that it was trying to export an already exported pool. After re-importing the pool, so it could then export the pool- the issue array finally stopped.---------------------------TDLR; Reporting bug, the array stop script/process, needs to contain logic, to verify a zpool exists, and is mounted, before attempting to export it. Otherwise, can get stuck.This is on version 7.2.5. Attempting to stop array to finish 7.3.0 upgrade.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.