All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pieter De Wit <pieter@insync.za.net>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Doesn't "writes" do what resync does ?
Date: Mon, 30 Dec 2013 12:16:42 +1300	[thread overview]
Message-ID: <52C0AD5A.1040802@insync.za.net> (raw)

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 ?

Cheers,

Pieter

             reply	other threads:[~2013-12-29 23:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 23:16 Pieter De Wit [this message]
2013-12-30  7:25 ` Doesn't "writes" do what resync does ? Stan Hoeppner
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=52C0AD5A.1040802@insync.za.net \
    --to=pieter@insync.za.net \
    --cc=linux-raid@vger.kernel.org \
    /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.