[DRBD-user] format /dev/drbd0
Roland Kammerer
roland.kammerer at linbit.com
Tue May 1 09:22:34 CEST 2018
On Mon, Apr 30, 2018 at 02:59:23PM +0300, Ran Shalit wrote:
> Hello,
>
> I've seen in tutorial that we format the /dev/drbd0 block device
> (mkfs.ext4 /dev/drbd0).
> Should it give the same result as if we formatted the real device (for
> example /dev/sdb1) or are there any differences ?
When you use a device as backing device for DRBD, you then should never
ever touch the backing device directly. Just saying. You "have to" (you
really should) format the DRBD dev, and not the backing device.
Besides that, "the user visible behavior" should be the same. Obviously
the DRBD device might be slower because of the replication over the
network. But it should contain a normal ext4 filesystem...
Regards, rck
More information about the drbd-user
mailing list