[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: Building ZFS disk images
From:       Alan Somers <asomers () freebsd ! org>
Date:       2021-08-05 15:54:19
Message-ID: CAOtMX2iVLOpZ5WjQCWhmV5ysH+gAM-+H45GbiY7d16Sf8rU41Q () mail ! gmail ! com
[Download RAW message or body]


There's this:
https://openzfs.github.io/openzfs-docs/man/8/zpool-reguid.8.html .  I
haven't used it myself.

On Thu, Aug 5, 2021, 9:29 AM David Chisnall <theraven@freebsd.org> wrote:

> On 05/08/2021 13:53, Alan Somers wrote:
> > I don't know of any way to do it using the official release scripts
> > either. One problem is that every ZFS pool and file system is supposed
> > to have a unique GUID.  So any kind of ZFS release builder would need to
> > re-guid the pool on first boot.
>
> Is there a tool / command to do this?  I've hit this problem in the
> past: I have multiple FreeBSD VMs that are all created from the same
> template and if one dies I can't import its zpool into another because
> they have the same UUID.
>
> It doesn't matter for modern deployments where the VM is stateless and
> reimaged periodically but it's annoying for classic deployments where I
> have things I care about on the VM.
>
> David


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic