Migrating ZFS Storage Pools - Managing ZFS File Systems in Oracle® Solaris 11.3
Migrating ZFS Storage Pools - Managing ZFS File Systems in Oracle® Solaris 11.3
Documentation Home » Oracle Solaris 11.3 Information Library » Managing ZFS File Systems in ... » Managing Oracle Solaris ZFS Storage Pools » Migrating ZFS Storage Updated: May 2019
Pools
Managing ZFS File Systems in Oracle®
Solaris 11.3 Rate this document: Feedback PDF Print View Language: Español
The command first unmounts any mounted file systems within the pool. If any of the file systems fail to unmount, you can forcefully unmount them by using the –f option. However, if
Document Information ZFS volumes in the pool are in use, the operation fails even with the –f option. To export a pool with a ZFS volume, first ensure that all consumers of the volume are no longer active.
Chapter 1 Introducing the Oracle Solaris ZFS After this command is executed, the pool is no longer visible on the system.
File System
If devices are unavailable at the time of export, the devices cannot be identified as cleanly exported. If one of these devices is later attached to a system without any of the other
Chapter 2 Getting Started With Oracle Solaris working devices, it appears as potentially active.
ZFS
Chapter 3 Creating and Destroying Oracle Determining Available Storage Pools to Import
Solaris ZFS Storage Pools
After the pool has been removed from the system, you can attach the devices to the target system. You do not need to attach them under the same device name. ZFS detects any
moved or renamed devices and adjusts the configuration appropriately. Note that ZFS can handle some situations in which only some of the devices are available. However, a
Chapter 4 Managing Devices in Oracle Solaris
successful pool migration depends on the overall health of all the devices.
ZFS Storage Pools
Use the following general command syntax for all pool import operations:
Chapter 5 Managing Oracle Solaris ZFS
Storage Pools
# zpool import [options] [pool|ID-number]
Managing ZFS Storage Pool Properties
Querying ZFS Storage Pool Status To discover available pools that can be imported, run the zpool import command without specifying pools. In the output, the pools are identified by names and unique number
identifiers. If pools available for import share the same name, use the numeric identifier to import the correct pool.
Migrating ZFS Storage Pools
Preparing for ZFS Storage Pool If problems exist with a pool to be imported, the command output also provides the appropriate information to help you determine what action to take.
Migration
Exporting a ZFS Storage Pool In the following example, one of the devices is missing but you can still import the pool because the mirrored data remains accessible.
Determining Available Storage Pools to
Import # l i t
Importing ZFS Storage Pools Copyright © 2006, 2019, Oracle and/or its affiliates. All rights reserved.
Importing a Pool With a Missing Log