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

Re: RAID1 all bootable



On Wed, Mar 06, 2013 at 06:59:01AM +0100, Francesco Pietra wrote:
> I had all my data on another raid1 machine. Following the new install,
> all data were scp transferred. All my machine are on a router, with
> passwordless scp. Which is also used to contact external server for
> computational work.
> 
> Following a seemingly correct installation, with grub installed
> 'grub-install /dev/sda' and 'update grub'
> 
> command
> 
>  grub-install /dev/sdb
> 
> 
> led to a system that did no more boot. I can't see what was wrong with
> the installation. I have now the same situation (install from the
> wheezy installer). If you suggest what to check, I'll do that.
> 
> Thanks a lot for your generous help. I (we) learned a lot from you.

Are you running with raid1 on raw sda and sdb or are you creating
partitions and running raid on the partitions (which to me is the normal
thing to do)?

If you are running raid on the raw device, then grub-install would have to
be on /dev/md0 or whatever your raid device is.  If you have partitions,
then it would be on /dev/sda and /dev/sdb.

If you have no partitions, then doing grub-install /dev/sdb probably
broke the raid.  It's such an unusual and weird setup to not use
partitions that most people simply assume you have partitions and any
advice you get will make that assumption.  Somewhat makes it a dangerous
setup to use for that reason.

-- 
Len Sorensen


Reply to: