I am getting below error while terminating a clone
H:\>symclone -sid 65 -f "H:\Useful Docs\Symmetrix\symcli files\Clone pair.txt" terminate
Execute 'Terminate' operation for the 1 specified device(s) in device file 'H:\Useful Docs\Symmetrix\symcli files\Clone pair.txt' (y/
'Terminate' operation execution is in progress for the device list in device file 'H:\Useful Docs\Symmetrix\symcli files\Clone pair.txt'. Please wait.
A Copy session has not been created for the specified device(s)
I did a query on the file
H:\>symclone -sid 65 -f "H:\Useful Docs\Symmetrix\symcli files\Clone pair.txt" query
The Source device and the Target device do not form a Copy session
Device file 'H:\Useful Docs\Symmetrix\symcli files\Clone pair.txt' does not have any devices that are Clone source devices
Here is the show dev
BCV Pair Information
Standard (STD) Device Symmetrix Name : 01b8
Standard (STD) Device Serial ID : Not Visible
Standard (STD) Device Group Name : Not/Grouped
Standard (STD) Composite Group Name : Not/Grouped
BCV Device Symmetrix Name : 0748
BCV Device Serial ID : Not Visible
BCV Device Associated Group Name : Not/Associated
BCV Device Associated CG Name : Not/Associated
BCV Device Status : Not Ready (NR)
State of Pair ( STD ====> BCV ) : Synchronized
Percent Initiated : 100%
Time of Last BCV Action : Tue Oct 22 15:47:19 2013
State of BCV Mirrors : Synchronized
Maybe the session is TF/Mirror Emulation (symmir) and not TF/Clone (symclone)? Issue "symclone list" and "symmir list" and see if either of those show the session.
You are right. Session is under symmir list.
And when i do symmir -g DG split i am getting below error
The SYMAPI database file is already locked by another process
I checked there is no locks on the devices.
The devices are not locked. As the error message states, there is a lock on the SYMAPI database. This is usually a result of a process not exiting cleanly and leaving a semaphore lock on the database. Run a search on the error message in the knowledgebase and you'll see multiple solutions for working around this or correcting it.
yes, knowledgebase - it's available at support.emc.com.
the discover is also likely hanging due to the lock on the SYMAPI database file. the discover tries to update the database, but will fail due to another process already having a lock on it.
That would be expected. The SYMCLI_WAIT_ON_DB variable tells the command to keep running, waiting for the other process to release the lock before executing and taking the lock itself. Given that the process that left the lock on the DB file is probably something that exited abmormally, the lock is not going to get released unless it is done manually.
Take a look at KB article 13263 (support.emc.com/kb/13263). It shows you how you can tell what process is holding the lock/handle on the database file so you can try to see if it's a process that can be terminated.
I can able to terminate now.
I tried to establish full relationship between std and bcv i got below error (This command was executed on VM)
C:\MAGIC>symmir -sid 75 -f devicefile.txt establish -full
Execute 'Full Establish' operation for the 1 specified device(s)
in device file 'magic.txt' (y/
'Full Establish' operation execution is in progress for the device list in
device file 'magic.txt'. Please wait...
The feature being requested is not currently licensed