This procedure was used for migrating data from a HDS USP to USP-V disk array. One of the requirements was to convert thick volumes to thin provisioned volumes. This procedure uses a VXVM function utility to achieve this but obviously only works for VXVM volumes.

The procedure works by creating a plex from LUN on the new array, attaching it to the volume to be migrated, creating a mirror, then detaching the original plex. Using the inbuilt usefssmartmove function ensures that thick volumes are converted to thin provisioned volumes.

  1. Create file /etc/default/vxsf with the following entry, usefssmartmove=all
  2. Create a LUN on the new array and initialise the new LUN under VXVM
  3. Add to the appropriate diskgroup
  4. Create a subdisk from the LUN: vxmake -g dg sd subdisk-name diskname,0,102236160 (where 102236160 is the size in blocks and should be the same size as the subdisk you want to copy)
  5. Create a plex from the subdisk: vxmake -g dg plex plex-name sd=subdisk-name
  6. Attach the plex to the volume to be copied: vxplex -g dg att volname plex-name
  7. Once synchronised detach the plex: vxplex -g dg dis original-plex
  8. Plex can removed later using: vxedit -g dg -r rm /original-plex

Recent Changes

Contribute to this wiki

Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password