From: "Alex Leach" <beamesleach@gmail.com>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: RAID5 member disks shrunk
Date: Thu, 03 Jan 2013 18:05:58 -0000 [thread overview]
Message-ID: <op.wqckj8gn8s54ea@metabuntu> (raw)
In-Reply-To: <20130103214236.3fe60580@natsu>
On Thu, 03 Jan 2013 15:42:36 -0000, Roman Mamedov <rm@romanrm.ru> wrote:
> If that is indeed the case, you can control it with "hdparm -N" (see its
> man page).
>
Just checked out the man page, and ran "hdparm -N" on all RAID member
devices. They all report that HPA is disabled.
e.g.
$ sudo hdparm -N /dev/sdc
/dev/sdc:
max sectors = 586072368/586072368, HPA is disabled
This number of sectors does seem like it would fit all the partitions from
the previous array. However, the Size reported by mdadm seems to be
smaller than what hdparm reports, judging from the error messages below.
On Thu, 03 Jan 2013 15:33:55 -0000, Alex Leach <beamesleach@gmail.com>
wrote:
> $ sudo mdadm --create --verbose /dev/md/RAID5 --raid-devices=3
> --level=5 --chunk=64 --layout=la --size=293033600
> --uuid='789c5fd2b57d7def:89f68d3c' -e imsm /dev/sda /dev/sdg /dev/sdb
> mdadm: /dev/sdb not enough space (586066062 < 586067200)
> mdadm: /dev/sdb is smaller than given size. 0K < 293033600K + metadata
> mdadm: /dev/sdc not enough space (586066062 < 586067200)
> mdadm: /dev/sdc is not suitable for this array.
> mdadm: create aborted
>
Cheers,
Alex
next prev parent reply other threads:[~2013-01-03 18:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 15:33 RAID5 member disks shrunk Alex Leach
2013-01-03 15:42 ` Roman Mamedov
2013-01-03 18:05 ` Alex Leach
2013-01-03 18:05 ` Alex Leach [this message]
2013-01-04 16:13 ` Benjamin ESTRABAUD
[not found] ` <op.wqeiuj0e8s54ea@metabuntu>
2013-01-05 15:17 ` Fwd: " Alex Leach
2013-01-06 12:59 ` Alex Leach
2013-01-14 13:50 ` Alex Leach
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=op.wqckj8gn8s54ea@metabuntu \
--to=beamesleach@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