From: David Chinner <dgc@sgi.com>
To: Michael Morrison <mikem@stwo-corp.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: oops mounting unassembled md device
Date: Mon, 11 Sep 2006 10:46:43 +1000 [thread overview]
Message-ID: <20060911004643.GJ10950339@melbourne.sgi.com> (raw)
In-Reply-To: <450342F9.8090301@stwo-corp.com>
On Sat, Sep 09, 2006 at 03:40:57PM -0700, Michael Morrison wrote:
> Got on oops when trying to mount xfs filesystem onto unassembled md
> raid0 device.
> What else can I provide to help with this?
>
> Linux version: 2.6.18-rc4
> Drives are hanging off an LSI fibre channel controller which is driven by
> the mpt driver in drivers/message/fusion.
>
> Steps leading up to this:
>
> 1. assemble 8 drive raid0 on /dev/md0
> 2. mount filesystem: /bin/mount -t xfs /dev/md0 /mnt/testfs -o
> noatime,nodiratime
> 3. umount /mnt/testfs
> 4. mdadm --stop /dev/md0
> 5. /bin/mount -t xfs /dev/md0 /mnt/testfs -o noatime,nodiratime
So why did MD allow /dev/md0 to be used if the device had been
stopped? According to the mdadm man page a --stop will release all
resources associated with the md device so after stopping /dev/md0
it should not be possible to use it.
This is not an XFS problem - this is either an MD bug (leaving /dev/md0
around after being stopped) and/or user error.
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
prev parent reply other threads:[~2006-09-11 0:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-09 22:40 oops mounting unassembled md device Michael Morrison
2006-09-11 0:46 ` David Chinner [this message]
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=20060911004643.GJ10950339@melbourne.sgi.com \
--to=dgc@sgi.com \
--cc=linux-xfs@oss.sgi.com \
--cc=mikem@stwo-corp.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