Creating an image-mode volume using the CLI
You can use the command-line interface (CLI) to import storage that contains existing data and continue to use this storage. You can also use the advanced functions, such as Copy Services, data migration, and the cache. These disks are known as image-mode volumes.
About this task
- Unmanaged-mode managed disks (MDisks) that contain existing data cannot be differentiated from unmanaged-mode MDisks that are blank. Therefore, it is vital that you control the introduction of these MDisks to the clustered system by adding these disks one at a time. For example, map a single LUN from your RAID storage system to the clustered system and refresh the view of MDisks. The newly detected MDisk is displayed.
Complete the following steps to create an image-mode volume:
Procedure
Results
What to do next
Identify the internal storage pool that you want to hold the volume. Use the addvdiskcopy command against the image-mode volume and the chosen internal storage pool.
Wait for the volume copies to become synchronized as the system copies data from the external storage system to internal storage. Use the lsvdisksyncprogress command to monitor the progress of the operation. Once the volume reports fully synchronized and you are ready to stop using the external storage system, use the rmvdiskcopy command on the image-mode copy of the volume. The image-mode copy is deleted, and its associated MDisk becomes unmanaged.
If you want to virtualize the storage on an image-mode volume, you can transform it into a striped volume. Migrate the data on the image-mode volume to managed-mode disks in another storage pool. Issue the migratevdisk command to migrate an entire image-mode volume from one storage pool to another storage pool. Ensure that the storage pool that you migrate the image-mode volume to is not used as a child pool.