[DRBD-user] mount secondary DRBD node as read-only

Iustin Pop iustin at google.com
Wed Feb 27 18:27:23 CET 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Wed, Feb 27, 2013 at 02:25:26PM -0300, Felipe Gutierrez wrote:
> Hi everyone,
> 
> I am trying to mount as read-only my secondary node over DRBD and I get
> this error: mount: Wrong medium type.
> 
> Does anyone know what I should do?
> 
> Thanks in advance!
> Felipe
> 
> # cat /proc/drbd
> version: 8.3.11 (api:88/proto:86-96)
> srcversion: 71955441799F513ACA6DA60
> 
>  7: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate C r-----
>     ns:0 nr:3799268 dw:3799268 dr:0 al:0 bm:252 lo:0 pe:1 ua:0 ap:0 ep:1
> wo:f oos:1513088
> [=============>......] sync'ed: 71.6% (1476/5184)Mfinish: 0:19:28 speed:
> 1,280 (1,276) want: 250 K/sec
> 
> 
> # mount -o ro /dev/drbd7 /mnt/drbd7/
> mount: Wrong medium type

If it's secondary, you can't access it at all, I think.

regards,
iustin



More information about the drbd-user mailing list