Enable space allocation for SCSI thinly provisioned LUNs
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- SAN storage management
- Security and data encryption
-
Data protection and disaster recovery
- Data protection with the CLI
Collection of separate PDF docs
Creating your file...
If you set the space-allocation
option to enabled
, ONTAP notifies the host when the volume has run out of space and the LUN in the volume cannot accept writes. This option also enables ONTAP to reclaim space automatically when your host deletes data.
The space-allocation
option is set to disabled
by default, and you must take the LUN offline to enable space allocation. After you enable space allocation, you must perform discovery on the host before the host will recognize that space allocation has been enabled.
-
Take the LUN offline.
lun modify -vserver vserver_name -volume volume_name -lun lun_name -state offline
-
Set the
-space-allocation
parameter toenabled
:lun modify -vserver vserver_name -volume volume_name -lun lun_name -space-allocation enabled
-
Verify that space allocation is enabled:
lun show -vserver vserver_name -volume volume_name -lun lun_name -fields space-allocation
-
Bring the LUN online:
lun modify -vserver vserver_name -volume volume_name -lun lun_name -state online
-
On the host, rescan all disks to ensure that the change to the
-space-allocation
option is correctly discovered.