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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a command line way to rename a LUN in Ontap 9.8P10?
I saw the solution from 2012 in this forum but it doesn't work:
hostname::> lun move /vol/vol_test06_vol/vol_test06_lun /vol/vol_test06_vol/yoda_test06_lun
Error: "/vol/vol_test06_vol/vol_test06_lun" is not a recognized command
Solved! See The Solution
1 ACCEPTED SOLUTION
DaleW has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And the real command is here:
lun move-in-volume
This command moves a LUN to a new path in the same volume or renames a LUN
9 REPLIES 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you're missing a few parts of the command. Here's what I did in my 9.8 lab:
WOPR::> lun move start -vserver Storage_iSCSI -source-path /vol/testvol/testlun.lun -destination-path /vol/testvol/newlun.lun
Following LUN moves have been started:
"Storage_iSCSI:/vol/testvol/testlun.lun" move to "Storage_iSCSI:/vol/testvol/newlun.lun"
DaleW has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And the real command is here:
lun move-in-volume
This command moves a LUN to a new path in the same volume or renames a LUN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Worked like a charm. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is the url you wanted buddy? that just took me to the man pages over all.
https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-980/lun__move-in-volume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah. Sure. The “new” docs site doesn’t have that cool link feature anymore. Cutting and pasting on the phone just sticks
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also looking at API to rename lun. How does the API call looks like? I want to use the postman to test it. Can someone help me here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd start here -> https://library.netapp.com/ecmdocs/ECMLP2858435/html/resources/lun.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like that API not support this argument move-in-volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got it. Using PATCH to update the lun name. Thanks
