From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4HE8uQ4007235 for ; Wed, 17 May 2006 10:08:56 -0400 Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k4HE8lJN006407 for ; Wed, 17 May 2006 10:08:47 -0400 From: "Greg Hartzog" Date: Wed, 17 May 2006 10:08:45 -0400 Message-ID: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C67999.E2352A10" Subject: [linux-lvm] "/boot" under LVM2 support in lilo or grub Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C67999.E2352A10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello there everyone. I found from poking around the web that lilo, in theory, supports having "/boot" under LVM2 control rather then existing as its own partition. I was wondering if anyone can confirm or deny this. And if anyone has any docs on how to configure or setup this up. Thanks! ------=_NextPart_000_0001_01C67999.E2352A10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello there everyone.

 

I found from poking around the web that lilo, in theory, supports having = “/boot” under LVM2 control rather then existing as its own = partition.

 

I was wondering if anyone can confirm or deny this.  And if anyone has = any docs on how to configure or setup this up.

 

Thanks!

 

------=_NextPart_000_0001_01C67999.E2352A10-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4HJQOC2000543 for ; Wed, 17 May 2006 15:26:24 -0400 Received: from conterra.de (vvv.conterra.de [212.124.44.162]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4HJQM9g031245 for ; Wed, 17 May 2006 15:26:22 -0400 Received: from localhost (unknown [127.0.0.1]) by conterra.de (-) with ESMTP id F231A1F404B for ; Wed, 17 May 2006 21:26:14 +0200 (CEST) Received: from conterra.de ([127.0.0.1]) by localhost (vvv.conterra.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16364-04 for ; Wed, 17 May 2006 21:26:07 +0200 (CEST) Message-ID: <446B78CD.2090804@conterra.de> Date: Wed, 17 May 2006 21:26:05 +0200 From: =?windows-1252?Q?Dieter_St=FCken?= MIME-Version: 1.0 Subject: Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub References: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> In-Reply-To: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> Content-Transfer-Encoding: 8bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="utf-8"; format="flowed" To: LVM general discussion and development Greg Hartzog wrote: > I found from poking around the web that lilo, in theory, supports having > �/boot� under LVM2 control rather then existing as its own partition. this would be really nice to see. Most FAQs advise you to partition your disk. But my PV is about 5TB, which stupid DOS partitioning can't handle anyway. I think it should be possible to have a small LV containing the /boot directory. With my PE size of 32M, I don't even have to worry if it is contiguous, as it will fit into a single PE. The very first sector of a PV seems to be unused by LVM, thus a Lilo or Grub MBR may be installed. The remaining problem is to set up the mapping for LILO or Grub to load further stages and the kernel itself. I looked into the LILO sources and indeed found some fragments dealing with LVM when trying to get the physical sector numbers of the files to load (using FIBMAP). But I'm still searching where this is documented. The Grub development seems to be focused mainly on wired mutiboot problems with DOS and Windows XY. The whole system fundamentally depends on the concept of a partition table to solve problems I will never have :-) Dieter. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4I7EOEP005566 for ; Thu, 18 May 2006 03:14:24 -0400 Received: from percy.comedia.it (percy.comedia.it [212.97.59.71]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4I7EM5A027311 for ; Thu, 18 May 2006 03:14:22 -0400 Date: Thu, 18 May 2006 09:14:21 +0200 From: Luca Berra Subject: Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub Message-ID: <20060518071421.GB26035@percy.comedia.it> References: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> <446B78CD.2090804@conterra.de> Mime-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <446B78CD.2090804@conterra.de> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: linux-lvm@redhat.com On Wed, May 17, 2006 at 09:26:05PM +0200, Dieter St=EF=BF=BDken wrote: >Greg Hartzog wrote: >>I found from poking around the web that lilo, in theory, supports having = >>?/boot? under LVM2 control rather then existing as its own partition. > >this would be really nice to see. Most FAQs advise you to partition your >disk. But my PV is about 5TB, which stupid DOS partitioning can't handle http://www.saout.de/misc/ L. --=20 Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4IJpWVV032436 for ; Thu, 18 May 2006 15:51:32 -0400 Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4IJpT4L004297 for ; Thu, 18 May 2006 15:51:29 -0400 From: "Greg Hartzog" Subject: RE: [linux-lvm] "/boot" under LVM2 support in lilo or grub Date: Thu, 18 May 2006 15:51:17 -0400 Message-ID: <000401c67ab4$6e188340$640a0a0a@laptopoptimus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C67A92.E706E340" In-Reply-To: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: 'LVM general discussion and development' This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C67A92.E706E340 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit My thanks to everyone for answering. >From the lilo author, I found that my choices are for "/boot" to either be on RAID-1 or to be under LVM. But both are not allowed. So I am considering what to do next. What is the state of the LVM mirroring code? Could I create mirrored logical volumes in LVM rather then putting LVM on top of RAID-1 md? Thanks! _____ From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Greg Hartzog Sent: Wednesday, May 17, 2006 10:09 AM To: linux-lvm@redhat.com Subject: [linux-lvm] "/boot" under LVM2 support in lilo or grub Hello there everyone. I found from poking around the web that lilo, in theory, supports having "/boot" under LVM2 control rather then existing as its own partition. I was wondering if anyone can confirm or deny this. And if anyone has any docs on how to configure or setup this up. Thanks! ------=_NextPart_000_0005_01C67A92.E706E340 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

My thanks to everyone for = answering.

 

From the lilo author, I found that my choices are for = “/boot” to either be on RAID-1 or to be under LVM.  But both are not = allowed.

 

So I am considering what to do = next.

 

What is the state of the LVM mirroring code?  = Could I create mirrored logical volumes in LVM rather then putting LVM on top of = RAID-1 md?

 

Thanks!

 


From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] = On Behalf Of Greg Hartzog
Sent: Wednesday, May 17, = 2006 10:09 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] "/boot" under LVM2 support in lilo or grub

 

Hello there everyone.

 

I found from poking around the web that lilo, in theory, supports having “/boot” under LVM2 control rather then existing as its own partition.

 

I was wondering if anyone can confirm or deny this.  And if anyone has = any docs on how to configure or setup this up.

 

Thanks!

 

------=_NextPart_000_0005_01C67A92.E706E340-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4J5EcM9003201 for ; Fri, 19 May 2006 01:14:38 -0400 Received: from percy.comedia.it (percy.comedia.it [212.97.59.71]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4J5EaqE024413 for ; Fri, 19 May 2006 01:14:37 -0400 Date: Fri, 19 May 2006 07:14:35 +0200 From: Luca Berra Subject: Re: [linux-lvm] "/boot" under LVM2 support in lilo or grub Message-ID: <20060519051435.GB30625@percy.comedia.it> References: <000001c679bb$6946ca10$640a0a0a@laptopoptimus> <000401c67ab4$6e188340$640a0a0a@laptopoptimus> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <000401c67ab4$6e188340$640a0a0a@laptopoptimus> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com On Thu, May 18, 2006 at 03:51:17PM -0400, Greg Hartzog wrote: >My thanks to everyone for answering. > > > >>>From the lilo author, I found that my choices are for "/boot" to either be >on RAID-1 or to be under LVM. But both are not allowed. > it depends on what you intend for raid1 the lilo device mapper patch only supports linear maps, so you cannot use it with dm-mirror. but /boot over lvm over md always worked fine. L. -- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \