[DRBD-user] how to retain the data in the partition for initial setup for DRBD
Cindy KS TOH
kstoh at dlsjubm.com.my
Mon May 4 11:39:34 CEST 2009
Thanks for the confirmation.
Step 1 is for my metadata partition. Cause if not done that sometime
it'll give me error when doing step 2. even though it's a empty
Yes. I am using HA for my drbd servers. ^__^ will yum it down.
Will do testing on test PCs for this before I do it on the actual servers.
Cindy KS TOH
Stefan Seifert wrote:
> On Saturday 02 May 2009 11:16:36 Cindy KS TOH wrote:
>> Thanks for the speeding respond. Below is my drbd.conf, i am actually
>> using the external metadata. Just not sure how should i proceed. my
>> steps are,
>> 1. #dd if=/dev/zero of=/dev/VolGroup00/LogVol02
>> 2. #drbdadm create-md all
>> 3. #modprobe drbd
>> 4. #drbdadm attach all
>> 5. #drbdadm connect all
>> 6. #cat /proc/drbd
>> 7. #drbdadm -- --overwrite-data-of-peer primary all
>> normally later will be #mkfs.ext3 /dev/drbd0 and #tune2s -c -1 -i 0
>> if i want to keep my data from being formated, then does it mean i
>> should skip the #mkfs.ext3 /dev/drbd0 and #tune2fs -c -1 -i 0
>> /dev/drbd0 ?? and straight away do the #mount -o rw /dev/drbd0 /data ??
> Yes. You might also want to skip step 1. Otherwise there won't be much left of
> your data ;)
> If in doubt, just try it on your testing machines. If you're serious about HA,
> you of course have those.
More information about the drbd-user