filesystem snapshot question
From: Garrett Wollman (wollman_at_khavrinen.lcs.mit.edu)
Date: 01/19/04
- Previous message: sos_at_deepcore.dk: "Re: 5.2-CURRENT FreeBSD - ata1-slave : TIMEOUT - SETFEATURES SETTRANSFER MODE retrying (0 retries left) -"
- In reply to: Jesse Guardiani: "filesystem snapshot question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Jan 2004 23:29:14 -0500 (EST) To: jesse@wingnet.net
<<On Sun, 18 Jan 2004 23:11:51 -0500, Jesse Guardiani <jesse@wingnet.net> said:
> So when a snapshot is active on a filesystem, does
> every disk write happen twice? Once to the real
> filesystem and once to the snapshot with old data?
No. Writes only happen once. If a block is part of a snapshot, a new
block on the disk is allocated to hold the updated data.
> Does a snapshot physically grow on the disk as
> changes are made to the real filesystem?
No, but the active filesystem shrinks, as blocks that were formerly
shared with the snapshot become exclusively the property of the
snapshot(s) which contain them.
-GAWollman
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: sos_at_deepcore.dk: "Re: 5.2-CURRENT FreeBSD - ata1-slave : TIMEOUT - SETFEATURES SETTRANSFER MODE retrying (0 retries left) -"
- In reply to: Jesse Guardiani: "filesystem snapshot question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|