Cannot remove log device in encrypted pool
Posted: Mon May 13, 2019 12:06 pm
Hi
I'm running my pool on Linux ATM, but I had this same problem when it was on macOS, so I'm hoping it's okay to ask here.
I had my pool set up with both a cache and a log device, using partitions on my main SSD at the time. This was on a mini that eventually had severe issues running the pool, so I exported and imported the pool again on a MacBook Pro, which was much more powerful. The SSD was wiped on the mini, including the partitions with the log and cache.
This shouldn't matter, and WRT data, it doesn't, all my data is fine. I removed the cache device without any issues, but whenever I try to remove the log device, I get this error:
Thing is, the encrypted datasets are mounted and happy (actually just the one, "titanic" itself (I haven't yet created any other filesystems)).
AFAICT, there's no "force" flag I can use here, so I'm wondering what to do. Shortly, I'll want to add a new log device from the SSD on this new setup, but I'm fearing that if I can't remove the old one, chances are it won't let me "replace" it with it being absent...
Any ideas?
Thanks
I'm running my pool on Linux ATM, but I had this same problem when it was on macOS, so I'm hoping it's okay to ask here.
I had my pool set up with both a cache and a log device, using partitions on my main SSD at the time. This was on a mini that eventually had severe issues running the pool, so I exported and imported the pool again on a MacBook Pro, which was much more powerful. The SSD was wiped on the mini, including the partitions with the log and cache.
This shouldn't matter, and WRT data, it doesn't, all my data is fine. I removed the cache device without any issues, but whenever I try to remove the log device, I get this error:
- Code: Select all
daniel@titanic ~ sudo zpool remove titanic 3470644392946588961
cannot remove 3470644392946588961: Mount encrypted datasets to replay logs.
Thing is, the encrypted datasets are mounted and happy (actually just the one, "titanic" itself (I haven't yet created any other filesystems)).
AFAICT, there's no "force" flag I can use here, so I'm wondering what to do. Shortly, I'll want to add a new log device from the SSD on this new setup, but I'm fearing that if I can't remove the old one, chances are it won't let me "replace" it with it being absent...
Any ideas?
Thanks