Subscribe
Accepted Solution

When i issue a lun clone create i get the error "lun clone create: File exists"

[ Edited ]

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

we get

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?

Regards,

fc

Re: When i issue a lun clone create i get the error "lun clone create: File exists"

Hi,

Can you get the output of the lun show unmapped and check if you have any luns which is unmapped.

Kumaresan

Re: When i issue a lun clone create i get the error "lun clone create: File exists"

Hi, the command returns nothing.

netapp-7> lun show unmapped

netapp-7>

Thanks

Re: When i issue a lun clone create i get the error "lun clone create: File exists"

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.

lun show

        /vol/SCSQLV1/1/clone       139.7g (150029107200)  (r/w, online)

        /vol/SCSQLV1/1/data1       139.7g (150029107200)  (r/w, online, mapped)

Regards,

John

Re: When i issue a lun clone create i get the error "lun clone create: File exists"

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.

lun show

        /vol/SCSQLV1/1/clone       139.7g (150029107200)  (r/w, online)

        /vol/SCSQLV1/1/data1       139.7g (150029107200)  (r/w, online, mapped)

Regards,

John

Re: When i issue a lun clone create i get the error "lun clone create: File exists"

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)?

Thanks

f