For systems with encryption enabled, you can migrate existing volumes from non-encrypted
pools to encrypted pools. Both the management GUI and the command line interface can be used to
migrate volumes to encrypted pools.
Any pools that are created after encryption is enabled are assigned a key
that can be used to encrypt and decrypt data. However, if encryption was configured after volumes
were already assigned to non-encrypted pools, you can migrate those volumes to an encrypted pool by
using child pools. When you create a child pool after encryption is enabled, an encryption key is
created for the child pool even when the parent pool is not encrypted. You can then use volume
mirroring to migrate the volumes from the non-encrypted parent pool to the encrypted child pool. You
can use either the management GUI or the command line interface to migrate volumes to an encrypted
pool.
The system supports both internal storage and external storage. Internal storage consists of
arrays that attached directly to the system through serial-attached SCSI connections. External
storage consists of arrays that are attached to the system over a storage area network (SAN).
Depending on the type of underlying storage the volume uses, the migration process is different.
If you are migrating volumes that use SAN-attached MDisks, you must complete the migration steps
for Migrating volumes that use SAN-attached MDisks.
Migrating volumes that use SAN-attached MDisks
To migrate volumes that use SAN-attached MDisks in the management GUI, complete these steps:
- In the management GUI, select .
- Right-click the non-encrypted parent pool that contains the volumes that you want to migrate and
select Create Child Pool.
- On the Create Child Pool page, enter the name for the child pool and the
amount of capacity. Ensure that you select enough capacity to accommodate the migrated volumes.
Encryption is selected by default when the system is enabled for encryption.
- Click Create. After the child pool is created, you can migrate the
volumes to the child pool by adding volume copies.
- In the management GUI, select .
- Select the non-encrypted parent pool to display all the volumes.
- Right-click the volume and select Add Volume Copy....
- On the Add Volume Copy page, select Basic for the
type of copy that you are creating. From the list of available pools, select the child pool as the
target pool for the copy of the volume.
- Click Add.
- Repeat these steps to add volume copies to the encrypted child pool for the remaining volumes in
the parent pool.
- After all the copies are synchronized in the encrypted child pool, you can delete the primary
copies from the parent pool. The empty parent pool must remain unused to use encrypted volumes in
the child pool.
To migrate volumes that use SAN-attached MDisks in the command line interface, complete these
steps:
- In the command line interface, enter the following command to create a child
pool:
mkmdiskgrp -name my_encrypted_child_pool -parentmdiskgrp mypool -encrypt yes
where
my_encrypted_child_pool is the name of the new child pool and
mypool is the name of the parent pool.
- Issue the CLI command
addvdiskcopy to create mirrored copies of the
volumes that are in the parent pool, in the new child pool. In the following example,
my_encrypted_child_pool is the name of the new child pool and
volume1 is the name of the volume that is being
copied.addvdiskcopy -autodelete -mdiskgrp my_encrypted_child_pool -vdisk volume1
Use the -autodelete operand to automatically delete the primary copy of the
volume after the copy synchronizes.
- Repeat step 2 until all the
volumes from the original parent contain mirrored copies in the new child pool. The empty parent
pool must remain unused to use encrypted volumes in the child pool.