<div dir="ltr">Thanks Jakob ..... all other volumes in that resource are ext4 as I can see <div><br></div><div><br></div><div><div>[Good-Node]$ df -T</div><div><br></div><div>/dev/drbd1 ext4 516045588 23803136 466028856 5% /mnt/drbd1</div><div>/dev/drbd2 ext4 516045588 15042836 474789156 4% /mnt/drbd2</div><div>/dev/drbd3 ext4 516045588 15045468 474786524 4% /mnt/drbd3</div><div>/dev/drbd4 ext4 516045588 15005716 474826276 4% /mnt/drbd4</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>$ sudo fdisk /dev/sdb</div><div><br></div><div>Command (m for help): p</div><div><br></div><div>Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes</div><div>255 heads, 63 sectors/track, 121601 cylinders</div><div>Units = cylinders of 16065 * 512 = 8225280 bytes</div><div>Sector size (logical/physical): 512 bytes / 4096 bytes</div><div>I/O size (minimum/optimal): 4096 bytes / 4096 bytes</div><div>Disk identifier: 0x00000000</div><div><br></div><div> Device Boot Start End Blocks Id System</div><div>/dev/sdb1 1 65271 524288000 83 Linux</div><div>/dev/sdb2 65271 121602 452473560 83 Linux</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 1:34 PM, Jakob Curdes <span dir="ltr"><<a href="mailto:jc@info-systems.de" target="_blank">jc@info-systems.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am in doubt whether your step 1 is correct.<br>
DRBD is a block replication system. This typically works way below the file system. Unless you have a very special setup, you will not need or want to format your disk with ext4.<br>
You just replace the bad disk with the good one and after creating metadata as your indicated you connect to the primary which will initiate a resynchronisation of the content.<br>
<br>
NB. For complex systems like a DRBD-setup it is always good to have a test setup where you can simulate the behavior before accidentally destroying data.<br>
<br>
<br>
Regards,<br>
<br>
Jakob Curdes<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</div></div></blockquote></div><br></div>