#Does ONTAP support NFSv4.2 DEALLOCATE?

1 messages · Page 1 of 1 (latest)

cosmic vector
#

Proxmox supports NFSv4.2 which customer wants to use. Sparse files stay "sparse" when being created on a local disk and then being moved to the NetApp NFS-datastore.
But triyng to "TRIM"/DEALLOCATE there does not seem to work. The DEALLOCATE NFSv4 call only gets a NFS4ERR_IO reply.

topaz island
#

just a wild guess, but did you try enabling vstorage?

potent mural
#

supported in 9.10.1

#

if only cluster is at 9.10.1 and if the v4.1 option is on

#

Whole file unreservation (deallocate + unreserve) supported. Partial range hole punching supported. This means blocks will be freed but not unreserved. Partial range unreservation is not supported.

cosmic vector
cosmic vector
potent mural
#

I think you would have to look in the RFC for more information, but I think hole punching is for creating new files while unreservation is modifying existing files

cosmic vector
#

I just did. 🙂
When the RFC talks about "hole punching" always only DEALLOCATE is mentioned. So hole punching = NFSv4.2 operation DEALLOCATE.
The same with the term "unreserve", it's always about DEALLOCATE.

There are no hole punching or unreserve commands. There only is DEALLOCATE in NFSv4.2.

#

And it says for DEALLOCATE: "Whenever a client wishes to unreserve space for a region in a file"

potent mural
#

9.12.1 would certainly seem to be best then

cosmic vector
#

well but it doesn't work 😦

#

vstorage has been enabled, didn't change anything