Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
When i issue a lun clone create i get the error "lun clone create: File exists"
2012-02-01
02:37 AM
4,400 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you get the output of the lun show unmapped and check if you have any luns which is unmapped.
Kumaresan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, the command returns nothing.
netapp-7> lun show unmapped
netapp-7>
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
