From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2UDk0mu197140 for ; Mon, 30 Mar 2009 08:46:11 -0500 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5125F1D46E1 for ; Mon, 30 Mar 2009 06:45:17 -0700 (PDT) Received: from mail.sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id IQcTxdcF1scp7P4E for ; Mon, 30 Mar 2009 06:45:17 -0700 (PDT) Message-ID: <49D0CCEB.1000404@sandeen.net> Date: Mon, 30 Mar 2009 08:45:15 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: xfs_freeze -f misbehaving under lenny / xfsprogs 2.9.8 References: <49D09F2C.8060406@decisionsoft.co.uk> In-Reply-To: <49D09F2C.8060406@decisionsoft.co.uk> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: strr-debian@decisionsoft.co.uk Cc: xfs@oss.sgi.com Stuart Rowan wrote: > 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. lvcreate now does the fs freeze on its own via the snapshot ioctl, so if you run freeze manually first, you are stuck behind that first freeze. Just drop the xfs_freeze's from the above, and all should be well. -Eric _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs