linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: Eyal Lebedinsky <eyal@eyal.emu.id.au>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: How do people deal with disk size variations?
Date: Wed, 13 May 2009 11:09:52 +0200	[thread overview]
Message-ID: <4A0A8E60.8030702@rabbit.us> (raw)
In-Reply-To: <4A0A89DE.4070502@eyal.emu.id.au>

Eyal Lebedinsky wrote:
> I have a 5-disk raid5. I notice that the five identical disks, which also
> list identical LBA numbers on the label, do not show the same size when
> queried. One is reporting (smart - it should tell the truth from the disk
> pov) a smaller size.
> 
> One disk reports
>     User Capacity: 1,000,203,804,160 bytes
> and the other four
>     User Capacity: 1,000,204,886,016 bytes
> 
> Luckily I always build a raid on partitions so this difference is
> irrelevant being in the slack past the partition end.
> 
> However, if I managed to use the whole disk, the raid will be as large as
> the smallest disk. What happens when I replace a disk and get an even
> smaller replacement one?
> 
> Do people always leave unused space at the end? Do you expect disks from
> the same exact model to have exactly the same usable size?

I always leave about 2gb off a disk, regardless of if I use a full disk
or partitions. Considering you are dealing with terabyte drives here,
your question seems rather strange...

Cheers

  reply	other threads:[~2009-05-13  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13  8:50 How do people deal with disk size variations? Eyal Lebedinsky
2009-05-13  9:09 ` Peter Rabbitson [this message]
2009-05-13 13:05 ` Bill Davidsen

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=4A0A8E60.8030702@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --cc=eyal@eyal.emu.id.au \
    --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).