Re: netapp-alike snapshots?
From: A L <hidden>
Date: 2017-08-22 17:19:12
Perhaps using a bind mount? It would look and work the same as a ordinary fs. Just need to make sure du uses one filesystem. ---- From: Ulli Horlacher [off-list ref] -- Sent: 2017-08-22 - 18:57 ----
On Tue 2017-08-22 (21:45), Roman Mamedov wrote:quoted
It is beneficial to not have snapshots in-place. With a local directory of snapshots, issuing things like "find", "grep -r" or even "du" will take an inordinate amount of time and will produce a result you do not expect.Netapp snapshots are invisible for tools doing opendir()/readdir() One could simulate this with symlinks for the snapshot directory: store the snapshot elsewhere (not inplace) and create a symlink to it, in every directory.quoted
Personally I prefer to have a /snapshots directory on every FSMy users want the snapshots locally in a .snapshot subdirectory. Because Netapp do it this way - for at least 20 years and we have a multi-PB Netapp storage environment. No chance to change this. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20170822214531.44538589@natsu> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html