linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Raid on USB flash disk
@ 2007-02-10 18:24 Arne Jansen
  2007-02-10 18:57 ` Steve Cousins
  2007-03-05 16:38 ` Rob Bray
  0 siblings, 2 replies; 3+ messages in thread
From: Arne Jansen @ 2007-02-10 18:24 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-05 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-10 18:24 Raid on USB flash disk Arne Jansen
2007-02-10 18:57 ` Steve Cousins
2007-03-05 16:38 ` Rob Bray

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).