Zfs help?

Was trying to remove the log to replace it with better device. Ran zpool remove poolname devname
prompt has not returned for 10+ minutes and any other zpool or zfs commands just hang…

image

image

image

hmm… just wait. though… you may not be able to do certain stuff without destroying the pool…

1 Like

Kill -15 and kill -12 did nothing…

kill -9 is even being ignored

Doesnt look good…

No expert but you might have to create a new pool. You can migrate with a zfs send recv command afaik that should move, migrate all snapshots.

also as an aside isn’t zpool a new feature? like added late last year, could it be just a random bug that occurred?

I used fdisk to remove all the partitions on the device then…
Had to hard power it off…

Restarted and pool was degraded…
removed device and added the new one…

Back in good state it says…

image

Don’t kill remove of replace processes while they’re running, ever! That’s a sure way to completely hose your zfs pool. Glad you got it back online.

1 Like

Was just trying to replace log and cache with nvme devices

You can generally do that with cache devices, they only cache reads, but ZIL (log) devices cache writes to the zfs pool.