[DRBD-user] cannot umount resource /mirror/mysql (sorry ...should be cannot umount filesystem ...)

Poyner, Brandon bpoyner at ccac.edu
Fri Sep 29 21:43:34 CEST 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've seen this behavior and it's really a problem between heartbeat and
the mysql init script.  The mysql init script needs to make sure that
when a 'stop' is issued that mysql is completely killed  before
returning.   If any application is still using a partition, heartbeat
will not umount it using the Filesystem script.  The RHEL mysql init
script does a while loop and gives mysql at least 60 seconds to exit
cleanly.  I would suggest you dig into the init script and add a similar
loop or increase the wait period.

Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
 

> -----Original Message-----
> From: drbd-user-bounces at linbit.com 
> [mailto:drbd-user-bounces at linbit.com] On Behalf Of Tony's Linux
> Sent: Friday, September 29, 2006 11:15 AM
> To: drbd-user at linbit.com
> Subject: Re: [DRBD-user] cannot umount resource /mirror/mysql 
> (sorry ...should be cannot umount filesystem ...)
> 
> sorry the title should read:
> 
> "Cannot umount filesystem ... /mirror/mysql
> 
> On Saturday 30 September 2006 01:11, Tony's Linux wrote:
> > hi,
> >
> > i am getting a 'cannot umount resource' problem when i stop 
> heartbeat.
> >
> > i have the following command in haresource:
> >
> > suse-active 192.168.100.1 drbddisk::drbd-mysql
> > Filesystem::/dev/drbd0::/mirror/mysql::ext3 mysql
> >
> > What i found out was that if i were to stop mysql server 
> first, the umount
> > will work (by stopping heartbeat).
> >
> > So my guess is that there is not enough time for mysql 
> server to shutdown
> > before the umount of /mirror/mysql.
> >
> > Can someone help ???
> >
> > Is this a drbd or HA problem ???
> >
> > thanks
> > Tony
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 



More information about the drbd-user mailing list