Software Development Kit (SDK) and API Discussions
I would like to enable space_alloc for a LUN in ONTAP 8.1.3 7-mode.
Doing so using the CLI (lun set space_alloc <lun path> enable) works fine, trying the same using the API lun-set-attribute results in the error 'The lun attribute "space_alloc" can not be changed.'.
Querying the space_alloc status for the same LUN using lun-get-attribute works fine.
The api name for this stuff is lun-set-space-reservation-info.
In PS : Set-NaLunSpaceReserved
lun-set-space-reservation-info sets the space reservation for the LUN but not space_alloc. These are two different settings, run 'lun show -v' in diag mode to display the space_alloc setting.
oh I didn't know this option, sorry
Just by curiosity why do you need this situation where a LUN runs out of space and host cannot write to the LUN, but the host can still read the LUN.
Can dig to corruption no?
it's a requirement for using space reclamation for VMware LUNs, see https://kb.netapp.com/support/index?page=content&id=3013572 for more details.
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.