Creates a near-instantaneous FlashCopy® image of the file layout and contents of the specified fileset and stores it in that fileset.
>>-mkimage--+--------+-- -fileset--+-fileset_name-+-------------> +- -?----+ '- – ----------' +- -h----+ '- -help-' >-- -dir--directory_name--+-----+--+---------------------+------> '- -f-' '- -desc--description-' >--image_name--------------------------------------------------><
The directory name is created under the .flashcopy directory in the fileset. The full path of any file in the FlashCopy image is under the directory attach_point/.flashcopy/directory, where attach_point is the location to which the fileset attaches in the global namespace (for example, sanfs/cnt_A/.flashcopy/fc1dir).
The default is an empty string.
You must have Backup, Operator, or Administrator privileges to use the command.
You must be logged in to the operating system on the engine hosting the master metadata server to run this command.
This command does not create FlashCopy images of nested filesets. You must create a FlashCopy image for each fileset in the hierarchy.
After you create a FlashCopy image, you cannot modify the name, description, or directory.
Until the mkimage command completes, you can view files in the fileset but not modify them.
You cannot use the mkimage command while the reverttoimage command is in progress on the same fileset. You also cannot use the mkimage command while the mvfile command is in progress on a file on the same fileset.
A fileset is limited to 32 FlashCopy images at one time.
sfscli> mkimage -fileset cnt_A -dir website cntA_image
FlashCopy image cntA_image on fileset cnt_A was created successfully.
Parent topic: Administrative commands
Related tasks
Backing up using the file-based (API) method
Creating a FlashCopy image
Related reference
lsimage
reverttoimage
rmimage