2011-08-02 07:10 AM
So, I have a weird issue...
I have a 135Gb Volume called "ctxlic_db". The volume guarantee is enabled, with 0 fractional_reserve.
I have a 100Gb LUN called "ctxlic_db.lun" in the volume with space reservation disabled.
LUN is attached to a Win2003 host. The windows host shows the drive/lun is using just under 7Gb (93Gb free).
The 135Gb Volume, with 43Gb of Snapshots, show 88% full, using 118Gb space!?
So, my question is, why is my volume showing 88% full, when LUN Space Reservation is disabled, and the host is using only 7Gb.
I would generally expect the volume used space being 50Gb (7Gb used space + 43Gb of snapshots).
Details below and attached.
fa02> vol status /vol/ctxlic_db
Volume State Status Options
ctxlic_db online raid_dp, flex nosnap=on, create_ucode=on,
Containing aggregate: 'fc_aggr1'
fa02> lun show -v /vol/ctxlic_db/ctxlic_db.lun
/vol/ctxlic_db/ctxlic_db.lun 100.0g (107389255680) (r/w, online, mapped)
Space Reservation: disabled
Multiprotocol Type: windows_gpt
fa02> df /vol/ctxlic_db/ctxlic_db.lun
Filesystem kbytes used avail capacity Mounted on
/vol/ctxlic_db/ 141557760 124558928 16998832 88% /vol/ctxlic_db/
/vol/ctxlic_db/.snapshot 0 45575696 0 ---% /vol/ctxlic_db/.snapshot
fa02> df -h /vol/ctxlic_db/ctxlic_db.lun
Filesystem total used avail capacity Mounted on
/vol/ctxlic_db/ 135GB 118GB 16GB 88% /vol/ctxlic_db/
/vol/ctxlic_db/.snapshot 0GB 43GB 0GB ---% /vol/ctxlic_db/.snapshot
Solved! SEE THE SOLUTION
2011-08-02 07:30 AM
you can use the option of your snapdrive tool called spacereclaimend. this will refresh the used space of your volumen.
on filer site you can use wafl reallocate, but i think for you it is the best way to do this with the snapdrive option.
2011-08-02 07:31 AM
This is what I was thinking, thank you for your reply.
I tried to run Space Reclamation twice (via Snapdrive), and it would get to 3-4% (10-15minutes), then quit running.
2011-08-02 07:34 AM
No worries, happy to (try to ) help!
As I recall there are things that will stop SR from running. such as snapshots being taken. I will have a search and see if anything useful turns up.
It might be worth opening a case if you have time, so we can get you your storage back!
2011-08-02 07:39 AM
EDIT: just saw your reply, so this isn't relevant!
From the docs:
"SnapDrive for Windows automatically stops Space Reclaimer in several instances.
Did any of this happen?
2011-08-02 07:39 AM
I have read the "Reasons for SnapDrive to automatically stop Space Reclaimer", and none of those reasons apply to me.
I will open a case with NetApp.
2011-08-02 02:29 PM
Support has refered me to KB 3011577, which i have read, and has suggested to create a new LUN... NDMP copy the data from the old LUN to the new LUN, and attached to the new LUN -destroy the old LUN. I figure this would be the recommendation...
2011-08-03 02:39 AM
Completely random thought - I wonder if the LUN move functionality would achieve the same resullt? Probably something to test in a different environment... I imagine not since it uses mirroring instead of an NDMP copy.