[DRBD-user] Does oversize disk hurt anything?

Dan Barker dbarker at visioncomm.net
Fri Oct 5 19:59:02 CEST 2012

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


I just lost a disk on my secondary node. I looked EVERYWHERE and can't find
the spare disks I bought for such an occurrence. So, I put in a handy disk,
twice the size.

drbdadm create-md r1
drbdadm attach r1

and off we go.

If memory serves, create-md will build a meta-data at the END of the disk.
Won't that cause a lot of seek to the hub when seeking to about the middle
of the platters would have done the trick, had the metadata been at the same
offset as the primary?

Dan

version: 8.4.0 (api:1/proto:86-100)
GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root at DrbdR0,
2012-05-28 12:09:30 (Yes, I know. I need to upgrade).

Failed disk: WD 500G
Replaced by: WD 1T
On server: DrbdR0

cat /etc/drbd.d/r1.res
resource r1 {
    on DrbdR0 {
        volume 0 {
            device       /dev/drbd1 minor 1;
            disk         /dev/sdc;
            meta-disk    internal;
        }
        address          ipv4 10.20.30.46:7790;
    }
    on DrbdR1 {
        volume 0 {
            device       /dev/drbd1 minor 1;
            disk         /dev/sdc;
            meta-disk    internal;
        }
        address          ipv4 10.20.30.47:7790;
    }
    startup {
        become-primary-on DrbdR1;
    }
}






More information about the drbd-user mailing list