Forcing a re-sync of a RAID1 mirror?
Forcing a re-sync of a RAID1 mirror?
How do you force a re-sync/check of a RAID1 mirror?
Re: Forcing a re-sync of a RAID1 mirror?
There is a script run from /etc/cron.d/raid-check that is run every Sunday that does this. It ends up executing /usr/sbin/raid-check and if you read that, you can see how it triggers a check. You can also read /etc/sysconfig/raid-check
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Forcing a re-sync of a RAID1 mirror?
I looked into what the script does, but the file doesn't exist:
Code: Select all
# echo "check" > /sys/block/md0/md/sync_action
-bash: /sys/block/md0/md/sync_action: Permission denied
# ls /sys/block/md0/md/
array_size bitmap component_size dev-sdb layout max_read_errors new_dev rd0 reshape_direction resync_start
array_state chunk_size consistency_policy dev-sdc level metadata_version raid_disks rd1 reshape_position safe_mode_delay
# more /proc/mdstat
Personalities : [raid0]
md0 : active raid0 sdc[1] sdb[0]
1953260544 blocks super 1.2 512k chunks
unused devices: <none>
Re: Forcing a re-sync of a RAID1 mirror?
You can't check it because it's RAID 0 and there is no redundancy to check. It's not RAID 1.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Forcing a re-sync of a RAID1 mirror?
Better to find out about RAID 0 vs 1 before it fails...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke