Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
the Filesystem resource script is for that - /etc/ha.d/resource.d/Filesystem So make your haresources file something like: linuxha1 IPaddr::192.168.0.220/24/192.168.0.255 drbddisk::r0 Filesystem::/dev/drbd0::/mnt/drbd::ext3 and it should all be taken care of. Just edit /dev/drbd0 and /mnt/drbd to reflect your drbd device/mount point. David. > -----Original Message----- > From: drbd-user-bounces at lists.linbit.com > [mailto:drbd-user-bounces at lists.linbit.com]On Behalf Of Martin J. Evans > Sent: Monday, 26 September 2005 5:24 PM > To: drbd-user at lists.linbit.com > Subject: [DRBD-user] Where/How do you mount/unmount the drbd devices > underheartbeat? > > > Hi, > > I have drbd-0.7.13 installed on two machines in a cluster controlled by > heartbeat (linuxHA, 2.0.2). I have a partition on each machine > containing ext3 which is defined as resource r0 in my /etc/drbd.conf. I > am starting drbd at boot time from /etc/rc.d with the supplied drbd > script. I have copied the drbddisk script into my heartbeat resource.d > directory and have an entry: > > linuxha1 IPaddr::192.168.0.220/24/192.168.0.255 drbddisk::r0 > > in my haresources file. Where are the drbd devices supposed to be > mounted and unmounted on failover? In the drbddisk script? If so are > people just manually adding a mount command under the "start" in > drbddisk and an umount under the "stop"? > > Thanks. > > Martin > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > > !DSPAM:4337af8b322357560210229! > >