> If i put the database in hotbackup mode,then i will have to ensure > that the filesystem is consistent as well.So, you are saying that > taking a ZFS snapshot is the only method to guarantee consistency in > the filesystem since it flushes all the buffers to the filesystem , so > its consistent.
The ZFS filesystem is always consistent on disk. By taking a snapshot, you simply make a consistent copy of the filesystem available. Flushing buffers would be a way of making sure all the writes have made it to storage. That's a different statement than consistency. > Just curious,is there any manual way of telling ZFS to flush the > buffers after queiscing the db other than taking a ZFS snapshot?. The usual methods of doing this on a filesystem are to run sync, or call fsync(), but that's not anything specific to ZFS. If you're not taking a snapshot, why would you want ZFS to flush the buffers? -- Darren Dunham [EMAIL PROTECTED] Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss