[DRBD-user] Something not right??

Fajar Priyanto fajarpri at cbn.net.id
Tue Aug 12 07:08:01 CEST 2008

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

RYAN vAN GINNEKEN wrote:
> /dev/drdb1      /drbd           ext3    noauto          0       0
> 1:r0   Connected  Primary/Secondary  UpToDate/UpToDate  C  /drbd    ext3
> 
> I know this is a silly newbie question but when i add a file to the primary it is supposed to automagically appear 
> on the secondary right? How do i handle the mount senerio there ( the secondary) leave it unmounted right?

Yes, it will automagically be replicated to the secondary node. But it
can't be accessed (yet), until you change the status from secondary to
primary. On a primary-secondary setup, only the primary can be mounted
and accessed. The secondary acts as a backup.

In /etc/fstab you can setup it on both nodes:
/dev/drbd1	/drbd	ext3	defaults	0 0
But of course you will get an error during booting of the secondary node.

To make it automatic, you can use linux-ha.
- --
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
13:10:54 up 5:02, 2.6.24-18-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoRqx8TneBL/L6RoRAjFWAJsE6QlRmM6RBgUVtob1WQGSCHra+wCeMsAe
3ep+SkP6VFdVGpIjg9Pw2J0=
=Rgxh
-----END PGP SIGNATURE-----



More information about the drbd-user mailing list