xfs
[Top] [All Lists]

Re: Occassional problems with unfreeze

To: Hrishikesh Barua <talonx@xxxxxxxxx>
Subject: Re: Occassional problems with unfreeze
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Wed, 16 Jul 2014 08:47:58 -0400
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <CAD2VtSjwu3eB+mrs2vX0G4+MJbHyNGVXvVR+P_ssNY6rydvijA@xxxxxxxxxxxxxx>
References: <CAD2VtSjwu3eB+mrs2vX0G4+MJbHyNGVXvVR+P_ssNY6rydvijA@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
On Wed, Jul 16, 2014 at 04:50:22PM +0530, Hrishikesh Barua wrote:
> We use XFS on Amazon EBS on Ubuntu 12.04.3, kernel "3.2.0-54-virtual".
> 
> Our backup scripts invoke "xfs_freeze -f" before taking a snapshot to
> ensure filesystem consistency. After the snapshot is taken, we invoke
> "xfs_freeze -u".
> 
> Recently, we have observed that some of these unfreeze calls exit with code
> 255. This results in a frozen filesystem, processes queuing up and us
> having to reboot the EC2 instance. Invoking freeze -u manually results in
> multiple processes like this -
> 
>      17628 ?        D      0:00 /usr/sbin/xfs_io -F -r -p xfs_freeze -x -c
> thaw /mysql-vol-a
>      17694 ?        D      0:00 /usr/sbin/xfs_io -F -r -p xfs_freeze -x -c
> thaw /mysql-vol-a
> 
> A search on this list reveals at least one other instance of this problem -
> http://oss.sgi.com/archives/xfs/2013-01/msg00437.html

That one looks like a freeze hang whereas you see an unfreeze hang.
Perhaps similar to this:

https://bugzilla.redhat.com/show_bug.cgi?id=1052004

> 
> No resolution seems to have happened there. Is this a known bug, or has it
> been fixed since (I'm running xfsprogs 3.1.7) ?
> 

Do you have the hung task output for when this occurs (echo w >
/proc/sysrq-trigger)?

Brian

> Regards
> Hrish

> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>