Keven
Contributor
- Joined
- Aug 10, 2016
- Messages
- 114
Hi,
Since I implemented snapshot on my freenas server, I have always been scared to rename a file because i'm not sure if it would double the disk space needed. After a quick search on google it look like it's too dumb as a question to appear on any thread... Does renaming a file increase the disk space of a (file+ snapshot) as if it was a new file that needed to have it's own new snapshot ex:
file1=1GB
snap2014.file1=1KB
snap2015.file1=1KB
snap2016.file1=1KB
= 1.000003GB
renaming file 1 to 1a in 2017
snap2017.file1=1GB
file1a=1GB
snap.file1a=1KB
=2.000001GB
or is it smart enough to just store the "name change" instead of storing a complete copy of that file?
Since I implemented snapshot on my freenas server, I have always been scared to rename a file because i'm not sure if it would double the disk space needed. After a quick search on google it look like it's too dumb as a question to appear on any thread... Does renaming a file increase the disk space of a (file+ snapshot) as if it was a new file that needed to have it's own new snapshot ex:
file1=1GB
snap2014.file1=1KB
snap2015.file1=1KB
snap2016.file1=1KB
= 1.000003GB
renaming file 1 to 1a in 2017
snap2017.file1=1GB
file1a=1GB
snap.file1a=1KB
=2.000001GB
or is it smart enough to just store the "name change" instead of storing a complete copy of that file?