From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VPZ0t-0007pu-7L for mharc-grub-devel@gnu.org; Fri, 27 Sep 2013 10:27:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPZ0m-0007pQ-UD for grub-devel@gnu.org; Fri, 27 Sep 2013 10:27:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPZ0h-0001W5-Dk for grub-devel@gnu.org; Fri, 27 Sep 2013 10:27:16 -0400 Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:65313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPZ0h-0001Vv-66 for grub-devel@gnu.org; Fri, 27 Sep 2013 10:27:11 -0400 Received: by mail-la0-f52.google.com with SMTP id ev20so2256166lab.11 for ; Fri, 27 Sep 2013 07:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=5Qj2xK8l2gBZ1GDHgsdzvXTLY9skprNtYynqf5ifMRU=; b=VHQUVWMHGmHBMukQNRa4EjPzvYFi5aGqSpezTrlyDChoAB0YMjdVqVCDYIr6DDCylj UbfGv3AIQ4CgGdoKw29If30RahY2RcrY7KCXHPoOSruM+KQGb5qhy9Ny++ywAO6ZegtA NIRLbTnULW81HLXst5e93q73MQzWUwUnXrxYSBw1GwlaGLiBPcl6TMYUBsN+2awgtGvY 1fLh14/VBe2jGgqh6ChZ3YTttmVul0F5Ksag5UNcILNi6u+GfweW3gh9yEiW0nUj4mza bscZmCETTfk82tf+2dg6OAxmTdUAELfaeZeXnqmAAMs8V3bJ5F28LYYQGTioZ1XNTCNg 1S/w== X-Received: by 10.112.168.3 with SMTP id zs3mr9010804lbb.2.1380292029590; Fri, 27 Sep 2013 07:27:09 -0700 (PDT) Received: from opensuse.site (ppp91-76-150-246.pppoe.mtu-net.ru. [91.76.150.246]) by mx.google.com with ESMTPSA id pw4sm6025448lbb.9.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 27 Sep 2013 07:27:09 -0700 (PDT) Date: Fri, 27 Sep 2013 18:27:07 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH] Install to LVM PVs Message-ID: <20130927182707.265206f3@opensuse.site> In-Reply-To: <52457EA1.10804@gmail.com> References: <5243F5FF.4000804@gmail.com> <52456056.1030101@gmail.com> <52457EA1.10804@gmail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/iw9_kA.11GlHuTnlcWsKH/G"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::234 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 14:27:22 -0000 --Sig_/iw9_kA.11GlHuTnlcWsKH/G Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 27 Sep 2013 14:48:33 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 27.09.2013 12:39, Gabriel de Perthuis wrote: > > Le 26/09/2013 10:53, Vladimir '=CF=86-coder/phcoder' Serbinenko a =C3= =A9crit: > >> On 25.09.2013 14:39, Gabriel de Perthuis wrote: > >>> Hello, > >>> This patch lets grub install to a reserved area in LVM physical volum= es. > >>> These bootloader areas can be created with LVM 2.02.99 and the > >>> --bootloaderareasize argument to pvcreate and vgconvert. > >>> I tested it in QEMU, installing to and booting a disk that contains a= PV > >>> and no partition table. > >>> > >> This is not how the use of this area was imagined. There are couple of > >> subtleties which your patch didn't take in account. > >> Currently there is joint developpement with LVM guys but it wasn't > >> published yet. > >=20 > > For anyone else who may be interested, apparently patches exist and are > > waiting for Peter Rajnoha to finish them. They haven't been posted or > > discussed publicly and I've never seen them. > >=20 > > According to Vladimir: > >> the zone will be subdivided to cover more cases and the agreement was > > to use "pvs" to get offsets rather than having own code for this > >=20 > > As shipped in 2.02.99, pvs exposes exactly one ba_start/ba_size area. > > Other areas will have to use extra extension fields and extra fields in > > the pvs output, to be compatible with released versions of LVM. > No, you didn't understand: this area will have another header, GRUB one > which will subdivide it. LVM gives us area and we take care of subdivisio= n. Is it something specific for LVM? Or useable in all other cases when grub currently does embedding? > > Parsing pvs output would be easy, and will behave exactly the same as > > this patch. > >=20 >=20 > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >=20 >=20 >=20 --Sig_/iw9_kA.11GlHuTnlcWsKH/G Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJFlbsACgkQR6LMutpd94wQ1wCcCtjFrLa9eHoGVtwn1quaGRCR 3bAAoKQomIanCArXbQIvq7fx2k1KaqLB =AySm -----END PGP SIGNATURE----- --Sig_/iw9_kA.11GlHuTnlcWsKH/G--