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.

Microsoft Virtualization Discussions

Reclaim space in LUN.

SCOTT_V_RONTALE
7,566 Views

Hi everyone ,

How can we reclaim space in LUN, The reports says there is a capacity mismatch between the host and storage system. Is there a manual way or such commands that can reclaim space in lun because we don't have a snapdrive.

Thanks

4 REPLIES 4

mecd200000
7,566 Views

What OS Do  you use?  If you are using a redhat 6.x or  ubuntu  12.x,  type a fstrim  /mount point.

ex> df -h

      /dev/sdb      /mnt          ->  cd /   -> fstrim /mnt

To use fstrim, You must use ext4 format using mkfs -t ext4.

SCOTT_V_RONTALE
7,566 Views

Its on a VM and the guest OS is windows.

erikdenburger
7,566 Views

We use the ontap powershell module. There is a space reclaim function in that module.

Windows Server 2012R2 will reclaim space automaticly

CANARAHSBCLIFE
7,566 Views

for non space reserved lun with thin-provisioned volumes VM/physical windows server - snapdrive space reclaimer works perfectly...

In case of space reserved luns... I have experienced volume getting full after space reclaimer is run. Anyone has any resolution to this problem ???

Public