I played to day a little with my raid setup, by moving 1 of the raid disks from /dev/hdb to /dev/hdc. I expected that I should reconfigure my raid configuration, but somehow the system picked the change and started to /dev/hdc[123] automatically. Very convenient, but how does the system know that hdb had been moved to hdc and that the raid is now composed of hda and hdc?? -- Richard Bos Without a home the journey is endless
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2005-06-25 at 23:38 +0200, Richard Bos wrote:
I played to day a little with my raid setup, by moving 1 of the raid disks from /dev/hdb to /dev/hdc. I expected that I should reconfigure my raid configuration, but somehow the system picked the change and started to /dev/hdc[123] automatically. Very convenient, but how does the system know that hdb had been moved to hdc and that the raid is now composed of hda and hdc??
If you watch the boot messages, you will see that the kernel accesses the raid setup even before processing fstab. I think that when the drives are first accessed, it reads the partition data of all drives, and, if it finds raid partitions of type "fd Linux raid auto", it enables them right away. I guess it has also a method to determine which part of a raid array goes with which, a signature perhaps. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCvfAktTMYHG2NR9URAiHfAJsEp+ATp3tbKxkwziVpFyu5Pk0EZgCfZcdb c41hFnKNmabyq89H7eBSNsU= =HS6R -----END PGP SIGNATURE-----
participants (2)
-
Carlos E. R.
-
Richard Bos