All of lore.kernel.org
 help / color / mirror / Atom feed
* Mirroring
@ 2002-04-11 12:23 Mohamed Farouk
  2002-04-11 12:49 ` Mirroring Gernot A. Weber
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Farouk @ 2002-04-11 12:23 UTC (permalink / raw)
  To: linux-raid

Dear Sir


First i read about your experience in the Unix  Administration, and it 
is ereal great, hoping one day to reach your point.

Second, i have a question concerning the Mirroring technique as i use it 
here, knowing that i am working with RedHat linux 7.2. My question is:


How can i make the slave or the backup disk bootable in case of master 
disk crash?

More exploration:

I have 2 hard disks, one is the master and the other is the slave or the 
backup, or the mirror (whatever), i finished installing them and they 
are working fine (till now !!), but when i make a test to remove anyone 
to see if the other will work properly (as this will be the case in case 
of anyone of them crash), i found that the master one is working fine 
(which contain the boot commands) while the other failed to boot. I 
tried to put a bootable disk but it gives me something related to kernel 
panics.

Your help will be much appreciatted:



-- 
Mohamed Farouk
System Engineer
IT Dept.
MEMScAP
9 St, Ebn Batouta, Beside the Baron, Cairo, Egypt
Tel: 4146860 Ext: 102
Mobile: 0101828653
http://www.memscap.com


-------------------------------------------------------------------------
"This message and any attachment are confidential and may be privileged
or otherwise protected from disclosure.  If you are not the intended
recipient, please telephone or email the sender and delete this message
and any attachment from your system.  If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person."
-------------------------------------------------------------------------



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

* Re: Mirroring
  2002-04-11 12:23 Mirroring Mohamed Farouk
@ 2002-04-11 12:49 ` Gernot A. Weber
  0 siblings, 0 replies; 5+ messages in thread
From: Gernot A. Weber @ 2002-04-11 12:49 UTC (permalink / raw)
  To: Mohamed Farouk; +Cc: linux-raid

Dear Mr Farouk,

> (which contain the boot commands) while the other failed to boot. I
> tried to put a bootable disk but it gives me something related to kernel
> panics.
>

I assume that you wrote the bootdisk when your master disk was running. So
the LILO searches for the root partition on the master disk. When there is
no master disk it fails to read it. I think it should be enough to write a
new MBR with an alternate lilo.conf, which tells the kernel to boot not
the master disks root partition but the slave root partition. In other
words search for the entry root=. It might say something like
root=/dev/hda1. Change it to the slave disk, eg root=/dev/hdb1 (This
example assumes master / in hda1 and slave / on hdb1). Probably lilo won't
write to MBR and complains about hdb being not first disk. But you can
fake this entry. I can't remember the rigth syntax. But I think a quick
google search should solve this problem.

Best wishes,

   Gernot Weber


-- 
Gernot A. Weber
http://www.tux-web.de

Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it.

                              Linus Torvalds, after a hard drive crash


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

* mirroring
@ 2006-05-18  8:05 Jonathan E Brassow
  2006-05-18 10:56 ` [linux-lvm] mirroring Jens Wilke
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan E Brassow @ 2006-05-18  8:05 UTC (permalink / raw)
  To: LVM and development general discussion, device-mapper development

I think most of the device-mapper and LVM2 patches for mirroring have 
been put into CVS.  device-mapper kernel patches for various kernels 
can be found at https://www.brassow.com/mirroring.

  brassow

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

* Re: mirroring
  2006-05-18 10:56 ` [linux-lvm] mirroring Jens Wilke
@ 2006-05-31 23:15   ` Harik A'ttar
  2006-05-31 23:19     ` mirroring Harik A'ttar
  0 siblings, 1 reply; 5+ messages in thread
From: Harik A'ttar @ 2006-05-31 23:15 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: device-mapper development

Jens Wilke wrote:
> On Thursday 18 May 2006 10:05, Jonathan E Brassow wrote:
>> I think most of the device-mapper and LVM2 patches for mirroring have
>> been put into CVS.  device-mapper kernel patches for various kernels
>> can be found at https://www.brassow.com/mirroring.
> 
> It's working better without https ;)
> 
> http://www.brassow.com/mirroring

Wow, that's rather a mess.

diff --git a/Makefile b/Makefile
index cb57905..b93f75f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
  VERSION = 2
  PATCHLEVEL = 6
  SUBLEVEL = 16
-EXTRAVERSION =
+EXTRAVERSION = .16
  NAME=Sliding Snow Leopard

  # *DOCUMENTATION*

You've merged the 2.6.16.16 patch with the mirroring patch.   Can you 
redo the patch from the same versions?

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: mirroring
  2006-05-31 23:15   ` mirroring Harik A'ttar
@ 2006-05-31 23:19     ` Harik A'ttar
  0 siblings, 0 replies; 5+ messages in thread
From: Harik A'ttar @ 2006-05-31 23:19 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: dm-devel

Harik A'ttar wrote:

> You've merged the 2.6.16.16 patch with the mirroring patch.   Can you 
> redo the patch from the same versions?

Duh, I just used zcat | less to read it, completely ignoring the fact
it was a tarball.  It's already split out nicely, I'm just running slow 
today.


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

end of thread, other threads:[~2006-05-31 23:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-11 12:23 Mirroring Mohamed Farouk
2002-04-11 12:49 ` Mirroring Gernot A. Weber
  -- strict thread matches above, loose matches on Subject: below --
2006-05-18  8:05 mirroring Jonathan E Brassow
2006-05-18 10:56 ` [linux-lvm] mirroring Jens Wilke
2006-05-31 23:15   ` mirroring Harik A'ttar
2006-05-31 23:19     ` mirroring Harik A'ttar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.