Raid auto-assembly on LDM?
Hello folks,
I'm trying something which is probably slightly crazy, but I can't get it to work.
What I'm trying is to get the linux kernel to auto-assembly my raid-1 sets, which are based on volumes on two LDM disks.
The problem is that the kernel looks for partitiontypes of 0xfd, which I can't set (or haven't found yet how to set) for LDM volumes. The assembly fails, and the kernel panics.
Another possibility would be to use an initrd/initramfs, but then I'm once again stuck with a disk that is not in raid, and ergo a point of failure when the disk might crash.
(The reason to use LDM is that this way I also can put the other OS on the disk in mirror.)
Does anyone have any other ideas? I've searched the web, but noone really seems inclined to do it this way...
Kind regards,
Jan
Quoted 10 lines · On Sunday June 15, [email protected] wrote:
Hello folks,
I'm trying something which is probably slightly crazy, but I can't get it to work.
What I'm trying is to get the linux kernel to auto-assembly my raid-1 sets, which are based on volumes on two LDM disks.
The problem is that the kernel looks for partitiontypes of
0xfd, which I can't set (or haven't found yet how to set) for LDM volumes. The assembly fails, and the kernel panics.
Sorry, acronym failure: What is LDM??
Quoted 4 lines
Another possibility would be to use an initrd/initramfs, but then I'm once again stuck with a disk that is not in raid, and ergo a point of failure when the disk might crash.
I don't understand your conclusion.
The initrd/initramfs is stored where ever your kernel is stored. If storing an initrd introduces a single point of failure, then storing your Linux kernel will too.
Confused.
NeilBrown
Quoted 15 lines
(The reason to use LDM is that this way I also can put the other OS on the disk in mirror.)
Does anyone have any other ideas? I've searched the web, but noone really seems inclined to do it this way...
Kind regards,
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Neil Brown
Quoted 4 lines · On Sunday June 15, [email protected] wrote:
Hello folks,
I'm trying something which is probably slightly crazy, but I can't get it to work.
Quoted 8 lines
Quoted 6 lines
What I'm trying is to get the linux kernel to auto-assembly my raid-1 sets, which are based on volumes on two LDM disks.
The problem is that the kernel looks for partitiontypes of
0xfd, which I can't set (or haven't found yet how to set) for LDM volumes. The assembly fails, and the kernel panics.Sorry, acronym failure: What is LDM??
Logical Device Manager... that Windows thing (CONFIG_LDM_PARTITION)