linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arne Jansen <sensille@gmx.net>
To: linux-raid@vger.kernel.org
Subject: Raid on USB flash disk
Date: Sat, 10 Feb 2007 19:24:25 +0100	[thread overview]
Message-ID: <45CE0DD9.4050009@gmx.net> (raw)

Hi,

I just tried to setup a one-device raid onto an USB flash drive.
Creating, setting up ext3 and filling with data was no problem.
But when I tried to work with it afterwards the metadevice was
unresponsive. I tried both linear and raid0 levels, but that
made no difference.
For my uneducated eye it looks like something is deadlocking if
md tries to read from the device.

I'm using kernel 2.6.18 (gentoo) on a VIA EPIA CN10000 mainboard
with a 2GB USB flash drive (extreme). Please ask if I should provide
more information like dmesg or lspci.

The main reason why I'm trying this weird setup is that the USB
drive is always enumerated last in my kernel, and I want to boot
from it. That means every time I add a disk or remove one I have
to edit grub.conf and fstab. Very inconvenient. So my idea was
to create a single device md on it and leave it to the autodetection
to find the device. So I never have to edit /etc/fstab again for
a simple hardware change and I'm independent of any enumeration
changes in future kernel releases.

But unfortunately it doesn't work :-(

Any help appreciated.

--Arne

             reply	other threads:[~2007-02-10 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10 18:24 Arne Jansen [this message]
2007-02-10 18:57 ` Raid on USB flash disk Steve Cousins
2007-03-05 16:38 ` Rob Bray

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=45CE0DD9.4050009@gmx.net \
    --to=sensille@gmx.net \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).