public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* MD: Feature Request: Estimate of blocks necessary to complete sync
@ 2008-12-11 15:27 Jon Nelson
  2008-12-16  3:07 ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Nelson @ 2008-12-11 15:27 UTC (permalink / raw)
  To: LinuxRaid

When one is using a bitmap-enabled raid1 (or raid5 or whatever), MD
prints messages like this to the kernel log when a previously-used
device is re-added:


Dec 11 08:59:40 turnip kernel: md: recovery of RAID array md10
Dec 11 08:59:40 turnip kernel: md: minimum _guaranteed_  speed: 1000
KB/sec/disk.
Dec 11 08:59:40 turnip kernel: md: using maximum available idle IO
bandwidth (but not more than 200000 KB/sec) for recovery.
Dec 11 08:59:40 turnip kernel: md: using 128k window, over a total of
78123968 blocks.
Dec 11 08:59:41 turnip nbd0-frank: mdadm: /dev/nbd0 attached to
/dev/md10 which is already active.
Dec 11 09:00:22 turnip kernel: md: md10: recovery done.

What would be nice is the addition of something like this:
Dec 11 08:59:40 turnip kernel: md: bitmap shows 27 128K blocks requiring sync
or
Dec 11 08:59:40 turnip kernel: md: bitmap shows 3456K blocks requiring sync
or some other analogue.

Seem reasonable?

-- 
Jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-19 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 15:27 MD: Feature Request: Estimate of blocks necessary to complete sync Jon Nelson
2008-12-16  3:07 ` Neil Brown
2008-12-16 10:58   ` Andre Noll
2008-12-19  4:15     ` Neil Brown
2008-12-19 16:44       ` Jon Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox