[DRBD-user] Re: [Q] What does it mean that bdev hardsect is the "wrong" size?

Maurice Volaski mvolaski at aecom.yu.edu
Fri May 27 17:36:26 CEST 2005

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

At 12:00 PM +0200 5/27/05, drbd-user-request at linbit.com wrote:
>Am Donnerstag, 26. Mai 2005 16:06 schrieb Maurice Volaski:
>>  Here's a message I came across in my logs:
>>  May 20 15:16:28 [kernel] drbd4: Meta data's bdev hardsect_size != 512
>>  May 20 15:16:28 [kernel] drbd4: Workaround engaged (has performace impact).
>What type of storage devices are you using ?
>disks/controller ?
>I guess it is not SCSI, I guess it is not IDE, right ?

Is there anything indicated below to suggest I don't have "512". Do I 
have something misconfigured?

The internal RAID is SATA, but only /dev/drbd0 is on it.

/dev/drbd4 is on an lv of the external RAID, /dev/sdb, which is a 
SCSI controller.

fdisk says
Disk /dev/sdb: 5599.9 GB, 5599996674048 bytes
255 heads, 63 sectors/track, 85103 cylinders

pvdisplay says
  --- Physical volume ---
   PV Name               /dev/sdb
   VG Name               jetstor
   PV Size               5.09 TB / not usable 0  
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              1335143
   Free PE               103
   Allocated PE          1335040
   PV UUID               Is03YH-vEvw-62Wz-uqFx-UMsm-ucEw-O46A3t

lvdisplay now says ("now says" because I recreated it since the time 
I saw this message)
   --- Logical volume ---
   LV Name                /dev/jetstor/hallv4
   VG Name                jetstor
   LV UUID                g8EJ32-Ldnl-qolt-hocr-tQFN-QEYC-YoIGKn
   LV Write Access        read/write
   LV Status              available
   # open                 2
   LV Size                1.27 TB
   Current LE             332800
   Segments               3
   Allocation             inherit
   Read ahead sectors     0
   Block device           254:2


Maurice Volaski, mvolaski at aecom.yu.edu
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University

More information about the drbd-user mailing list