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.

ONTAP Discussions

Deleting a qtree without it entering snapshots

jamyles
3,739 Views

I recently had a qtree that was quite large and deserved to be its own volume (3 TB, 25 million files), so I migrated it. That all worked fine but when I did a 'qtree delete' to clean up the original volume I realized this would all be going straight into snapshots (and then into vault snapshots, in my case) so I'd be carrying that extra 3 TB for a long time.

 

Is there any way to avoid this? I realize it goes against the philosophy of snapshots but also realize there could be something I'm not thinking of. Thanks!

2 REPLIES 2

aborzenkov
3,731 Views

It is not "going into snapshot". If it is already in snapshot, there is nothing you can do except deleting snapshot(s). If it is not in any snapshot (i.e. qtree was created after most recent snapshot had been taken) then deleting it will not cause it magically be moved into existing snapshot.

jamyles
3,714 Views

Ah, I could have given more details. Yes, the qtree had been around for a while, so there is a large snapshot on that volume now. I'll look at it more closely to see if deleting that snapshot makes sense.

Public