1
Hardware and Performance / Re: Add mirrored drive to existing ZFS install
« on: July 10, 2022, 06:06:49 pm »
Sorry, I switched topics and didn't clarify. I wasn't trying to create the swap mirror, I was just trying to execute the attach command after completing the OP's first post of instructions. I realized what I did though. Instead of just dd'ing p1 and p2, I also dd'd the zfs partition (p4), so it copied over the zfs metadata. That was my mistake. I wiped the first 512K and last 512K from p4 on the new drive (which is where the zfs meta data lives) and tried attaching again. It worked fine.
It only took 7 seconds to re-silver. I'm hoping that was because the partitions were already almost identical, minus the first 512K and last 512k.
Thank you for taking the time to answer my questions.
It only took 7 seconds to re-silver. I'm hoping that was because the partitions were already almost identical, minus the first 512K and last 512k.
Thank you for taking the time to answer my questions.