[DRBD-user] DRBD over an existing filesystem

En Chiang Lee ena at india.hp.com
Fri Mar 26 14:09:36 CET 2004


This is what I got: (there is no size field in drbd.conf)

[root at dlssi3 root]# drbdadm down all
[root at dlssi3 root]# fdisk -s /dev/hde6
1004031
[root at dlssi3 root]# dd if=/dev/zero of=/dev/hde5 bs=512 count=1
1+0 records in
1+0 records out
[root at dlssi3 root]# drbdadm up all
[root at dlssi3 root]# checkout/drbd/testing/read_gc.pl 
                                     ConnectedInd |
                                  lastState |     |
                         ArbitraryCnt |     |     |
                   ConnectedCnt |     |     |     |
               TimeoutCnt |     |     |     |     |
           HumanCnt |     |     |     |     |     |
   Consistent |     |     |     |     |     |     |
resource|     |     |     |     |     |     |     |   Size
--------+-----+-----+-----+-----+-----+-----+-----+----------+
state file corrupt at checkout/drbd/testing/read_gc.pl line 39.
[root at dlssi3 root]# fdisk -s /dev/nbd/0
506016
[root at dlssi3 root]# drbdsetup /dev/nbd/0 resize -d $(fdisk -s /dev/hde6)
err=ioctl(drbd_fd,DRBD_IOCTL_SET_DISK_SIZE,1004031);
[root at dlssi3 root]# checkout/drbd/testing/read_gc.pl 
                                     ConnectedInd |
                                  lastState |     |
                         ArbitraryCnt |     |     |
                   ConnectedCnt |     |     |     |
               TimeoutCnt |     |     |     |     |
           HumanCnt |     |     |     |     |     |
   Consistent |     |     |     |     |     |     |
resource|     |     |     |     |     |     |     |   Size
--------+-----+-----+-----+-----+-----+-----+-----+----------+
state file corrupt at checkout/drbd/testing/read_gc.pl line 39.
[root at dlssi3 root]# fdisk -s /dev/nbd/0
506016
[root at dlssi3 root]# 

En Chiang




More information about the drbd-user mailing list