ZPOOL-SPLIT(8)
π zpool-split π
okay so bestie, welcome to zpool-split(8) from the System Manager's Manual β yes it's a section 8 page, yes it's about splitting devices off a ZFS storage pool and making a whole new pool out of them. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
zpool-split β split devices off ZFS storage pool, creating new pool. it's giving "i'm taking my half and leaving" π
πΈ SYNOPSIS πΈ
zpool split [-gLlnP] [-o property=value]β¦ [-R root] pool newpool
[device]β¦
π¦ DESCRIPTION π¦
So here's the tea: this splits devices off pool, creating newpool. two conditions, no exceptions:
- All vdevs in
poolmust be mirrors. every single one. no raidz besties allowed. poolmust not be in the process of resilvering. do not do this mid-resilver, i'm serious π
At the time of the split, newpool will be a replica of pool. iconic. by default, the last device in each mirror is split from pool to create newpool.
The optional device specification causes the specified device(s) to be included in the new pool and, should any devices remain unspecified, the last device in each mirror is used as would be by default. so like β you name some, the rest get the default treatment. periodt β¨
π the flags π
-gβ display vdev GUIDs instead of the normal device names. these GUIDs can be used in place of device names for thezpool detach/offline/remove/replacecommands. so useful, no cap π-Lβ display real paths for vdevs, resolving all symbolic links. this can be used to look up the current block device name regardless of the/dev/disk/path used to open it. detective energy π-lβ indicates that this command will request encryption keys for all encrypted datasets it attempts to mount as it is bringing the new pool online. note that if any datasets havekeylocation=prompt, this command will block waiting for the keys to be entered. so like, it will literally just sit there. without this flag, encrypted datasets will be left unavailable until the keys are loaded. your call bestie π-nβ do a dry-run ("No-op") split: do not actually perform it. print out the expected configuration ofnewpool. rehearsal era, nothing gets touched π-Pβ display full paths for vdevs instead of only the last component of the path. this can be used in conjunction with the-Lflag. they're a duo fr fr π«Ά-o property=valueβ sets the specified property fornewpool. see thezpoolprops(7)manual page for more information on the available pool properties. customization slay β¨-R rootβ setaltrootfornewpooltorootand automatically import it. hands-free import, we love her π
π SEE ALSO π
lowkey important: mirror vdevs only, and no resilver in progress. that's the whole vibe check. don't skip it π
and that's the page!! brought to you by the fine folks at OpenZFS, dated July 11, 2022 β go split a pool, you've got this ππ
π¦ where this page comes from
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms