Replacing mirrored swap

Adam Vande More amvandemore at
Thu Sep 20 17:43:30 UTC 2012

On Thu, Sep 20, 2012 at 11:47 AM, Scott Ballantyne <sdb at> wrote:

> Hi,
> I'm using a ZFS mirror, and had a disc fail. I had a spare unused disc
> in the case, and just switched over to that, after partitioning it
> with gpart. ZFS is great, just have to say that.
> But I'm not sure about the correct way to bring the new swap partition
> online. Do I use gmirror label, as I did when I created it? Or gmirror
> insert?  Or something else. I'm using the round-robin balancing
> algorithm, if that matters.
> Thanks in advance for your help.
> Scott
The handbook or man page on gmirror cover this exact scenario.

Adam Vande More

More information about the freebsd-questions mailing list