linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using my Mirror disk to boot up.
@ 2007-08-30  3:25 chee
  2007-08-30  5:14 ` Iustin Pop
  0 siblings, 1 reply; 2+ messages in thread
From: chee @ 2007-08-30  3:25 UTC (permalink / raw)
  To: linux-raid


i,

This is my Filesystem:

Filesystem Size Used Avail Use% Mounted on
/dev/md0 9.7G 6.6G 2.7G 72% /
none 189M 0 189M 0% /dev/shm
/dev/md2 103G 98G 289M 100% /home

and this is mirror settings:

Personalities : [raid1]
md1 : active raid1 hda2[0] hdd2[1]
512000 blocks [2/2] [UU]

md2 : active raid1 hdd3[1] hda3[0]
109298112 blocks [2/2] [UU]

md0 : active raid1 hdd1[1] hda1[0]
10240128 blocks [2/2] [UU]

The problem i am facing is my mirror disk does not seem to boot up when i
swap hard disk to test where my mirroring disk is working. The only thing i
see was this 'LI' in the monitor and hangs there.

I am quite new to mirror disk. PLease do advise me. Thanks
-- 
View this message in context: http://www.nabble.com/Using-my-Mirror-disk-to-boot-up.-tf4351751.html#a12399907
Sent from the linux-raid mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using my Mirror disk to boot up.
  2007-08-30  3:25 Using my Mirror disk to boot up chee
@ 2007-08-30  5:14 ` Iustin Pop
  0 siblings, 0 replies; 2+ messages in thread
From: Iustin Pop @ 2007-08-30  5:14 UTC (permalink / raw)
  To: chee; +Cc: linux-raid

On Wed, Aug 29, 2007 at 08:25:59PM -0700, chee wrote:
> 
> i,
> 
> This is my Filesystem:
> 
> Filesystem Size Used Avail Use% Mounted on
> /dev/md0 9.7G 6.6G 2.7G 72% /
> none 189M 0 189M 0% /dev/shm
> /dev/md2 103G 98G 289M 100% /home
> 
> and this is mirror settings:
> 
> Personalities : [raid1]
> md1 : active raid1 hda2[0] hdd2[1]
> 512000 blocks [2/2] [UU]
> 
> md2 : active raid1 hdd3[1] hda3[0]
> 109298112 blocks [2/2] [UU]
> 
> md0 : active raid1 hdd1[1] hda1[0]
> 10240128 blocks [2/2] [UU]
> 
> The problem i am facing is my mirror disk does not seem to boot up when i
> swap hard disk to test where my mirroring disk is working. The only thing i
> see was this 'LI' in the monitor and hangs there.
> 
The problem is (most likely) that your mirrors only cover the
hd[ad][123] partitions, and not the whole disk. Thus, the MBR of hda is
not synchronized to hdd.

You can do two things here:
  - fix your lilo.conf to correctly write to both hda and hdd (IIRC, you
    need the directive raid-extra-boot=mbr or raid-extra-boot=mbr-only,
    depending on how exactly you install lilo)
  - change to a partitionable raid array instead of three arrays (one
    for each partition); that will cover also the mbr of the drive


regards,
iustin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-30  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30  3:25 Using my Mirror disk to boot up chee
2007-08-30  5:14 ` Iustin Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).