Hi Ryusuke,

My point is that I don't actually care about cp's or snapshots.

They are a means to an end and not an end in themselves.

For the purpose of making a backup, if we can snapshot-and-mount, then they can be anonymous. If they are anonymous, we don't have to worry about old snapshots filling up the system. Unmount and they are gone.
That covers the biggest use of snapshots-- making a consistent backup.

If you want to change a cp to a ss on mount, you still have to provide the cp number, which is hard to script.


The other use would be to do a roll back if required. Perhaps rollback to a checkpoint as well as a snapshot.
That's useful but it can wait.



Ryusuke Konishi wrote:
Hi,

On Tue, 14 Oct 2008 10:40:27 +1300, John Huttley wrote:
Hi

I've just discovered nilfs, which is great for its snapshot capability.

Since the purpose of having a snapshot is to mount it, I was surprised that the utilities do not
have a snapshot-and-mount  and  unmount-and-delete   ability.

Has anyone made a script to do this?

Thank you for your interest in NILFS.

How about making every checkpoint mountable ?
Does it differ from what you want?

It seems to be possible to enhance mount.nilfs2 and umount.nilfs2 to
allow changing given checkpoint to snapshot just before mounting, and
restoring the state on unmount. (This is not a polite way but
seems enough for most cases)

Regards,
Ryusuke
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to