Creating an image mode VDisk from an unmanaged MDisk using the CLI Advanced functions with the CLI Advanced function cluster overview using the CLI

This task provides step-by-step instructions for creating an image mode VDisk from an unmanaged MDisk using the CLI.

The SAN Volume Controller enables you to import storage that contains existing data and continue to use this storage but make use of the advanced functions, such as, Copy Services, data migration, and the cache. These disks are known as image mode virtual disks.

Make sure you are aware of the following before converting your virtual disks:

  1. Unmanaged disks that contain existing data cannot be differentiated from unmanaged disks that are blank. Therefore, it is vital that you control the introduction of these disks to the cluster. It is recommended that you introduce these disks one at a time. For example, map a single LUN from your RAID controller to the cluster and refresh the view of managed disks. The newly detected disk is displayed.
  2. Do not add a unmanaged disk that contains existing data to a unmanaged disk group manually. If you do, the data will be lost. When you create an image mode virtual disk from this unmanaged disk, it will be automatically added to the unmanaged disk group. However, it will be added in such a way that the cluster can control how it is added to ensure the data is not lost.

Go to the following Web site for more information:

http://www.ibm.com/storage/support/2145

Steps

Perform the following steps to convert your virtual disk from image mode to unmanaged mode:

  1. Map a single RAID array or LUN from your RAID controller to the cluster. You can do this either through a switch zoning or a RAID controller based on your host mappings.
  2. Rescan the list of unmanaged disks from the SAN Volume Controller Console. Issue the svcinfo lsmdisk command to list the available unmanaged disks.

    Optionally, if the new unmanaged disk is not listed you may need to run a fabric level discovery. Issue the svctask detectmdisk command to manually re-scan the fibre-channel network for any new unmanaged disks that might have been added.

  3. Convert the unmanaged disk into an image mode virtual disk. Issue the svctask mkvdisk command to create an image mode virtual disk object. Once mapped to a host object, these virtual disks are seen as disk drives with which the host can perform I/O operations.
  4. Map the new virtual disk to the hosts that were previously using the data that the MDisk contains. Issue the svctask mkvdiskhostmap command to create a new mapping between a virtual disk and a host. That is, the virtual disk is made accessible for I/O operations to the specified host.

If you wish to convert this virtual disk or managed disk to actually virtualize the storage, you can transform the image mode virtual disk into a striped virtual disk by migrating the data on the image mode disk to other managed disks in another MDisk group. This procedure can be performed using the command-line interface (CLI). Issue the svctask migratevdisk command to migrate an entire virtual disk from one managed disk group to another managed disk group.

Related topics Advanced functions with the CLI Advanced function cluster overview using the CLI

(C) Copyright International Business Machines Corporation 2003, 2004