RE: raidtools vs mdadm
From: Neil Brown <hidden>
Date: 2004-09-09 00:42:12
On Wednesday September 8, rich@storix.com wrote:
On Tue, 2004-08-31 at 17:54, Neil Brown wrote:quoted
On Tuesday August 31, rich@storix.com wrote:quoted
i realize that raid devices created with raidtools and raid devices created with mdadm can co-exist. is there an easy way to know which method was used to create them?It is impossible to know. There is no difference.if i were to read the superblock myself, would it look different for devices created with mdadm than with devices created with raidtools?
No. There is no different. Zero. They are the same thing.
i am trying to figure out a way of knowing which tool was used to create them in the event that we need to rebuild them. any difference i can count on consistently is what i am looking for. the problem is that if we recreate raid devices using mdadm and their init scripts dont start the raid devices then the devices will not be assembled, and could possibly cause the system to not boot.
How you create the array and how you start the array are two different things. They don't need to be done with the same tool. If the init scripts don't start an array created with mdadm, then they won't start an array created with raidtools either. NeilBrown