[ENBD] enbd + fr1 question/explanation

Ste ste at phx6a.ath.cx
Wed May 17 16:26:16 MDT 2006


Hi, i am experimenting an ENBD + raid1 (fr1) cluster at my university. I 
am a student. :-)

A little introduction:
I configured ENBD on 3 servers:

server 1: share a 40 gb hd via ENBD
server 2: share a 40 gb hd via ENBD
server 3: groups the server1's hd and the servers'2 ones to, 
respectively, /dev/nda and /dev/ndb

On server 3:
/dev/nda and /dev/nbd are the two components of a two disks raid1 made 
with the fr1 module.

Now to make the raid I type "mkraid /dev/md0".

All seems to be okay. But look at this:

root at data:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 nda[1] ndb[0]
      104388 blocks [2/2] [UU]
      [==========>..........]  resync = 50.1% (52672/104388) 
finish=4.8min speed=760K/sec
unused devices: <none>


So the fr1 module is syncing the two components of the array.

The first question is: *what* is syncing since the raid is just created?

The second question, and the bigger problem: why, every time i run 
"raidstart /dev/md0",  also start a total resync? A total resync of the 
two 40 gb disks take about 10 hours (we work with some pentium 133) and 
we can't have a total resync every time we reboot the server.

I do not see the point: why a resync every time the raid is started?

Thanks and greetings from Italy,
Stefano.







More information about the ENBD mailing list