Am Dienstag, 4. August 2009 17:38:16 schrieb Robert L. Harris:
> hmm,
>    I added the section on splitbrain,  missed that when I went through
> the first time.  I did follow
> the install instructions and it looked good unless I'm missing something
> stupid.  I just rebooted
> both machines and it looks MUCH happier.  Now both hosts report this:
>
>
> rob...@grandpa:/$ cat /proc/drbd
> version: 8.3.0 (api:88/proto:86-89)
> GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by
> iv...@ubuntu, 2009-01-17 07:49:56
>   0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r---
>      ns:92 nr:12292 dw:12384 dr:249 al:4 bm:2 lo:0 pe:0 ua:0 ap:0 ep:1
> wo:d oos:0
>
> r...@grandma:~# cat /proc/drbd
> version: 8.3.0 (api:88/proto:86-89)
> GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by
> iv...@ubuntu, 2009-01-17 07:49:56
>   0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r---
>      ns:12292 nr:92 dw:96 dr:12505 al:1 bm:4 lo:0 pe:0 ua:0 ap:0 ep:1
> wo:d oos:0

Ok. This look good.

> Unfortunately I tried doing some chgrp and cp funtions.  On grandpa I
> did a "chgrp -R users /data" and copied
> /etc/fstab into it.  Looks good.  None of the changes propogated to
> grandma though.
>
> It has been sitting for about 30 minutes with no change.
>
> Robert

Your /dev/drbd0 behaves as an ordinary partition.

Did you format the partitions with a filesystem? 
something like mkfs.ext3 /dev/drbd0 on one node?

BEWARE: DO NOT USE A NON-CLUSTER Filesystem on a dual-primary DRBD in 
production.

Did you mount the partition with
mount -t ext3 /dev/drbd0 /mnt on BOTH nodes?

Than you can write a file to one node and see the file on the other node. 

But in production you need a cluster filesystem like OCFS2, GFS or 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

Reply via email to