From: Laurent CARON <lcaron@unix-scripts.info>
To: linux-raid@vger.kernel.org
Subject: Unable to grow RAID 6 array
Date: Wed, 18 May 2011 09:31:59 +0200 [thread overview]
Message-ID: <20110518092327.airaicao@trusted.unix-scripts.info> (raw)
Hi,
I'm basically trying to grow a RAID-6 array (5 disks).
I did change the disks one by one (change, rebuild, ...).
I finally did delete the last partition (the one I wanted to enlarge and
recreated it with the exactly same start but different end).
When I try to grow the array, I get:
# mdadm --grow --size max /dev/md2
mdadm: component size of /dev/md2 has been set to 732458496K
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md2 : active raid6 sda3[0] sde3[4] sdd3[3] sdc3[2] sdb3[1]
2197375488 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5] [UUUUU]
# mdadm -E /dev/sda3
/dev/sda3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 2687b3cf:4c884e3d:75aff183:342fe97d
Name : gw:2 (local to host gw)
Creation Time : Mon Apr 25 22:51:23 2011
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 1464917107 (698.53 GiB 750.04 GB)
Array Size : 4394750976 (2095.58 GiB 2250.11 GB)
Used Dev Size : 1464916992 (698.53 GiB 750.04 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 98d5d478:4a58c880:a70646d8:d3b92777
Update Time : Wed May 18 09:25:25 2011
Checksum : 7cbdbbb9 - correct
Events : 84
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAAA ('A' == active, '.' == missing)
# mdadm -D /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Mon Apr 25 22:51:23 2011
Raid Level : raid6
Array Size : 2197375488 (2095.58 GiB 2250.11 GB)
Used Dev Size : 732458496 (698.53 GiB 750.04 GB)
Raid Devices : 5
Total Devices : 5
Persistence : Superblock is persistent
Update Time : Wed May 18 09:26:36 2011
State : clean
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : gw:2 (local to host gw)
UUID : 2687b3cf:4c884e3d:75aff183:342fe97d
Events : 84
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
2 8 35 2 active sync /dev/sdc3
3 8 51 3 active sync /dev/sdd3
4 8 67 4 active sync /dev/sde3
# fdisk -l /dev/sda
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x09cd117c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19 152586 fd Linux raid autodetect
/dev/sda2 20 30414 244147837+ fd Linux raid autodetect
/dev/sda3 30415 243201 1709211577+ fd Linux raid autodetect
The partitions I try to use are now 1.7TB so my raid array should be
able to grow without any trouble.
Needless to say I already rebooted for the kernel to re-read the
partition table.
If any of you can help me to sort this out It would be nice.
Thanks
next reply other threads:[~2011-05-18 7:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 7:31 Laurent CARON [this message]
2011-05-18 7:58 ` Unable to grow RAID 6 array John Robinson
2011-05-18 8:56 ` NeilBrown
2011-05-18 9:02 ` Laurent CARON
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=20110518092327.airaicao@trusted.unix-scripts.info \
--to=lcaron@unix-scripts.info \
--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).