[DRBD-user] Re: Where/How do you mount/unmount the drbd devices underheartbeat?
Martin J. Evans
martin.evans at easysoft.com
Mon Sep 26 10:49:42 CEST 2005
Cheers, I had not seen the Filesystem script.
> 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
> and it should all be taken care of. Just edit /dev/drbd0 and /mnt/drbd to
> reflect your drbd device/mount point.
>>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
>>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"?
>>drbd-user mailing list
>>drbd-user at lists.linbit.com
More information about the drbd-user