NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

LUN how to change -restore-inaccessible true to false

candhill
3,440 Views

I've spent two days playing around with this and haven't been able to find a solution.

 

We have random LUN's that are unmanageable.  We can't take them offline or delete them.

 

lun modify -path <path> -state offline

 

gives

 

Error: command failed: The lun is inaccessible for I/O and management due to a restore operation.

 

We are not running any restores nor backups and no matter what it stays like that.

 

doing a lun show -instance -path <path> shows "Inaccessible Due to Restore" as being true but I don't see anywhere how to change that.  I don't see a command to view restores in progress or to cancel them.  I don't see an option in lun modify to change it.  I don't see anything anywhere to get rid of that inaccessible setting.

 

Would anyone happen to know how to change that setting so we can offline these luns and free up a lot of space?

 

Any help would be greatly appreciated

 

Thanks,

 

Version 8.2.P3 Cluster-Mode

2 REPLIES 2

mbeattie
3,421 Views

Hi,

 

There is an internal knowledge base article for the issue "LUN marked as 'Inaccessible' due to restore after aborted restore operation". Unfortunatley I'm not able to publically share the technical details or solution and can only advise that you log a case with NetApp support to assist you with resolving this.

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

paul_stejskal
3,342 Views

Agreed. The commands need to be done so as not to cause system disruption.

Public