Hi.

Let's see article from 
http://wiki.centos.org/HowTos/Ha-Drbd

Let's do commands:

[EMAIL PROTECTED] /]# drbdadm primary repdata ; mount /dev/drbd0 /repdata
[EMAIL PROTECTED] /]# dd if=/dev/urandom of=/repdata/test.file  bs=1000000c
count=1000; ip l set eth0 down;
[EMAIL PROTECTED] /]# ls -l /repdata/test.file
-rw-r--r-- 1 user users 1000000000 Sep 15 15:07 /repdata/test.file


[EMAIL PROTECTED] /]# drbdadm primary repdata ; mount /dev/drbd0 /repdata
[EMAIL PROTECTED] /]# ls -l /repdata/test.file
-rw-r--r-- 1 user users 868456004 Sep 15 15:07 /repdata/test.file

As you will see there will be different sizes.
But they SHOULD be the same.

If we will add to mount command the option '-o sync', than there will
be no differences in sizes. But in case of 'bs=1c' in dd command the
file creation will be very and very slow because of turned off chaching.

Anybody knows this issue?
SHOULD I turn off caching om ALL underling devices and filesystems to
get HA cluster filesystem?


-- 
Regards, Alexandr A. Panko
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to