AW: [DRBD-user] Behaviour of drbd-secondary

Seuberth, Frank F.Seuberth at ing-diba.de
Wed Mar 23 12:41:45 CET 2005

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


Hello,

just for thinking aubout technik :
Immagine that the secondary has a Software RAID 1 under the drbd.
take out (hotremove) the (raid1-) mirror, mount, do_what_you_want,
unmount, raid-hot-add it again to the raid1.

possible ?

Frank
http://www.rentable-hardware.de


-----Ursprüngliche Nachricht-----
Von: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com]Im Auftrag von Philipp
Reisner
Gesendet: Mittwoch, 23. März 2005 12:19
An: Filip Sergeys
Cc: drbd-user at lists.linbit.com
Betreff: Re: [DRBD-user] Behaviour of drbd-secondary


[...]
>     My experiences are:
>      - ext2/ext3 will print some assertions to the kernel log, return an
> error to the application that wanted to read the file and continue to run.
>      - reiserfs  will crash the machine.
>
> That means I have been a lucky bastard the last few months. I use
> reiserfs ....  hmmm, I better a solution quick !
> Would a better way be to drbdsetup /dev/nb0 disconnect before mounting
> read only, do my stuff, unmount, and then run drbdsetup /dev/nb0 net xyz
> to bring it in secondary state again?

Well, as you have noticed that the window for this race condition is rather
small -> The probability to hit it is small. __But_it_is_there__ .
Therefore people should not mount a normal filesystem on the secondary.

Alternative: 
 Use DRBD-0.7 and mirror the partition that holds the data-base immage
 as well.

-philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.



More information about the drbd-user mailing list