Hello, not a very Webmin issue, but I rather ask it here. What is your recommended course of action for restoring a RAID 1 software array? My problem is that one of my RAID 1 Velociraptors HLFS (the second, new one, if you believe it!) has SMART (also the problems are visible in /var/log/messages) errors:
Nov 16 11:12:22 ns1 smartd: Device: /dev/sda, 5 Currently unreadable (pending) sectors
BTW the array is still healthy&working (mdadm is not marking it as failing and no reconstructions are being made), and the drive is still in working condition, but i'm being cautios. It's /dev/sda. So I will get a another one, for replacement...
I have the following partitioning scheme:
2 x WD Velociraptor in RAID 1 for /boot , / , /var ,swap
2 x ST 1TB in RAID 1 for /home
Centos x86_64 5.4 with Virtualmin PRO and your recommended setup via script - working fine
Device name Active? RAID level Usable size Member disk devices
/dev/md0 Yes Mirrored (RAID1) 297.94 MB /dev/sda1 | /dev/sdb1
/dev/md1 Yes Mirrored (RAID1) 136.71 GB /dev/sda2 | /dev/sdb2
/dev/md2 Yes Mirrored (RAID1) 136.71 GB /dev/sda3 | /dev/sdb3
/dev/md3 Yes Mirrored (RAID1) 5.37 GB /dev/sda5 | /dev/sdb5
/dev/md4 Yes Mirrored (RAID1) 931.51 GB /dev/sdc1 | /dev/sdd1
Disk name Total size Make and model Partitions Actions
SCSI device A 279.46 GB ATA WDC WD3000HLFS-0 5 IDE parameters | SMART status
SCSI device B 279.46 GB ATA WDC WD3000HLFS-0 5 IDE parameters | SMART status
SCSI device C 931.51 GB ATA ST31000528AS 1 IDE parameters | SMART status
SCSI device D 931.51 GB ATA ST31000528AS 1 IDE parameters | SMART status
Can i do it something like:
format the new HDD exactly the same, software RAID 1 partitions, or clone the failing one (cloning is the best thing I guess)
shutdown the machine and replace the defective one;
power on, go to Webmin and add the new partitions to the RAID 1 array from the new drive (will they show, or it will begin automatically the background reconstruction, what's going to happen)?
It can't be that simple...
Pls post your experience with this kind of issues, wednesday it'll be the day :)
PS: Those are the last crapy HLFS that I bought; never had a problem with GLFS series, or the Raptors! I'm begining to think the two Velociraptor series are not the same!