Data Backup and Recovery Discussions
The antefacts are:
Whe had a failover when the lune clone was in execution
Now If we issue
lun clone create /vol/vol_mouse_mysql_polopoly_test51/clone -b /vol/vol_mouse_mysql_polopoly_test51/lun0 -o noreserve ss_clone_vol_mouse_mysql_polopoly_test51
lun clone create: File exists
and If we try to destroy it
lun destroy: /vol/vol_mouse_mysql_polopoly_test51/clone : No such LUN exists
(also if we use the -f option)
So it seems that, during the failover, some files/pointer have not been cleaned well.
However we are able to create a clone and drop it using a new name (i.e. clone2 instead of clone)
lun clone create /vol/vol_mouse_mysql_polopoly_test51/clone2 -b /vol/vol_mouse_mysql_polopoly_test51/lun0 -o noreserve ss_clone_vol_mouse_mysql_polopoly_test51
So we could use this workaround (new lun clone names).
Does anyone can suggest how could we fix the problem?
See The Solution
Can you get the output of the lun show unmapped and check if you have any luns which is unmapped.
Hi, the command returns nothing.
netapp-7> lun show unmapped
I think there is a file called clone in this directory.
This can be verified with this command
priv set advanced; ls /vol/vol_mouse_mysql_polopoly_test51
I was able to complete a clone with the name "clone" without issue.
/vol/SCSQLV1/1/clone 139.7g (150029107200) (r/w, online)
/vol/SCSQLV1/1/data1 139.7g (150029107200) (r/w, online, mapped)
View solution in original post
Hi, you are right! There is this file.
Do you think is safe to rm that file (considering that clone is no mapped neither used by anyone)?