Re: Stop resync operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 06 2015, d4lamar wrote:

> Dear Developers,
>
> I have a question for you.
>
> I have a raid10 md array:
>
> Is it theoretically possible to stop a running resync operation and
> mark the array as clean without stopping the array ?


Firstly stop the resync with:

  echo frozen > /sys/block/mdXXX/md/sync_action

Then mark the resync as complete with
  echo none > /sys/block/mdXXX/md/resync_start

then re-enable sync with

  echo idle > /sys/block/mdXXX/md/sync_action

But maybe 6 weeks was too long to wait for a reply :-(

NeilBrown

>
> I do not want the resync to be respawned automatically.
>
> Thanks and Best Regards,
> d4lamar
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux