December 3, 20241 yr Running into an issue after upgrading a ZFS Pool. Array is stuck on 'Mounting' only on my 'Downloads' pool and array is prevented from starting. Cache device was upgraded at the same time with no issues. Didn't realise the device was completely full when initiating the upgrade, could that have something to do with it? Can't start the array to pull down the syslog but i've copied the log output in Unraid to a text file. syslog.rtf
December 3, 20241 yr Author Good news: Managed to get the Array back up and running by creating a new config and excluding the pool with the drive that wouldn't mount, allowing the rest of the array to start. Bad news: Unmountable drive won't mount at all as an Unassigned Device. I am also no longer able to recreate that pool without the warning 'Can't create Pool with same name as a Share'.
December 3, 20241 yr Community Expert Try importing the pool in read-only mode: zpool import -o readonly=on pool_name If it works, copy everything from /mnt/pool_name to another place and reformat the pool.
December 4, 20241 yr Author Hi JorgeB, Thanks for getting back. That command returns: "cannot import 'Downloads': no such pool available" The pool in question is also not showing when executing cli command 'zfs list'. Does the pool need to be created with the drive in it for this to work? Or the array started in Maintenance Mode or anything like that? Otherwise I'm guessing this one's gone for good? If so very strange, all other pools are showing fine. Not terribly important I guess, was just using it as a download cache and a bit of a headache trying to remember what was on there. Strange that the ZFS Upgrade process caused it. Cheers.
December 4, 20241 yr Author 2 hours ago, JorgeB said: Post output from zpool status root@UNRAIDServer:~# zpool status pool: cache state: ONLINE scan: scrub repaired 0B in 00:33:04 with 0 errors on Wed Dec 4 18:46:08 2024 config: NAME STATE READ WRITE CKSUM cache ONLINE 0 0 0 nvme0n1p1 ONLINE 0 0 0 errors: No known data errors pool: disk1 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk1 ONLINE 0 0 0 md1p1 ONLINE 0 0 0 errors: No known data errors pool: disk10 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk10 ONLINE 0 0 0 md10p1 ONLINE 0 0 0 errors: No known data errors pool: disk2 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk2 ONLINE 0 0 0 md2p1 ONLINE 0 0 0 errors: No known data errors pool: disk3 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk3 ONLINE 0 0 0 md3p1 ONLINE 0 0 0 errors: No known data errors pool: disk4 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk4 ONLINE 0 0 0 md4p1 ONLINE 0 0 0 errors: No known data errors pool: disk5 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk5 ONLINE 0 0 0 md5p1 ONLINE 0 0 0 errors: No known data errors pool: disk6 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk6 ONLINE 0 0 0 md6p1 ONLINE 0 0 0 errors: No known data errors pool: disk7 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk7 ONLINE 0 0 0 md7p1 ONLINE 0 0 0 errors: No known data errors pool: disk8 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk8 ONLINE 0 0 0 md8p1 ONLINE 0 0 0 errors: No known data errors pool: disk9 state: ONLINE status: Some supported and requested 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. config: NAME STATE READ WRITE CKSUM disk9 ONLINE 0 0 0 md9p1 ONLINE 0 0 0 errors: No known data errors 2 hours ago, JorgeB said: Post output from zpool import root@UNRAIDServer:~# zpool import no pools available to import
December 4, 20241 yr Community Expert That pool is not being detected, post the complete diagnostics.
December 4, 20241 yr Community Expert Solution Devices are encrypted, so this complicates things a little, you need to open the device first, I assume nvme1 is the correct device: cryptsetup luksOpen /dev/nvme0n1p1 nvme1n1p1 --allow-discards --key-file=/root/keyfile The output from again zpool import
December 4, 20241 yr Author It's the 2nd NVME device in the motherboard. Initially I received: root@UNRAIDServer:~# cryptsetup luksOpen /dev/nvme0n1p1 nvme1n1p1 --allow-discards --key-file=/root/keyfile Cannot use device /dev/nvme0n1p1 which is in use (already mapped or mounted). But then changed the nvme device and received: root@UNRAIDServer:~# cryptsetup luksOpen /dev/nvme1n1p1 nvme1n1p1 --allow-discards --key-file=/root/keyfile root@UNRAIDServer:~# zpool import pool: downloads id: 15142986959555305596 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: downloads ONLINE nvme1n1p1 ONLINE Followed by: zpool import -o readonly=on downloads And now I can see everything in Midnight Commander again! Incredible, I was quite genuinely convinced it was a lost cause. So the process now is to just copy everything off, delete the Share/Dataset and recreate the Pool again? Edited December 4, 20241 yr by Irithor
December 4, 20241 yr Community Expert 1 hour ago, Irithor said: But then changed the nvme device and received Oops., sorry, copied the line from the other pool and only changed one of them to nvme1 1 hour ago, Irithor said: So the process now is to just copy everything off, delete the Share/Dataset and recreate the Pool again? Yep
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.