On 4/25/2011 2:48 PM, John Andersen wrote:
On 4/24/2011 3:59 PM, Istvan Gabor wrote:
Well, all the drives with all their partitions are recognized by both knoppix and opensuse. Eg looking at /dev/disks/by-id directory.
The problem is that the raid set is not detected in openSUSE. The two drives which has the raid set is visible, and I can mount them. (I mount them only as read-only filesystems as I do not want to make any change and ruin the raid array)
Ok, but just to be clear, you've moved past the point of expecting dmraid of finding these devices, correct?
dmraid is only for software raid. You have hardware raid.
Just clarifying...
Just cloudifying you mean. He does NOT have hardware raid. Nor does he have software raid. Fakeraid is neither software raid nor hardware raid, it is some of both, and that matters. It's it's own entirely different 3rd sort of animal that has it's own things you must know and do to use it. When fakeraid is used, the controller bios writes metadata to the drives which is specially recognized and handled later by both the controller bios at boot time and by the operating system, and hidden from normal userspace access. If the kernel has a dmraid module loaded that recognizes that particular metadata, the kernel will provide a disk device node that represents the entire array logical drive, as well as the normal device nodes for the physical drives, but it will disallow writing to the physical drives since that would break the array. Not all fakeraid metadata are known to Linux. Some are known but only enough to know the kernel should disallow writing or else risk breaking the array, but not enough to safely write to the array and properly maintain the metadata. Some are not known to older kernels or to kernels with certain options disabled, but are known to newer kernels. (newer dmraid modules and newer versions of existing dmraid modules) If the kernel does not have any dmraid driver compiled in or loaded as a module, or, if the available dmraid drivers don't happen to recognize the given controllers metadata, then the kernel will allow write access to the individual physical drives and won't supply any device that represents the array logical drive. Load the knoppix cd, verify that the dmraid array device is present, then run lsmod. Load suse, run lsmod. There will be one or more dm* and/or si* modules not present on the suse run. Locate them and ensure they get loaded, preferably before the physical drives are automounted since that marks them busy and will probably prevent the dmraid module from taking over control of them. There are menus in the installer to manually load more kernel drivers before launching the main installer. -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org