1 Rookie
•
62 Posts
0
1127
March 10th, 2021 04:00
Snapshot overhead when moving files inside SnapshotIQ policy directory
Hi
If I have /ifs/MyDir with a SnapshotIQ policy, and if I move data from /ifs/MyDir/SubDir-A to /ifs/MyDir/SubDir-B, will this affect filesystem space consumption for as long as snapshots exist with said data "still present" in /ifs/MyDir/SubDir-A?
Copy the data to destination would not be "visible" to SnapshotIQ and affect filesystem space consumption. But what about data move?
What about CLI rename?
Does anybody have knowledge or experience on this?
Thanks in advance!


tenortim
36 Posts
4
March 11th, 2021 15:00
Hi @CendresMetaux ,
if you rename a directory within a snapshot (`mv SubDir-A SubDir-B`, then that won't cause any changes to the data. The snapshot will grow by a very small amount as it will retain the changed blocks in the directory itself because of the change in name,
If you leave both directories intact and move files between them, again, the underlying file isn't changing and only the blocks that change in the source directory because files are being removed from that directory will change.
In both of the above cases, the rename only changes the metadata. The older snapshots in SubDir-A will be pointing to the inodes (LINs) of the moved files, and those inodes and files still exist. If you then deleted or changed those files in SubDir-B, then the affected blocks from the files would be moved into the current snapshot.
Does that answer your question?t
Tim
DELL-Sam L
Moderator
•
7.9K Posts
0
March 10th, 2021 16:00
Hello CendresMetaux,
Here is a link to a kb that maybe of assistance. https://dell.to/3vaQQVb
CendresMetaux
1 Rookie
•
62 Posts
0
March 12th, 2021 12:00
Thanks Tim, thats about what I was looking for