Hitachi Content Platform​

 Disk usage different in Solaris OS and Hitachi storage

Nguyen Duc Loi's profile image
Nguyen Duc Loi posted 11-19-2021 03:08
Dear all,

I removed all files of a LUN on Solaris OS.
Hitachi storage device still shows 99% used. I have reclaimed the lun, but it doesn't change the status.
Solaris OS: 11.4.
Hitachi Storage: VSP E990.
How to reclaim the Lun on Solaris OS? How to solve the problem?

William Jansen Van Nieuwenhuizen's profile image
William Jansen Van Nieuwenhuizen

ZPR[Zero Page Reclaim], reclaims space where there are either no blocks written or the deleted blocks are 0'ed out. With the exception of some supported hostmodes on Filesystems like Vmware. 

I tried to see if I could find something about filesystems that are supported but couldn't find something quickly. What filesystem are you using? Most of the time the File System wont write 0's or let the storage system know that it deleted the data it will merely dereference them from the file allocation table. 

If all fails, one thing you could try(if you're using LVM in Solaris) is to vgextend onto a newly created volume and then shrink the existing volume out of the vg. LVM should only copy the currently used blocks to the new volume[basically LVM will discard the unused blocks]. You could then, deattach the old volume, double/tripple check that everything is working and then delete the old volume and reclaim the space that way.
Nguyen Duc Loi's profile image
Nguyen Duc Loi

I am using ZFS in Solaris.
I'm having problems with the storage system on the admin software:
- On Solaris operating system reported 84% usage.
- On Storage Navigator reported 100% used and 29% reserved.
- On Opscenter Admin reported 29% usage.