2014-01-10 06:04 AM
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.
2014-01-13 05:14 AM
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.
2014-01-14 02:40 AM
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?
2014-01-14 03:13 AM
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.