From: Stan Hoeppner <stan@hardwarefreak.com>
To: Pieter De Wit <pieter@insync.za.net>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Doesn't "writes" do what resync does ?
Date: Mon, 30 Dec 2013 01:25:19 -0600 [thread overview]
Message-ID: <52C11FDF.1040307@hardwarefreak.com> (raw)
In-Reply-To: <52C0AD5A.1040802@insync.za.net>
On 12/29/2013 5:16 PM, Pieter De Wit wrote:
> Hi List,
>
> As per my previous email, I am busy shifting a bunch of data around. I
> have just created a new RAID1 set, following which MD started resyncing it.
>
> Before that completed, I started shifting data onto it. I always thought
> that writing data to a new array, does "exactly" what resyncing does (it
> has to do all the same calcs etc)
>
> This doesn't seem to be the case:
>
> md2 : active raid1 sdd2[1] sda2[0]
> 243567616 blocks super 1.2 [2/2] [UU]
> [===>.................] resync = 17.2% (41949184/243567616)
> finish=122.3min speed=27454K/sec
>
> yet:
>
> --- Physical volume ---
> PV Name /dev/md2
> VG Name RAID
> PV Size 232.28 GiB / not usable 35.00 MiB
> Allocatable yes
> PE Size 4.00 MiB
> Total PE 59456
> Free PE 811
> Allocated PE 58645
> PV UUID my6BsX-cSPD-MTKK-8U0t-ULVl-MKcA-LcAW2D
>
> All the data on here was moved from another RAID device and currently
> contains about 200gig of data.
>
> Should that resync not have had more completed ?
Your question is invalid. What you meant to ask is
"Why are pvdisplay and mdstat reporting what seems to be conflicting
state data?"
Did you also ask on the lvm list why pvdisplay says most PEs are
consumed, yet mdstat says resync is only 17% complete?
--
Stan
next prev parent reply other threads:[~2013-12-30 7:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 23:16 Doesn't "writes" do what resync does ? Pieter De Wit
2013-12-30 7:25 ` Stan Hoeppner [this message]
2013-12-30 8:36 ` Pieter De Wit
2013-12-30 11:39 ` Stan Hoeppner
2013-12-30 12:20 ` Pieter De Wit
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=52C11FDF.1040307@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=linux-raid@vger.kernel.org \
--cc=pieter@insync.za.net \
/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