Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I want to run drbd trunk r2131 on 2.6.16.1 (with Xen 3). The problem is that I cannot create/attach a new drbd device. The same error has been reported before: http://lists.linbit.com/pipermail/drbd-user/2005-May/002951.html http://lists.linbit.com/pipermail/drbd-user/2005-May/002956.html NB: the lower-level device is a lvm device (was easier to setup for testing because I already had a disc configured and used as volume group). --------------------- xencore03:[~]# drbdadm create-md drbd5 Valid meta-data already in place, recreate new? [need to type 'yes' to confirm] yes Creating meta data... initialising activity log initialising bitmap (131036 KB) 99%New drbd meta data block sucessfully created. --------------------- xencore03:[~]# drbdadm dump-md drbd5 version "v08"; uuid { 0x0000000000000004; 0x0000000000000000; 0x0000000000000000; 0x0000000000000000; } la-size-sect 0; bm-byte-per-bit 4096; device-uuid 0xDA17EF502CA55067; # bm-bytes 0; # bits-set 0; bm { } --------------------- xencore03:[~]# ls -l /dev/drbd5 brw------- 1 root root 147, 5 Apr 6 11:49 /dev/drbd5 xencore03:[~]# lsmod |grep drbd drbd 149120 0 --------------------- xencore03:[~]# drbdadm attach drbd5 ioctl(,SET_DISK_CONFIG,) failed: Invalid argument No valid meta-data signature found. Use 'drbdadm create-md res' to initialize meta-data area. Command 'drbdsetup /dev/drbd5 disk /dev/vmg/vmA5 /dev/vmg/drbdmeta 5 --on-io-error=detach' terminated with exit code 20 drbdadm aborting --------------------- /var/log/messages says: Apr 6 12:28:33 xencore03 kernel: drbd5: disk( Diskless -> Attaching ) Apr 6 12:28:33 xencore03 kernel: drbd5: Error while reading metadata, magic not found. Apr 6 12:28:33 xencore03 kernel: drbd5: disk( Attaching -> Diskless ) Apr 6 12:28:33 xencore03 kernel: drbd5: drbd_bm_resize called with capacity == 0 I have attached the strace output for the drbdsetup command as well as "drbdadm dump". I would be interested in helping debug this issue. Best Regards, Michael Paesold -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: drbdsetup-strace.txt URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060406/f8269b80/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: drbdadm-dump.txt URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060406/f8269b80/attachment-0001.txt>