Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I have a linux server with two disks (1.7T) using LVM2 (xfs filesystem) and I want to use drbd to replicate this device to another server. How can I activate this configuration without lose any files on production server? My server is redhat el4 and drbd Version: 0.7.24 (api:79). This is my scenario: Disk /dev/sda: 1796.7 GB, 1796776919040 bytes 255 heads, 63 sectors/track, 218445 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb: 1796.7 GB, 1796776919040 bytes 255 heads, 63 sectors/track, 218445 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes /dev/sda and /dev/sdb with LVM2 and xfs filesystem: /dev/mapper/stg--emails-md3000--0 3509190656 2436322340 1072868316 70% /my_mountpoint the res0 is in production without any problems... resource res0 { ... } resource res1 { protocol C; disk { on-io-error detach; size 3509321728; # <-- Is this correct?? } syncer { rate 100M; } on host1 { device /dev/drbd1; disk /dev/stg-emails/md3000-0; address xxx.xxx.xxx.xxx:7789 meta-disk internal; # <-- Is this recommended? } on host2 { device /dev/drbd1; disk /dev/sdb1; address xxx.xxx.xxx.xxx:7789 meta-disk internal; } } I'll need to format de /dev/drbd1 ? Thanks in advance! -- Ítalo Rossi Administração de redes Diginet Brasil adm.italo at digi.com.br (+55) 84 4008-9000 Esta mensagem, incluindo seus anexos, pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação. This message, including its attachments, may contain confidential and/or privileged information. If you are not the recipient or authorized person to receive this message, you must not use, copy, disclose or take any action based on this message or any information herein. If you received this message by mistake, please advise the sender immediately by replying the e- mail and deleting this message. Thank you for your cooperation.