public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_freeze -f misbehaving under lenny / xfsprogs 2.9.8
@ 2009-03-30 10:30 Stuart Rowan
  2009-03-30 13:45 ` Eric Sandeen
  0 siblings, 1 reply; 5+ messages in thread
From: Stuart Rowan @ 2009-03-30 10:30 UTC (permalink / raw)
  To: xfs

Hi,

We have a backup script running on another machine that ssh's in to the 
affected server and does the following:
mkdir -p /tmp/foo;
/usr/sbin/xfs_freeze -f /home;
/sbin/lvcreate -s -L 20G -n snap-shot home ;
/usr/sbin/xfs_freeze -u /home;
mount -o nouuid,ro /dev/data/snap-shot /tmp/foo;

It then rsyncs (over ssh) the data to the backup store from /tmp/foo

The above command set hangs at running "/sbin/lvcreate -s -L 20G -n 
snap-shot home;"

All I/O to /home is of course blocked at this point so for example exim 
starts queueing up all the mail.

As soon as I manually log in some hours later and run /usr/sbin/xfs_freeze 
-u /home; ... the lvcreate succeeds, the backup runs etc.


We recently upgraded this server to lenny from etch. It is still using the 
same kernel as it did with etch. The kernel is 2.6.26-bpo.1-amd64.

So this has never happened before and it occurring directly coincides with 
my upgrade to lenny on Friday.

The error occurred on Friday night
Backup proceeded normally on Saturday night
The error occurred on Sunday night
This suggests to me that there's some sort of race going on?

Previous version of xfsprogs (using etch): 2.8.11-1
Current version of xfsprogs (using lenny): 2.9.8-1lenny1

Anyone have any thoughts / is this a known issue with the 2.9.8 release?

Kind regards,
Stu.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-31 12:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 10:30 xfs_freeze -f misbehaving under lenny / xfsprogs 2.9.8 Stuart Rowan
2009-03-30 13:45 ` Eric Sandeen
2009-03-30 13:58   ` Stuart Rowan
2009-03-30 14:11     ` Eric Sandeen
2009-03-31 12:34     ` Michael Monnerie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox