- To: Linux-RAID <linux-raid@xxxxxxxxxxxxxxx>
- Subject: doubt about resync - raid1
- From: Roberto Spadim <roberto@xxxxxxxxxxxxx>
- Date: Thu, 17 May 2012 12:50:19 -0300
- In-reply-to: <CABYL=TpcfGubJAnCJ=Z5T3Lh4PVKQSWPwSXAx+-=ke3pp_+aOg@mail.gmail.com>
hi guys, i was running a resync in a non-normal hardware instalation
it's a server with 4 disks, they are in a raid hardware controller (perci
from dell)
disk 1-2 are raid1 and linux know it about /dev/sda
disk 3-4 are raid1 and linux know it about /dev/sdb
well i add more 4 disks
disk 5-6 raid1 with /dev/sdc
disk 7-8 raid1 with /dev/sdd
nice...
well /dev/sda and /dev/sdb have same partitions (/dev/sda1, 2 3 4) and have
some md devices in this partitions..
/dev/md0 = /dev/sda1 /dev/sdb1
/dev/md1 = /dev/sda2 /dev/sdb2
/dev/md2 = /dev/sda3 /dev/sdb3
all raid 1 too
i create same partitions on /dev/sdc, /dev/sdd
and add they to md raid1
/dev/md0 = /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
/dev/md1 = /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
/dev/md2 = /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
nice..
mdadm start resync...
the point is...
/dev/sda1 start copies to /dev/sdc1 and /dev/sdd1, i checked this with
iostat -d 1 -k, and server is idle, only mdadm and raid is running,
/dev/sda1 have reads and /dev/sdc1 and /dev/sdd1 have writes
nice..
the problem is...
/dev/sdc2 and /dev/sdd2 didn't start sync while /dev/md0 is running, since
they share the same devices (/dev/md0 => /dev/sda1, /dev/md1 => /dev/sda2)
could i force a sync in /dev/md1??
since /dev/sda is a raid1 hardware, it can handle two disks without
performace problems...
it have 2 heads, in others words the mdadm disk balance isn't perfect here
to this solution, but works... the problem is sync not running, if i could
force it every things could be allright
i must check kernel version, it's about 2.6.3x, 1 year old +-
well that's it, any ideas?
***
sorry if i send two emails, the email was configured to HTML/RICH TEXT text
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
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
[ATA RAID]
[Linux SCSI Target Infrastructure]
[Managing RAID on Linux]
[Linux IDE]
[Linux SCSI]
[Linux Hams]
[Device-Mapper]
[Kernel]
[Linux Books]
[Linux Admin]
[Linux Net]
[GFS]
[RPM]
[git]
[Photos]
[Yosemite Photos]
[Yosemite News]
[AMD 64]
[Linux Networking]