There is no way to mount a secondary device without first promoting it
to primary.
If what you're looking to do is have one server primary with a read-only
secondary, it is not possible.

Your secondary servers 'cat /proc/drbd' should look similar with the
exception of Primary/Secondary are reversed.

Brian

Robert L. Harris wrote:
>    I have remade the system using single primary since that's all that 
> is needed in reality.
> At current I have this on the primary:
>
> r...@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/Secondary ds:UpToDate/UpToDate C r---
>      ns:825415525 nr:0 dw:133509 dr:825282384 al:37 bm:50372 lo:0 pe:0 
> ua:0 ap:0 ep:1 wo:b oos:0
>
> I get the same off the secondary system as well.  When I try to mount 
> the xfs filesystem I am
> getting this:
>
> r...@grandma:~# mount -t xfs -o ro /dev/drbd0 /data/
> mount: Wrong medium type
>
> I am looking but don't see a doc that says how to mount the image read 
> only on the secondary
> machine.
>
> Robert
>
>   
_______________________________________________
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