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 just tried to setup 3 drbd devices on 3x 1,5TB partitions. I used
parted to create the partitions because fdisk and cfdisk didn't work.
Ubuntu 6.06
Kernel 2.6.15-27-686 #1 SMP PREEMPT
drbd 0.7.15 (ubuntu package)
If I start drbd I get this error:
/etc/init.d/drbd start
Starting DRBD resources: [ d0 d1 d2 ioctl(,SET_DISK_CONFIG,)
failed: Cannot allocate memory
cmd /sbin/drbdsetup /dev/drbd2 disk /dev/sdf3 internal -1
--on-io-error=detach failed!
* part of the drbd.conf
on ubuntu7600 {
device /dev/drbd2;
disk /dev/sdf3;
address 53.115.184.148:7790;
meta-disk internal;
}
* parted output:
Disk geometry for /dev/sdf: 0kB - 4500GB
Disk label type: gpt
Number Start End Size File system Name
Flags
1 17kB 1500GB 1500GB
2 1500GB 3000GB 1500GB
3 3000GB 4500GB 1500GB
* cat /proc/partitions | grep sdf
8 80 4394529792 sdf
8 81 1464843733 sdf1
8 82 1464843750 sdf2
8 83 1464842275 sdf3
* fdisk -l /dev/sdf output:
You must set cylinders.
You can do this from the extra functions menu.
Disk /dev/sdf: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 267350 2147483647+ ee EFI GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 1) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(267349, 89, 4)
* cfdisk /dev/sdf
FATAL ERROR: Cannot get disk size
Press any key to exit cfdisk
drbd0 and drbd1 seems to be ok (second node is not configured yet)
0: cs:StandAlone st:Secondary/Unknown ld:Inconsistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
1: cs:StandAlone st:Secondary/Unknown ld:Inconsistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
2: cs:Unconfigured
I think the problem is the large disk (RAID) with the 3 partitions.
Any idea what to do now?
Ralf