public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arend Freije <afreije@inn.nl>
To: linux-kernel@vger.kernel.org
Subject: RAID-1 and Reiser4 issue: umount hangs
Date: Sun, 28 May 2006 00:14:11 +0200	[thread overview]
Message-ID: <4478CF33.80609@inn.nl> (raw)

Hi,

I'm using Reiser4 for my filesystems on disk (/dev/sda) , and it works
just fine. Recently I bought a second disk (/dev/sdb) for RAID-1
mirroring. With mdadm I created a degraded raid-1 array  on /dev/md/0,
devices missing,/dev/sdb1. After that I created a Reiser4 filesystem on
/dev/md/0 and mounted it at /mnt. Then I copied the data from /dev/sda1
to /mnt.
All goes well until I umount /mnt, umount simply hangs without any
error. Syslog doesn't report any error. In /proc/mdstat, the array
remains "active sync". Shutting down linux fails because the umount is
still waiting and seems to block other umounts. The umount process
cannot be killed by the root. A hard reset is the only resolution to get
my system functioning normally, but without the raid-1 of course.
The problem seems to emerge only with the combination of RAID and
Reiser4.  I've created an ext-2 filesystem on /dev/md/0, and after that
mount ; cp -ax ; umount works without  a problem, and the hanging umount
re-appears when using Reiser4 again.

My questions:
- how can I find the cause of the hanging umount?
- how can I fix it?

A few details of my linux-box:

Gentoo Linux, 2.6.16 kernel with Reiser4-for-2.6.16-2.patch.gz
i686 AMD Athlon(tm) XP 2400+
DC4300 SATA-II controller (Silicon Image 3124, libata + sata_sil24 drivers)
2 x Samsung SP2504C hard disk

Thanx in advance,

Arend

             reply	other threads:[~2006-05-27 22:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 22:14 Arend Freije [this message]
2006-05-27 22:46 ` RAID-1 and Reiser4 issue: umount hangs Neil Brown
2006-05-28  9:45   ` Arend Freije
2006-05-28 23:49     ` Neil Brown
2006-05-31  9:18       ` Arend Freije
2006-05-31  9:36         ` Jens Axboe
2006-06-01 18:52           ` Arend Freije

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=4478CF33.80609@inn.nl \
    --to=afreije@inn.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox