7 Replies Latest reply: Feb 6, 2013 2:43 PM by ASHWINPAWARTESL RSS

I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol.

ASHWINPAWARTESL
Currently Being Moderated

Hi ,

 

Any suggestions here.

 

I am trying to use %SNAP_TIME to automatically mount lun inside a flexclone vol. I created a flexclone vol and I can connect to lun using exact cloned name (date&time). But, when I use %SNAP_TIME. it fails.

 

VOL CLONE:SUCCESS
Volume Clone Create of cl_test_iscsi_20130203230600 from test-hourly_20130203230600 on fas01 Created Successfully

 

Now, I want to mount the cloned lun with script automatically.


Command I use:
snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_%SNAP_TIME/lun_test


Issue:
When I give snap time variable, I get an error, service call to sdu deamon failed

 

But, If I use:
snapdrive storage connect -lun fas01:/vol/cl_test_iscsi_20130203230600/lun_test

 

It works. I would want to supply the %TIME so that I dont have to manually run the this command after the clone operation.  I can use snapdrive snap wizard connect and supply the test-hourly_20130203230600 and it works well, but in this case I am connecting to the lun in a snaphost of the parent  lun and it creates lun_test_0, whereas I want to connect to the lun_test in a flexcloned vol.

 

Thanks,

-Ashwin

More Like This

  • Retrieving data ...