linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Hill <robin@robinhill.me.uk>
To: Theophanis Kontogiannis <tkonto@gmail.com>
Cc: Roger Heflin <rogerheflin@gmail.com>,
	Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Problem with RAID-5 not adding disks
Date: Thu, 24 Jul 2014 20:50:11 +0100	[thread overview]
Message-ID: <20140724195011.GA31258@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <53D144BD.90301@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

On Thu Jul 24, 2014 at 08:39:09PM +0300, Theophanis Kontogiannis wrote:

> Hi Roger, Hi List,
> 
> With a high heart bit rate I tried this:
> 
> mdadm --create /dev/md0 --assume-clean --level=5 --raid-devices=5  /dev/sdb /dev/sdc /dev/sde /dev/sdd missing
> 
> IT WORKED!
> 
> Now I have mounted my date back.
> 
> BUT:
> 
> 1. I have one failing disk according to SMART (that is /dev/sdc)
> 
> 2. /dev/sdb and /dev/sdd have a little smaller size then the others:
> 
> blockdev --getsz /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
> 1953523055
> 1953525168
> 1953523055
> 1953525168
> 1953523055
> 
All 1TB disks should be exactly the same size (manufacturers are using
standard sizes for all disks nowadays). Are these drives all on the same
controllers? This looks like maybe the BIOS is reserving some space on
the disks, which may have overwritten something in the original array.

Have you run a fsck across the array after reassembling it? I suspect
you may find the filesystem size doesn't match the original one.

Regards,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      parent reply	other threads:[~2014-07-24 19:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53CEE0E4.4070906@gmail.com>
2014-07-22 22:11 ` Problem with RAID-5 not adding disks Theophanis Kontogiannis
2014-07-23  0:10   ` Roger Heflin
2014-07-23 17:58     ` Theophanis Kontogiannis
2014-07-24  0:06       ` Roger Heflin
2014-07-24 15:31         ` Theophanis Kontogiannis
2014-07-24 17:39         ` Theophanis Kontogiannis
2014-07-24 19:20           ` Roger Heflin
2014-07-24 19:50           ` Robin Hill [this message]

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=20140724195011.GA31258@cthulhu.home.robinhill.me.uk \
    --to=robin@robinhill.me.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=rogerheflin@gmail.com \
    --cc=tkonto@gmail.com \
    /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).