zpool-reguid.8 (1926B)
- .\"
- .\" CDDL HEADER START
- .\"
- .\" The contents of this file are subject to the terms of the
- .\" Common Development and Distribution License (the "License").
- .\" You may not use this file except in compliance with the License.
- .\"
- .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- .\" or https://opensource.org/licenses/CDDL-1.0.
- .\" See the License for the specific language governing permissions
- .\" and limitations under the License.
- .\"
- .\" When distributing Covered Code, include this CDDL HEADER in each
- .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- .\" If applicable, add the following below this CDDL HEADER, with the
- .\" fields enclosed by brackets "[]" replaced with your own identifying
- .\" information: Portions Copyright [yyyy] [name of copyright owner]
- .\"
- .\" CDDL HEADER END
- .\"
- .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
- .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
- .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
- .\" Copyright (c) 2017 Datto Inc.
- .\" Copyright (c) 2018 George Melikov. All Rights Reserved.
- .\" Copyright 2017 Nexenta Systems, Inc.
- .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
- .\" Copyright (c) 2024, Klara Inc.
- .\" Copyright (c) 2024, Mateusz Piotrowski
- .\"
- .Dd June 21, 2023
- .Dt ZPOOL-REGUID 8
- .Os
- .
- .Sh NAME
- .Nm zpool-reguid
- .Nd generate new unique identifier for ZFS storage pool
- .Sh SYNOPSIS
- .Nm zpool
- .Cm reguid
- .Op Fl g Ar guid
- .Ar pool
- .
- .Sh DESCRIPTION
- Generates a new unique identifier for the pool.
- You must ensure that all devices in this pool are online and healthy before
- performing this action.
- .
- .Bl -tag -width Ds
- .It Fl g Ar guid
- Set the pool GUID to the provided value.
- The GUID can be any 64-bit value accepted by
- .Xr strtoull 3
- in base 10.
- .Nm
- will return an error if the provided GUID is already in use.
- .El
- .Sh SEE ALSO
- .Xr zpool-export 8 ,
- .Xr zpool-import 8