1.\" 2.\" CDDL HEADER START 3.\" 4.\" The contents of this file are subject to the terms of the 5.\" Common Development and Distribution License (the "License"). 6.\" You may not use this file except in compliance with the License. 7.\" 8.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9.\" or https://opensource.org/licenses/CDDL-1.0. 10.\" See the License for the specific language governing permissions 11.\" and limitations under the License. 12.\" 13.\" When distributing Covered Code, include this CDDL HEADER in each 14.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15.\" If applicable, add the following below this CDDL HEADER, with the 16.\" fields enclosed by brackets "[]" replaced with your own identifying 17.\" information: Portions Copyright [yyyy] [name of copyright owner] 18.\" 19.\" CDDL HEADER END 20.\" 21.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. 22.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. 23.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved. 24.\" Copyright (c) 2017 Datto Inc. 25.\" Copyright (c) 2018 George Melikov. All Rights Reserved. 26.\" Copyright 2017 Nexenta Systems, Inc. 27.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 28.\" Copyright (c) 2024, Klara Inc. 29.\" Copyright (c) 2024, Mateusz Piotrowski 30.\" 31.Dd June 21, 2023 32.Dt ZPOOL-REGUID 8 33.Os 34. 35.Sh NAME 36.Nm zpool-reguid 37.Nd generate new unique identifier for ZFS storage pool 38.Sh SYNOPSIS 39.Nm zpool 40.Cm reguid 41.Op Fl g Ar guid 42.Ar pool 43. 44.Sh DESCRIPTION 45Generates a new unique identifier for the pool. 46You must ensure that all devices in this pool are online and healthy before 47performing this action. 48. 49.Bl -tag -width Ds 50.It Fl g Ar guid 51Set the pool GUID to the provided value. 52The GUID can be any 64-bit value accepted by 53.Xr strtoull 3 54in base 10. 55.Nm 56will return an error if the provided GUID is already in use. 57.El 58.Sh SEE ALSO 59.Xr zpool-export 8 , 60.Xr zpool-import 8 61