From: Julien BLACHE <jb@jblache.org>
To: Gildas LE NADAN <gildas.le-nadan@inha.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10)
Date: Wed, 29 Dec 2004 19:01:43 +0100 [thread overview]
Message-ID: <874qi53rw8.fsf@frigate.technologeek.org> (raw)
In-Reply-To: <41D14251.4030704@inha.fr> (Gildas LE NADAN's message of "Tue, 28 Dec 2004 12:24:01 +0100")
Gildas LE NADAN <gildas.le-nadan@inha.fr> wrote:
> I experience hangs on samba processes on a filer using xfs over lvm2
> as data partitions, when there is active snapshots of the xfs
> partitions.
Your problem probably lies between lvm2 and XFS. I got the same
problems this summer while doing the exact same thing.
The server would just completely hang once I started doing lvm
snapshots:
-> at the beginning, the snapshots would work OK, but XFS would hang
when accessing the filesystem afterwards
-> after a while (usually 2 or 3 snapshots, and I was taking a
snapshot every 2 hours), the snapshot would not complete, and
then only a hard reboot would work
I was doing the snapshots from a crontab, the script used xfs_freeze
to freeze the filesystem before doing the snapshot (and unfreeze it
afterwards, of course). Sometimes xfs_freeze -u would hang too (but at
this time, the server was in a pretty bad state already).
The server wasn't loaded at all, we were doing some reads/writes
through samba to have some modified files lying around, but we were
mainly prototyping the server, not stress-testing it.
LVM and XFS just don't play nice together when it comes to snapshots,
I thought it had been fixed already, but it's not the case, as we both
know...
(I can't remember the kernel version, it could have been a 2.4 kernel,
but I was using LVM2 and the latest XFS code available)
Feel free to correct me if I did something wrong (but AFAIK I took
care of everything, knowing there could have been bad interactions
between LVM and XFS).
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb@jblache.org> GPG KeyID 0xF5D65169
next prev parent reply other threads:[~2004-12-29 18:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-28 11:24 unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10) Gildas LE NADAN
2004-12-28 11:39 ` bert hubert
2004-12-28 15:15 ` unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10) [includes backtrace] Gildas LE NADAN
2004-12-28 14:07 ` unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10) Gene Heskett
2005-01-02 12:41 ` Christian Leber
2004-12-29 18:01 ` Julien BLACHE [this message]
2005-01-05 11:37 ` Christoph Hellwig
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=874qi53rw8.fsf@frigate.technologeek.org \
--to=jb@jblache.org \
--cc=gildas.le-nadan@inha.fr \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.