linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Hank Barta <hbarta@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID for USB flash drives
Date: Tue, 04 Jan 2011 20:09:20 +0000	[thread overview]
Message-ID: <4D237E70.6030104@anonymous.org.uk> (raw)
In-Reply-To: <AANLkTi=kcbanFit5x27ccS_1RChxC=Dn+Hs4Ak+FbKsX@mail.gmail.com>

On 04/01/2011 19:40, Hank Barta wrote:
> Hi folks,
> This is going to be one of those corner cases and I'm sure some of you
> won't even think it a good idea. But I won;t let that stop me from
> asking your opinion.
[...]

Go ahead :-)

> So... Anything you would do differently?

First up, booting. You'll have to boot off a bare device which may in 
fact be a mirror over 2 or more sticks. Make that your first partition. 
I think it's simpler to make it over all 4. Look up booting from RAID to 
find out how.

Then, as far as I know USB flash sticks have lousy or no wear-levelling 
algorithms and use cheap flash which may not have very many write 
cycles, so given that, I'd either:

1. Use RAID-1, 5 or 10 for the rest of the system with ext4 as you suggest,

or 2. Use btrfs for the rest of the system - btrfs is included in Ubuntu 
10.10 but you may be able to get it for 10.04.

And in either case, make sure there are regular backups of the whole lot 
to your main disc-based array, because those $7 USB sticks could still 
give you problems.

Or 3. I might just decide to use just one stick to boot the system from 
(as a /boot) and put the rest of the system in an LVM LV, or even a 
file, on the main array, and make sure I had a second stick to start the 
system from if the first one went bad.

In any case, it's an interesting project, so good luck!

Cheers,

John.


  reply	other threads:[~2011-01-04 20:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 19:40 RAID for USB flash drives Hank Barta
2011-01-04 20:09 ` John Robinson [this message]
2011-01-04 20:14   ` Steven Haigh
2011-01-14 23:25   ` Hank Barta
2011-01-15 20:54     ` John Robinson
     [not found]       ` <AANLkTinQcu8jwKGiYViBP_CE0Hd4UbaO4spvMgnmRoa8@mail.gmail.com>
     [not found]         ` <4D358490.4020400@anonymous.org.uk>
2011-01-18 13:47           ` Hank Barta
2011-01-17 15:41     ` Iordan Iordanov
2011-01-04 21:22 ` Iordan Iordanov

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=4D237E70.6030104@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=hbarta@gmail.com \
    --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).