I'm using two 1tb discs in RAID1 (using mdadm) and mounted as md0
Code:
$ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md0 : active raid1 scsi/host0/bus0/target0/lun0/part1[0] scsi/host1/bus0/target0/lun0/part1[1]
976759936 blocks [2/2] [UU]
if I use the scsi-stop script (one for each disc) the discs spindown correctly but when the discs are needed again only one disc resume, breaking the RAID sync. Is there a way to stop this from happen or another script to use raid md0?
Code:
scsi-stop.sh /dev/scsi/host0/bus0/target0/lun0/disc
scsi-stop.sh /dev/scsi/host1/bus0/target0/lun0/disc
thank's in advance.