Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I have DRDB setup and am trying to use it with LVM on ubuntu 8.04 I'm currently getting an error message when I try and bring up r0 /sbin/drbdsetup /dev/drbd0 disk /dev/sda5 /dev/sda4 0 --set-defaults --create-device --on-io-error=detach Failure: (140) vmalloc() failed. Out of memory? The following is in /var/messages. Anyone know why this is failing? My drbd.conf is standard except for on san1 { device /dev/drbd0; disk /dev/sda5; address 10.101.6.52:7788; meta-disk /dev/sda4[0]; } on san2 { device /dev/drbd0; disk /dev/sda5; address 10.101.6.53:7788; meta-disk /dev/sda4[0]; } } Jun 2 12:15:10 san1 kernel: [ 994.083960] drbd0: No usable activity log found. Jun 2 12:15:10 san1 kernel: [ 994.083977] drbd0: max_segment_size ( = BIO size ) = 32768 Jun 2 12:15:10 san1 kernel: [ 994.083983] drbd0: drbd_bm_resize called with capacity == 7780462293 Jun 2 12:15:10 san1 kernel: [ 994.083988] allocation failed: out of vmalloc space - use vmalloc=<size> to increase size. Jun 2 12:15:10 san1 kernel: [ 994.084073] drbd0: size = 0 KB (0 KB) Jun 2 12:15:10 san1 kernel: [ 994.084078] drbd0: disk( Attaching -> Diskless ) Jun 2 12:15:10 san1 kernel: [ 994.084125] drbd0: drbd_bm_resize called with capacity == 0 Jun 2 12:15:10 san1 kernel: [ 994.084129] drbd0: worker terminated Jun 2 12:15:10 san1 kernel: [ 994.084131] drbd0: Terminating worker thread Jun 2 12:15:44 san1 kernel: [ 1027.800999] drbd0: disk( Diskless -> Attaching ) Jun 2 12:15:44 san1 kernel: [ 1027.801005] drbd0: Starting worker thread (from cqueue/1 [4295]) Jun 2 12:15:44 san1 kernel: [ 1027.802103] drbd0: No usable activity log found. Jun 2 12:15:44 san1 kernel: [ 1027.802108] drbd0: max_segment_size ( = BIO size ) = 32768 Jun 2 12:15:44 san1 kernel: [ 1027.802112] drbd0: drbd_bm_resize called with capacity == 7780462293 Jun 2 12:15:44 san1 kernel: [ 1027.802116] allocation failed: out of vmalloc space - use vmalloc=<size> to increase size. Jun 2 12:15:44 san1 kernel: [ 1027.802190] drbd0: size = 0 KB (0 KB) Jun 2 12:15:44 san1 kernel: [ 1027.802203] drbd0: disk( Attaching -> Diskless ) Jun 2 12:15:44 san1 kernel: [ 1027.802243] drbd0: drbd_bm_resize called with capacity == 0 Jun 2 12:15:44 san1 kernel: [ 1027.802246] drbd0: worker terminated Jun 2 12:15:44 san1 kernel: [ 1027.802249] drbd0: Terminating worker thread