davidmyers
Cadet
- Joined
- Aug 14, 2017
- Messages
- 6
My server is currently running Core 12.2 and my primary pool is currently offline. Unfortunately while waiting on a new storage server our existing one was completely filled with data (95%+). After some searching I've discovered (as others have) that high utilization of pool storage is not only less than ideal but potentially catastrophic. With that being said, I've seen mention of the pool going into a "read-only" state but that never appeared to happen for us. We were able to stop adding any new data to the server a little while ago as we waited for our new server to arrive. We went from fully-functioning to "offline" seemingly overnight without a clear indication of something that changed.
When viewing pools in the GUI, my pool is listed but is shown as "Offline" with the only option available being to "Export/Disconnect". When running "zpool status" only the boot drive is shown and my primary pool is not listed. When running "zpool import" I get the following:
When trying to run "zpool import Primary" I receive the error: "cannot import 'Primary': I/O error; Destroy and re-create the pool from a backup source.
My interpretation of the situation is that the pool got so full that TrueNAS can no longer import it for some reason. Presumably there's no way to make changes to the datastore without importing the pool and so clearing space is not an option. Similarly, expanding the existing vdev/pool is presumably not an option without the pool being online.
I have our new server on hand and ready to go with double the capacity of our previous server. Is there any way at all to rescue our existing pool? Presumably this is rooted in ZFS being copy on write and there needing to be some amount of free space on the vdev to perform filesystem operations. Is there any way to add a cache disk to be used for this purpose so that the pool is functional and can be operated on?
When viewing pools in the GUI, my pool is listed but is shown as "Offline" with the only option available being to "Export/Disconnect". When running "zpool status" only the boot drive is shown and my primary pool is not listed. When running "zpool import" I get the following:
pool: Primary
id: 9802...
state: ONLINE
status: Some supported features are not enabled on the pool.
action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'.
config:
Primary ONLINE
raidz2-0 ONLINE
gptid/cf... ONLINE
gptid/d1... ONLINE
gptid/d2... ONLINE
gptid/d3... ONLINE
gptid/d3... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d5... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
gptid/d4... ONLINE
When trying to run "zpool import Primary" I receive the error: "cannot import 'Primary': I/O error; Destroy and re-create the pool from a backup source.
My interpretation of the situation is that the pool got so full that TrueNAS can no longer import it for some reason. Presumably there's no way to make changes to the datastore without importing the pool and so clearing space is not an option. Similarly, expanding the existing vdev/pool is presumably not an option without the pool being online.
I have our new server on hand and ready to go with double the capacity of our previous server. Is there any way at all to rescue our existing pool? Presumably this is rooted in ZFS being copy on write and there needing to be some amount of free space on the vdev to perform filesystem operations. Is there any way to add a cache disk to be used for this purpose so that the pool is functional and can be operated on?