From: Eric Sandeen <sandeen@sandeen.net>
To: strr-debian@decisionsoft.co.uk
Cc: xfs@oss.sgi.com
Subject: Re: xfs_freeze -f misbehaving under lenny / xfsprogs 2.9.8
Date: Mon, 30 Mar 2009 08:45:15 -0500 [thread overview]
Message-ID: <49D0CCEB.1000404@sandeen.net> (raw)
In-Reply-To: <49D09F2C.8060406@decisionsoft.co.uk>
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
next prev parent reply other threads:[~2009-03-30 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 10:30 xfs_freeze -f misbehaving under lenny / xfsprogs 2.9.8 Stuart Rowan
2009-03-30 13:45 ` Eric Sandeen [this message]
2009-03-30 13:58 ` Stuart Rowan
2009-03-30 14:11 ` Eric Sandeen
2009-03-31 12:34 ` Michael Monnerie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D0CCEB.1000404@sandeen.net \
--to=sandeen@sandeen.net \
--cc=strr-debian@decisionsoft.co.uk \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox