Am Freitag, 14. August 2009 16:47:52 schrieb Harald Dunkel: > Hi folks, > > If I understood the Linux-HA concept correctly, then it > works because the services (NFS, Samba, EMail, Apache, > etc.) share state information between the cluster hosts > somehow. For NFS and Samba this state information is often > stored in a file system on a shared block device, e.g. > using drbd. > > But does this concept work for the file system itself? > AFAICS most Linux file systems keep state information in > RAM. When the backup host takes over because the master > died of something, does it really have consistent > information on file system, service and application > level? > > Sorry for asking. I am highly concerned because I saw > 2 fatal file system failures within the last 7 days (xfs). > > > Regards > > Harri
For NFS this is no problem. NFS is in charge for the file locks. It on the disk. so if the other node wants to write to a locked file, NFS says: "no, no". CIFS; I don't know. Do NOT use normal file systems like ext3 on shared media in clusters like DRBD or iSCSI. This will lead to data corruption. Use filesystems that are cluster aware: OCFS2, GFS and GPFS. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [email protected] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
