RE: Confused about reshape?
From: Leslie Rhorer <hidden>
Date: 2010-05-31 06:07:38
-----Original Message----- From: Neil Brown [mailto:neilb@suse.de] Sent: Monday, May 31, 2010 12:58 AM To: Leslie Rhorer Cc: linux-raid@vger.kernel.org Subject: Re: Confused about reshape? On Mon, 31 May 2010 00:32:07 -0500 "Leslie Rhorer" [off-list ref] wrote:quoted
quoted
Just tell mdadm what you want and it will do it, or report that itcannot.quoted
Um, OK, I tried it, and it failed: Backup:/# mdadm --grow /dev/md0 --level=6 mdadm: no changes to --growcat /proc/mdstat ?? mdadm -D /dev/md0 ?? mdadm -V ?? uname -a ?? Maybe add -vv to the --grow
/dev/md0:
Version : 1.02
Creation Time : Sun Jul 12 20:44:02 2009
Raid Level : raid5
Array Size : 10255969024 (9780.85 GiB 10502.11 GB)
Used Dev Size : 1465138432 (1397.26 GiB 1500.30 GB)
Raid Devices : 8
Total Devices : 9
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon May 31 00:44:25 2010
State : active
Active Devices : 8
Working Devices : 9
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 256K
Name : Backup:0 (local to host Backup)
UUID : 940ae4e4:04057ffc:5e92d2fb:63e3efb7
Events : 987130
Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
8 8 48 3 active sync /dev/sdd
4 8 64 4 active sync /dev/sde
5 8 80 5 active sync /dev/sdf
6 8 96 6 active sync /dev/sdg
7 8 112 7 active sync /dev/sdh
9 8 128 - spare /dev/sdi
Backup:/tmp# mdadm -V >> temp
mdadm - v3.0.3 - 22nd October 2009
Backup:/tmp# uname -a
Linux Backup 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64
GNU/Linux
Backup:/tmp# mdadm --grow -vv /dev/md0 --level=6 >> temp
mdadm: no changes to --grow