* Problem with growing raid1 array (2.6.16-rc1-git2)
@ 2006-02-17 10:10 Antti Salmela
2006-02-17 10:34 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Antti Salmela @ 2006-02-17 10:10 UTC (permalink / raw)
To: linux-raid
I had two 80 GB disks in a raid1 set and wanted to replace them with new
300 GB disks. Replacing went fine and 'mdadm --grow --size max' seemed to
work fine until I tried to run 'pvresize'. pvresize complained that
md device was smaller than before and refused to resize and soon after
that there was also complaints about access beyond end of device.
After restarting md array everything worked fine and I was able to
resize physical volume successfully.
mdadm --version if that matters:
mdadm - v1.12.0 - 14 June 2005
Feb 16 19:40:23 galileo kernel: md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
Feb 16 19:40:23 galileo kernel: md: using maximum available idle IO
bandwidth (but not more than 200000 KB/sec) for reconstruction.
Feb 16 19:40:23 galileo kernel: md: using 128k window, over a total of
80043136 blocks.
Feb 16 20:30:40 galileo kernel: md: md3: sync done.
Feb 16 20:30:40 galileo kernel: RAID1 conf printout:
Feb 16 20:30:40 galileo kernel: --- wd:2 rd:2
Feb 16 20:30:40 galileo kernel: disk 0, wo:0, o:1, dev:hdf1
Feb 16 20:30:40 galileo kernel: disk 1, wo:0, o:1, dev:hdh1
Feb 16 22:45:52 galileo kernel: md: syncing RAID array md3
Feb 16 22:45:52 galileo kernel: md: minimum _guaranteed_ reconstruction
speed: 1000 KB/sec/disc.
Feb 16 22:45:52 galileo kernel: md: using maximum available idle IO
bandwidth (but not more than 200000 KB/sec) for reconst
ruction.
Feb 16 22:45:52 galileo kernel: md: using 128k window, over a total of
293049600 blocks.
Feb 16 22:45:52 galileo kernel: md: resuming recovery of md3 from
checkpoint.
Feb 16 22:45:54 galileo kernel: attempt to access beyond end of device
Feb 16 22:45:54 galileo kernel: md3: rw=1, want=23855496, limit=7285248
Feb 16 22:45:54 galileo kernel: Buffer I/O error on device dm-6, logical
block 0
Feb 16 22:45:54 galileo kernel: lost page write due to I/O error on dm-6
--
Antti Salmela
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with growing raid1 array (2.6.16-rc1-git2)
2006-02-17 10:10 Problem with growing raid1 array (2.6.16-rc1-git2) Antti Salmela
@ 2006-02-17 10:34 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2006-02-17 10:34 UTC (permalink / raw)
To: Antti Salmela; +Cc: linux-raid
On Friday February 17, asalmela@iki.fi wrote:
> I had two 80 GB disks in a raid1 set and wanted to replace them with new
> 300 GB disks. Replacing went fine and 'mdadm --grow --size max' seemed to
> work fine until I tried to run 'pvresize'. pvresize complained that
> md device was smaller than before and refused to resize and soon after
> that there was also complaints about access beyond end of device.
>
> After restarting md array everything worked fine and I was able to
> resize physical volume successfully.
Thanks for the comprehensive report.
This was fixed on the 2nd Feb by
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6d89332b776fc11bac0073209e44ec8f39831e4e
which is slightly more recent than the -rc1-git2 you were using.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-17 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 10:10 Problem with growing raid1 array (2.6.16-rc1-git2) Antti Salmela
2006-02-17 10:34 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox