public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] defect management block device
Date: Mon, 24 Mar 2008 17:58:14 +0200	[thread overview]
Message-ID: <200803241758.14792.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <20080324143245.GC10053@nibiru.local>

On Monday 24 March 2008, Enrico Weigelt wrote:
> Hi folks,
>
>
> does anyone know an (virtual) block device which can do automatic
> defect management (if the underlying disks have badblocks) ?
>
> My idea goes like this:
> * one or more devices are assigned to one block device
> * a bunch of spare blocks are reserved for defect management
>   (so the device looks smaller than the sum of assigned disks)
> * if an badblock is detected, it's automatically remapped
>   to an spare block
>
> In fact, just what drive-internal defect manangement does, but
> at OS / driver level.

I don't see the point, unless you are dealing with drives that do not 
have defect management.

What makes you think you can accomplish this result better than the 
firmware on the drive? It seems to me that if the drive firmware missed 
the opportunity to relocate the bad block, then your window of 
opportunity to do it in your code has long since passed. IOW, the OS 
code cannot possibly ever achieve it's design result.

Just a thought, maybe you know some aspect of disks that I don't and can 
see where this would be useful. From where I sit, I can;t see any such 
use-case.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-03-24 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 14:32 [gentoo-user] defect management block device Enrico Weigelt
2008-03-24 15:58 ` Alan McKinnon [this message]
2008-03-24 18:23   ` Eric Martin
2008-03-24 20:47     ` Alan McKinnon
2008-03-25  1:48       ` Enrico Weigelt
2008-03-25  8:56         ` Alan McKinnon

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=200803241758.14792.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@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