public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: OT: Need advice on usb thumb drive boot
Date: Wed, 28 Feb 2007 08:58:51 +0000 (UTC)	[thread overview]
Message-ID: <pan.2007.02.28.08.58.51@cox.net> (raw)
In-Reply-To: 45E510B6.8060104@singnet.com.sg

"P.V.Anthony" <pvantony@singnet.com.sg> posted
45E510B6.8060104@singnet.com.sg, excerpted below, on  Wed, 28 Feb 2007
13:18:46 +0800:

>  From the net, I gather that flash drives have a limited write/erase. Is
> there a way that this can be overcome?
> 
> I was thinking of aufs. From what I understand, with aufs all the write
> is done only once when we shutdown the server. In this way everything is
> in the ram until a sync command is sent. This way the flash drives will
> last longer. Is this correct?
> 
> I could also make a symbolic link for the /var and /tmp to the main
> drives.

With modern thumb drives it shouldn't matter that much.  They have a wear-
leveling write algorithm that spreads out the writes such that no one 
cell gets worn out significantly before the others, and such drives often 
last longer than regular drives now days.

I'd go ahead and symlink /var and /tmp to your regular drives and make 
sure swap (if any) is on the regular drives as well, but other than that, 
it shouldn't matter much.  Or... do what I did with my 8 gig of RAM, and 
run /tmp on tmpfs, with /var/tmp symlinked to it as well.  It definitely 
speeds up merges when all the temporary work files are in RAM based 
tmpfs! =8^)

If you want extra safety, use the RAID-1 as you suggested, but make sure 
the drives are two different manufacturers (if possible, make sure the 
FLASH comes from two different suppliers as well), thus avoiding two 
drives with such close characteristics that they die together.  If you 
want more safety than that, either expand it to a three-way RAID-1 or 
swap out one of the two for a new one in say 9 months, using the one 
that's swapped out for something else.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



  reply	other threads:[~2007-02-28  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-28  5:18 [gentoo-amd64] OT: Need advice on usb thumb drive boot P.V.Anthony
2007-02-28  8:58 ` Duncan [this message]
2007-02-28  9:16   ` [gentoo-amd64] " Boyd Stephen Smith Jr.

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=pan.2007.02.28.08.58.51@cox.net \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-amd64@lists.gentoo.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