[DRBD-user] Re: create new drbd data fails, magic number v08, vo7 not found

Anuj Singh anujhere at gmail.com
Mon Jun 25 14:16:31 CEST 2007

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


I found the problem, saw parition table
[root at pr0021 ~]# fdisk -l

Disk /dev/hda: 8447 MB, 8447459328 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14         961     7614810   83  Linux
/dev/hda3             962        1026      522112+  82  Linux swap
/dev/hda4            1027        1027        8032+  83  Linux

/dev/hda4 is not in listed in /dev directory
[root at pr0021 ~]# ls -l /dev/hda*
brw-rw----  1 root disk 3, 0 Jun 24 21:07 /dev/hda
brw-rw----  1 root disk 3, 1 Jun 24 21:07 /dev/hda1
brw-rw----  1 root disk 3, 2 Jun 24 21:07 /dev/hda2
brw-rw----  1 root disk 3, 3 Jun 24 21:07 /dev/hda3
Problem is  solved. sorry for such a posting. on this test machine,
decreased the size of swap, created fourth partition. and created drbd
meta disk.
used commands:
swapoff /dev/hda3
used fdisk and decreased swap partition, created  /dev/hda4.
partprobe for partition table update.
then mkswap /dev/hda3
swapon /dev/hda3
it is a test machine.
thanks and regards
anugunj "anuj singh"


On 6/25/07, Anuj Singh <anujhere at gmail.com> wrote:
> hi,
> kernel version=2.6.9-55.4.EL
> drbd-8.0.3
> [root at pr0021 ~]# drbdadm create-md r0
> v08 Magic number not found
> v07 Magic number not found
> About to create a new drbd meta data block
> on /dev/hda4.
>
>  ==> This might destroy existing data! <==
>
> Do you want to proceed?
> [need to type 'yes' to confirm] yes
>
> lseek64() failed: Invalid argument
> Command 'drbdmeta /dev/drbd0 v08 /dev/hda4 internal create-md'
> terminated with exit code 20
>
> how to fix this error. i formatted /dev/hda4 again.. problem is same.
> thanks and regards/
> anugun anuj
>



More information about the drbd-user mailing list