Community

Subscribe
Highlighted

Volume space not returning after file deletes

Hi guys,

I'm having an issue on an NFS volume where it's not reclaiming any space that i have deleted.

The amount of data i deleted was approximately 100GB worth of data.

That 134GB avail has not changed at all.

I deleted all the snapshots and it said there was about 100GB reclaimable.

I have not seen any of that space return to my volume.

Filesystem               total       used      avail capacity  Mounted on

/vol/nfs21/              921GB      786GB      134GB      85%  /vol/nfs21/

/vol/nfs21/.snapshot      102GB        0GB      102GB       0%  /vol/nfs21/.snapshot

Also

vol options nfs21

nosnap=off, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off,

ignore_inconsistent=off, snapmirrored=off, create_ucode=on,

convert_ucode=off, maxdirsize=28835, schedsnapname=ordinal,

fs_size_fixed=off, compression=off, guarantee=volume, svo_enable=off,

svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off,

no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow,

read_realloc=off, snapshot_clone_dependency=off, nbu_archival_snap=off

Any suggestions?

Re: Volume space not returning after file deletes

The snapshot reserve should adjusted, the amount available in the volume won't change until you do.

Re: Volume space not returning after file deletes

But if i deleted ~ 100GB data and i also deleted 100GB of reclaimable snapshot space shouldn't some of that have gotten picked back up in the actual volume? that doesn't make sense that none of it gets reclaimed. it's highly unlikely the 100GB of data was using was deduplicated 100%

Re: Volume space not returning after file deletes

Hi,

Deleted files in question - weren't they sparse ("thin") by any chance?

Also, can you check the df output once again to see whether it shows any different figures now?

Regards,

Radek

Re: Volume space not returning after file deletes

Not likely they were sparse files since a bunch of it was assets like jpg files html files etc etc. there were also a couple databases which those possibly could've been but i still would've expected like at least 20% return of space.

And no i haven't seen the space change since doing a df again

Re: Volume space not returning after file deletes

They could be held in the snapshot space. If you delete the snapshot it takes time to complete the delete, it's considered a background task, check back in a few hours (depending what else is going on).

Re: Volume space not returning after file deletes

yeah so i let it sit for the day and it still didn't reclaim anything.

Re: Volume space not returning after file deletes

Do you still have the df output from before you deleted the files, then before you deleted the snapshots?  Do you have OnCommand (DFM) (or other) capacity graphs covering the period in question?

You say it said there was about 100G reclaimable - was that from the snap reclaimable command?

Bill

Re: Volume space not returning after file deletes

You have snap reserve. So any space in snapshots you deleted is accounted as part of snap reserve, not as part of user visible usable volume space (unless snapshots consumption exceeded snap reserve).

Отправлено с iPhone

03.01.2013, в 23:08, "james tran" <xdl-communities@communities.netapp.com<mailto:xdl-communities@communities.netapp.com>> написал(а):

<https://communities.netapp.com/index.jspa>

Re: Volume space not returning after file deletes

created by james tran<https://communities.netapp.com/people/JAMES.TRAN> in Products & Solutions - View the full discussion<https://communities.netapp.com/message/97605#97605>

yeah so i let it sit for the day and it still didn't reclaim anything.

Reply to this message by replying to this email -or- go to the message on NetApp Community<https://communities.netapp.com/message/97605#97605>

Start a new discussion in Products & Solutions by email<mailto:discussions-community-products_and_solutions@communities.netapp.com> or at NetApp Community<https://communities.netapp.com/choose-container.jspa?contentType=1&containerType=14&container=2068>

Re: Volume space not returning after file deletes

aborzenkov is correct - I understood your OP to say that you deleted about 100G from the filesystem, THEN deleted the snapshots - but if you just deleted 100G in snapshots, the live filesystem space won't reflect any change, and in that case you should have seen the snapshot space go from 100% to 0%.

Bill