From: "Nigel J. Terry" <nigel@nigelterry.net>
To: Neil Brown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: Re: Raid5 reshape
Date: Sat, 17 Jun 2006 15:21:39 -0400 [thread overview]
Message-ID: <44945643.3070300@nigelterry.net> (raw)
In-Reply-To: <17555.13409.834439.80361@cse.unsw.edu.au>
Neil Brown wrote:
> On Friday June 16, nigel@nigelterry.net wrote:
>
>> Thanks for all the advice. One final question, what kernel and mdadm
>> versions do I need?
>>
>
> For resizing raid5:
>
> mdadm-2.4 or later
> linux-2.6.17-rc2 or later
>
> NeilBrown
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
Ok, I tried and screwed up!
I upgraded my kernel and mdadm.
I set the grow going and all looked well, so as it said it was going to
take 430 minutes, I went to Starbucks. When I came home there had been a
power cut, but my UPS had shut the system down. When power returned I
rebooted. Now I think I had failed to set the new partition on /dev/hdc1
to Raid Autodetect, so it didn't find it at reboot. I tried to hot add
it, but now I seem to have a deadlock situation. Although --detail shows
that it is degraded and recovering, /proc/mdstat shows it is reshaping.
In truth there is no disk activity and the count in /proc/mdstat is not
changing. I gues sthe only good news is that I can still mount the
device and my data is fine. Please see below...
Any ideas what I should do next? Thanks
Nigel
[root@homepc ~]# uname -a
Linux homepc.nigelterry.net 2.6.17-rc6 #1 SMP Sat Jun 17 11:05:52 EDT
2006 x86_64 x86_64 x86_64 GNU/Linux
[root@homepc ~]# mdadm --version
mdadm - v2.5.1 - 16 June 2006
[root@homepc ~]# mdadm --detail /dev/md0
/dev/md0:
Version : 00.91.03
Creation Time : Tue Apr 18 17:44:34 2006
Raid Level : raid5
Array Size : 490223104 (467.51 GiB 501.99 GB)
Device Size : 245111552 (233.76 GiB 250.99 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat Jun 17 15:15:05 2006
State : clean, degraded, recovering
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 128K
Reshape Status : 6% complete
Delta Devices : 1, (3->4)
UUID : 50e3173e:b5d2bdb6:7db3576b:644409bb
Events : 0.3211829
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 3 65 2 active sync /dev/hdb1
3 0 0 3 removed
4 22 1 - spare /dev/hdc1
[root@homepc ~]# cat /proc/mdstat
Personalities : [raid5] [raid4]
md0 : active raid5 sdb1[1] sda1[0] hdc1[4](S) hdb1[2]
490223104 blocks super 0.91 level 5, 128k chunk, algorithm 2 [4/3]
[UUU_]
[=>...................] reshape = 6.9% (17073280/245111552)
finish=86.3min speed=44003K/sec
unused devices: <none>
[root@homepc ~]#
next prev parent reply other threads:[~2006-06-17 19:21 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-16 6:34 Raid5 reshape Tim
2006-06-16 6:41 ` Neil Brown
2006-06-16 16:00 ` Nigel J. Terry
2006-06-16 16:14 ` Tim T
2006-06-16 22:28 ` Neil Brown
2006-06-16 22:39 ` Nigel J. Terry
2006-06-16 22:44 ` Neil Brown
2006-06-17 19:21 ` Nigel J. Terry [this message]
2006-06-17 21:55 ` Neil Brown
2006-06-17 22:01 ` Nigel J. Terry
2006-06-17 22:05 ` Nigel J. Terry
2006-06-17 22:17 ` Neil Brown
2006-06-17 22:19 ` Nigel J. Terry
2006-06-18 12:57 ` Nigel J. Terry
2006-06-19 2:03 ` Neil Brown
2006-06-19 21:42 ` Nigel J. Terry
2006-06-19 22:46 ` Neil Brown
2006-06-19 22:53 ` Nigel J. Terry
2006-06-19 23:29 ` Mike Hardy
2006-06-19 23:33 ` Nigel J. Terry
2006-06-19 23:33 ` Neil Brown
2006-06-19 23:35 ` Nigel J. Terry
2006-06-20 10:35 ` Nigel J. Terry
2006-06-21 6:02 ` Neil Brown
2006-06-24 22:58 ` Raid5 reshape (Solved) Nigel J. Terry
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=44945643.3070300@nigelterry.net \
--to=nigel@nigelterry.net \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.