Importing a Pool With a Temporary Name
In addition to importing a pool at an alternate root location, you can import a pool with a temporary name. In certain shared storage or recovery situations, this feature allows two pools with the same persistent name to be simultaneously imported. One of those pools must be imported with a temporary name.
In the following example, the rpool
pool is imported at an alternate root location and with a temporary name. Because the persistent pool name conflicts with a pool that is already imported, it must be imported by pool ID or by specifying the devices.
$ zpool import pool: rpool id: 16760479674052375628 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: rpool ONLINE c8d1s0 ONLINE $ zpool import -R /a -t altrpool 16760479674052375628 $ zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT altrpool 97G 22.4G 74G 23% 1.00x ONLINE /a rpool 465G 75.1G 390G 16% 1.00x ONLINE -
A pool can also be created with a temporary name by using the zpool create -t
command.