[DRBD-user] Receiving a message "disk size of peer is too small"

José Andrés Matamoros Guevara amatamoros at ie-networks.com
Tue Sep 12 02:50:00 CEST 2017

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


I have two different servers with drbd replication. One disk failed in one
of the servers. I have replaced it with a newer disk with physical sector
size of 4096 bytes. The old one is 512 bytes.

 

Now, I’m receiving a message saying “the disk size of peer is too small” and
the resources don’t connect. If both disks are of the same size, is there
any configuration I can make to make it work?

 

I’m pasting the fdisk print information of both disks. Can I create a
partition of the same size in the new disk? What can I do to solve this
problem?

 

Fdisk print of the old disk:

 

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes

81 heads, 63 sectors/track, 765633 cylinders

Units = cylinders of 5103 * 512 = 2612736 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0001a0a8

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1      765634  1953513560   83  Linux

 

Fdisk print of the new disk (without partition):

 

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes

255 heads, 63 sectors/track, 243201 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk identifier: 0x000a127a

 

Andres.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170911/88dd37c1/attachment.htm>


More information about the drbd-user mailing list