xfs
[Top] [All Lists]

Re: Proper method of snapshotting XFS with external log using LVM2

To: David Chinner <dgc@xxxxxxx>
Subject: Re: Proper method of snapshotting XFS with external log using LVM2
From: Mario Becroft <mb@xxxxxxxxxxxxx>
Date: Thu, 02 Aug 2007 00:23:29 +1200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20070801121713.GY31489@xxxxxxx>
Organization: QuickCircuit Ltd.
References: <1185737538.12064.44.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20070801121713.GY31489@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
Hi David,

Thanks very much for your clear explanation of how to snapshot XFS
filesystems with external log. It is good to know that I am doing it
right.

I found that in the latest Linux kernel version 2.6.22.1, you cannot use
the method I have been using, and which you confirmed is ok. The problem
is that if you xfs_freeze the filesystem, then the LVM snapshot command
hangs forever. (Back in kernel version 2.6.16 this did not happen.) I
guess the snapshot command is also attempting to freeze the filesystem,
or something, which doesn't work when it is already frozen. I suppose
how to fix this is a question for the linux-lvm mailing list.

Thanks again for your detailed answer.

-- 
Mario Becroft <mb@xxxxxxxxxxxxx>


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