[DRBD-user] ERROR: Return code 20 from /etc/ha.d/resource.d/drbddisk

Thomas Johnson tjohnson at pacwill.ca
Sat Jan 28 18:14:38 CET 2006

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


I keep getting this error;

Jan 28 12:04:14 localhost heartbeat: info: Running 
/etc/ha.d/resource.d/drbddisk drbd0 start
Jan 28 12:04:15 localhost heartbeat: debug: Starting 
/etc/ha.d/resource.d/drbddisk drbd0 start
Jan 28 12:04:21 localhost heartbeat: debug: 
/etc/ha.d/resource.d/drbddisk drbd0 start done. RC=20
Jan 28 12:04:21 localhost heartbeat: ERROR: Return code 20 from 
/etc/ha.d/resource.d/drbddisk
Jan 28 12:04:22 localhost heartbeat: info: Running 
/etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt/debian ext3 start
Jan 28 12:04:22 localhost heartbeat: debug: Starting 
/etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt/debian ext3 start
Jan 28 12:04:22 localhost kernel: drbd0: Not in Primary state, no IO 
requests allowed
Jan 28 12:04:22 localhost kernel: EXT3-fs: unable to read superblock
Jan 28 12:04:22 localhost heartbeat: ERROR: Couldn't mount filesystem 
/dev/drbd0 on /mnt/debian
Jan 28 12:04:22 localhost heartbeat: debug: 
/etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt/debian ext3 start done. RC=1
Jan 28 12:04:22 localhost heartbeat: ERROR: Return code 1 from 
/etc/ha.d/resource.d/Filesystem

The resouces are;
debian2 192.168.254.165 drbddisk::drbd0 
Filesystem::/dev/drbd0::/mnt/debian::ext3 apache

and the apache failover works but the drbd0 always comes up secondary.



More information about the drbd-user mailing list