[DRBD-user] Initializing shortcut

Martin Fick mogulguy at yahoo.com
Wed May 10 19:47:48 CEST 2006

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


--- Lars Ellenberg <Lars.Ellenberg at linbit.com> wrote:

> existing file system /srv on
> old-sinlge-server:/dev/sdb1.
> umount.
> configure drbd on top of /dev/sdb1
> on old-single-server and new-standby-server.
> start drbd for the first time.
> initialize in a way to skip sync.
> make old-single-server:/dev/drbd0 primary.
> mount /dev/drbd0 /srv (instead of /dev/sdb1 before),
> use the existing data that is there.
> be happy.
> work with it.
> eventually do a failover.
> *BOOM* because of skip sync above.


Woah, I guess I don't understand drbd very well.  I
did not realize that you could turn an existing
partition with data on it into a drbd partition and
preserve the data?  That is what you are describing
isn't it?

I certainly would not expect the sync skiping to work
when there is pre-existing data on the partition, I
thought that all drbd setups had to start with a dirty
partition that was assumed to be overwritten.  I guess
this changes things. :)

In this case, where does drbd put the 128MB meta-data
then since there is already a filesytem on the
partition?  Does this only work with external
meta-data?  

-Martin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the drbd-user mailing list