Hello,
I am trying to remove an encrypted log device but the system is not letting me do it.
Any ideas on how to remove this log device would be gladly welcome.
I have found this https://github.com/openzfs/zfs/issues/8748 but it doesn't solve the problem
I am trying to remove an encrypted log device but the system is not letting me do it.
Code:
root@truenas[~]# zpool status storage
pool: storage
state: ONLINE
scan: scrub repaired 0B in 01:59:34 with 0 errors on Sun Dec 13 01:59:34 2020
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/1a0cd900-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
gptid/1a31c04d-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
gptid/1a2cd3a6-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
gptid/1a380e90-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
gptid/1a438359-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
logs
gptid/195f41e8-379d-11eb-a9ec-ac1f6be4fbc8 ONLINE 0 0 0
errors: No known data errors
root@truenas[~]# zpool remove storage gptid/195f41e8-379d-11eb-a9ec-ac1f6be4fbc8
cannot remove gptid/195f41e8-379d-11eb-a9ec-ac1f6be4fbc8: Mount encrypted datasets to replay logs.
root@truenas[~]# zpool offline storage gptid/195f41e8-379d-11eb-a9ec-ac1f6be4fbc8
cannot offline gptid/195f41e8-379d-11eb-a9ec-ac1f6be4fbc8: permission denied
Any ideas on how to remove this log device would be gladly welcome.
I have found this https://github.com/openzfs/zfs/issues/8748 but it doesn't solve the problem