Dear All,
Previously we have used
CentOS4.4 release with Supported Cluster Suite and DRBD 8.0.0
Active/passive (failover)
We have build the DRBD 8.0.0 Source in CentOS4.4 Setup
We have configured the DRBD Resource with default OS installed LVM
(/dev/mapper/vgroot-LogVol00 and /dev/mapper/vgroot-LogVol01) Partition
and its working fine
Partition Tables are listed below
=================================
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgroot-LogVol02
3.0G 1.1G 1.7G 39% /
/dev/mapper/vgroot-LogVol03
11G 8.5G 1.7G 84% /usr
/dev/hda1 494M 37M 432M 8% /boot
tmpfs 248M 0 248M 0% /dev/shm
/dev/mapper/vgroot-LogVol01
8.5G 148M 7.9G 2% /home
/dev/mapper/vgroot-LogVol00
13G 161M 12G 2% /backup
Currently we are migrating to CentOS5.5
Step 1: We have migrated to CentOS5.5 Alone and Used Older DRBD 8.0.0
Version
We have build the DRBD 8.0.0 Source in CentOS5.5 Setup
We have configured the DRBD Resource with default OS installed LVM
(/dev/mapper/vgroot-LogVol00 and /dev/mapper/vgroot-LogVol01) Partition
The DRBD Meta data created successfully, but DRBD Module Load failed
Errors are listed below
=======================
[root at corviewprimary user]# service drbd start
Starting DRBD resources: Can not load the drbd module.
[root at corviewprimary user]#
[root at corviewprimary user]# modprobe drbd
FATAL: Error inserting drbd
(/lib/modules/2.6.18-194.3.1.el5xen/kernel/drivers/block/drbd.ko):
Invalid argument
[root at corviewprimary user]#
Step 2: We have updated DRBD from 8.0.0 to 8.3.8
We have build the DRDB 8.3.8 Source in CentOS5.5 Setup
We have configured the DRBD Resource with default OS installed LVM
(/dev/mapper/vgroot-LogVol00 and /dev/mapper/vgroot-LogVol01) Partition
and its not working
We got the following errors on meta data creation
=================================================
[root at corviewprimary ~]# drbdadm create-md drbd0
md_offset 13958639616
al_offset 13958606848
bm_offset 13958180864
Found ext3 filesystem
13631488 kB data area apparently used
13631036 kB left usable by current configuration
Device size would be truncated, which
would corrupt data and result in
'access beyond end of device' errors.
You need to either
* use external meta data (recommended)
* shrink that filesystem first
* zero out the device (destroy the filesystem)
Operation refused.
Command 'drbdmeta 0 v08 /dev/mapper/vgroot-LogVol00 internal create-md'
terminated with exit code 40
drbdadm create-md drbd0: exited with code 40
[root at corviewprimary ~]# drbdadm create-md drbd1
md_offset 9395236864
al_offset 9395204096
bm_offset 9394917376
Found ext3 filesystem
9175040 kB data area apparently used
9174724 kB left usable by current configuration
Device size would be truncated, which
would corrupt data and result in
'access beyond end of device' errors.
You need to either
* use external meta data (recommended)
* shrink that filesystem first
* zero out the device (destroy the filesystem)
Operation refused.
Command 'drbdmeta 1 v08 /dev/mapper/vgroot-LogVol01 internal create-md'
terminated with exit code 40
drbdadm create-md drbd1: exited with code 40
Please help us to use DRBD etiter 8.0.0 or 8.3.8 with CentOS5.5
Thanks in Advance.
-S.Balaji