S'il faut augmenter la taille de la partition DRBD il faut procéder par étape car elle est liée à deux hosts.
lvextend -L +50G /dev/vg_maine/coon
lvextend -L +50G /dev/vg_coon/coon
drbdadm -- --assume-clean resize coon
drbd-overview
ou drbdadm status
.Jan 30 12:10:53 maine kernel: [4454340.070407] block drbd1: Writing the whole bitmap, md moved Jan 30 12:10:54 maine kernel: [4454341.010500] block drbd1: drbd_bm_resize called with capacity == 3221127096 Jan 30 12:10:54 maine kernel: [4454341.014452] block drbd1: resync bitmap: bits=402640887 words=6291264 pages=12288 Jan 30 12:10:54 maine kernel: [4454341.014457] block drbd1: size = 1536 GB (1610563548 KB) Jan 30 12:10:54 maine kernel: [4454341.170311] block drbd1: Writing the whole bitmap, size changed Jan 30 12:10:54 maine kernel: [4454341.286214] block drbd1: bitmap WRITE of 4097 pages took 116 ms Jan 30 12:10:54 maine kernel: [4454341.286219] block drbd1: 0 KB (0 bits) marked out-of-sync by on disk bit-map. Jan 30 12:10:54 maine kernel: [4454341.320419] block drbd1: Resync of new storage suppressed with --assume-clean
resize2fs /dev/drbd1
lvextend -L +50G /dev/vg_coon/maine
lvextend -L +50G /dev/vg_maine/maine
drbdadm -- --assume-clean resize maine
drbd-overview
ou drbdadm status
.Jan 30 12:10:53 maine kernel: [4454340.070407] block drbd0: Writing the whole bitmap, md moved Jan 30 12:10:54 maine kernel: [4454341.010500] block drbd0: drbd_bm_resize called with capacity == 3221127096 Jan 30 12:10:54 maine kernel: [4454341.014452] block drbd0: resync bitmap: bits=402640887 words=6291264 pages=12288 Jan 30 12:10:54 maine kernel: [4454341.014457] block drbd0: size = 1536 GB (1610563548 KB) Jan 30 12:10:54 maine kernel: [4454341.170311] block drbd0: Writing the whole bitmap, size changed Jan 30 12:10:54 maine kernel: [4454341.286214] block drbd0: bitmap WRITE of 4097 pages took 116 ms Jan 30 12:10:54 maine kernel: [4454341.286219] block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map. Jan 30 12:10:54 maine kernel: [4454341.320419] block drbd0: Resync of new storage suppressed with --assume-clean
resize2fs /dev/drbd0