geom_mirror and ggatec/d safe for filesystem replication?
B.Candler at pobox.com
Sat Sep 24 07:18:13 PDT 2005
Consider the following scenario:
- Machine 1 has a UFS filesystem on a block device.
- It is mirrored to a block device on machine 2, using geom_mirror
- Machine 2 mounts this filesystem read only.
My question is: is this last step safe?
When an update occurs on machine 1, certain disk blocks will change "under
the nose" of machine 2's mounts. Will all necessary caches be invalidated?
(e.g. block caches, inode caches) Or could this result in nasty behaviour,
up to and including panics?
If so, is there a safer or better way of performing real-time filesystem
More information about the freebsd-stable