Re: grub-install to mdp-style RAID1 array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vince W. wrote:

The command I used to create the array was:

# mdadm --create /dev/mdpraid --auto=mdp --level=1 --raid-devices=2 /dev/hdi /dev/hdk
>
> running interactive grub shell:

    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
   completions of a device/filename.]

grub> device (hd0) /dev/mdpraid

grub> root (hd0,  <- tab completion attempt to see what it will say:
 Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 2,  Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup

Error 11: Unrecognized device string


Uh, turns out I wasn't using the right syntax....

typing this instead worked:

grub> setup (hd0)

I can now boot from the partitioned MD device.  woo-hoo!

Now to see if I can pull the 1st drive and boot from the 2nd drive in the array.

Vince
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux