Does anyone know how long a RAID1 scan should take? the box has 2 1TB hard drives.
The box keeps shutting down and fails to start backup (until I manually power down and up again) so I'm guessing there's an error in the RAID as its set to shut down if an error is found.
I found this http://www.gagme.com/greg/linux/raid-lvm.php
Cheers Steve.
I've been running the RAID scan since 12:30 and the estimated time to finish is 1772.5 minutes from now :o
That's one hell of a scan!
They're being thorough. ;)
Not really clued up on Linux RAID although I'm led to believe software RAID is better than the hardware version. Since it's RAID 1 can you not just 'pull' the affected drive and then rebuild?
A 'scan' will take as long as the file system scan takes, if that's what you mean. A modern file system check of the structure and metadata should not take too long. A surface scan of 2TB will take a very long time however. Probably an overnight job. If you mean rebuild though, my software RAID-5 with dmraid on a 2.6.32 kernel takes approximately 6 hours to rebuild 1TB. A RAID-1 rebuild is trivial however as it is just a mirror, and so will go at the read/write speed of the disks. If you take a conservative 30MB/s this comes out at nearly 19 hours.