Re: resync starts over after each reboot (2.6.18.1)?

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

 



On Tuesday October 17, mangoo@xxxxxxxx wrote:
> Neil Brown wrote:
> > On Tuesday October 17, mangoo@xxxxxxxx wrote:
> >> I just set up a new Debian unstable box.
> >> It's running 2.6.18.1 kernel.
> >>
> >> I created RAID-1 on two disks, with no data or filesystem on it.
> >> As I'm still experimenting with the box, I reboot it quite frequently.
> >>
> >> I noticed that RAID-1 resync starts from the very beginning after each 
> >> reboot. Is it normal?
> > 
> > No.
> > Has the resync finished when you shut down?
> 
> No, it was still running.
> 

Ok, so obviously it should start after a reboot, but maybe not at the
very beginning.

> 
> > How do you shut down?
> 
> I simply type "reboot", so it should shutdown/reboot cleanly.
> 

"should".
Do you have kernel logs of the shutdown process?  Do they mention md0
at all?

> 
> > Can you post the kernel logs from boot up to when the resync has
> > started?
> 
> # dmesg|grep md
> 
....

That looks OK except there is no

 md: resuming recovery of md0 from checkpoint

as I would expect....
Are you creating the array with an internal bitmap?


> 
> 
> (it has so many raid levels, as I'm still experimenting with it).
> 

Experimentation is good!! It helps you find my bugs :-)

NeilBrown
-
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

[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