i found out the reason why i received code 255 in hearbeat log file.
the following error appear in my heartbeat debug log file :
heartbeat: 2003/05/23_14:02:33 debug: Starting
/usr/local/etc/ha.d/resource.d/datadisk drbd0 start
datadisk: 'drbd0' already in Primary state, checking mount status
e2fsck 1.32 (09-Nov-2002)
/dev/nb0: clean, 73/131072 files, 9831/262140 blocks
mount: wrong fs type, bad option, bad superblock on /dev/nb0, or too many
mounted file systems
datadisk: mount /dev/nb0 FAILED
heartbeat: 2003/05/23_14:02:34 debug:
/usr/local/etc/ha.d/resource.d/datadisk drbd0 start done. RC=255
this is the line i added in fstab
/dev/nb0 /database ext3 noauto 0 0
why i can't mount /dev/nb0? should i repartition the /dev/nb0?
i tried to search the drbd mailing list threads, but couldn't find any
solution from there.