From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YMwkB-00009a-IT for mharc-grub-devel@gnu.org; Sun, 15 Feb 2015 05:48:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMwk5-00008w-Fl for grub-devel@gnu.org; Sun, 15 Feb 2015 05:48:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMwk0-0008BA-6H for grub-devel@gnu.org; Sun, 15 Feb 2015 05:48:01 -0500 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:57891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMwjz-0008Ax-Ue for grub-devel@gnu.org; Sun, 15 Feb 2015 05:47:56 -0500 Received: by mail-lb0-f178.google.com with SMTP id w7so22510890lbi.9 for ; Sun, 15 Feb 2015 02:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=3/bgxXfXbCG4PY6rgAiDtLF1/l3Aga2DKkRwT93x2Bg=; b=qMVG1anSwpEzjiO5t6RFS5syuMZxtizXr11fiozESWO/gulVXroMZ34V+VFl6nfVxh DzqAW9A1Dh+821/fZ9c9WyWr+8+DpoBbj9jKliMThSNOAdSwTOvaxCpnwz8zZ4XVvEdn V0XeIxE9NZQ9NP8S91bxGklYuJt6/68qXw2KABdowDPoZ1Ir9khRKKmGfBbf7VEKOaZc DMheSWZWou+x0tC+z7I3Ckqk3eRXu8BV8p6qfyANmLqXGAf/Jn7ia068ECGCIrUwDFWG 44Ie0/AS1hKvl9qLVSCZ2zCBGQjcfQis/tFKuwXWGBSHWOHk9kk8BDk4CcM4f5eG9Tfj eQXw== X-Received: by 10.152.245.38 with SMTP id xl6mr8674055lac.68.1423997274791; Sun, 15 Feb 2015 02:47:54 -0800 (PST) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id kz6sm2355455lbc.19.2015.02.15.02.47.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Feb 2015 02:47:53 -0800 (PST) Date: Sun, 15 Feb 2015 13:47:51 +0300 From: Andrei Borzenkov To: Vladimir =?UTF-8?B?J8+GLWNvZGVyL3BoY29kZXIn?= Serbinenko Subject: Re: [PATCH] Install to LVM PVs Message-ID: <20150215134751.4d4568ee@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.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/SV71i_gHuY+L_wL7.zPRH+6"; 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:c04::232 Cc: grub-devel@gnu.org 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: Sun, 15 Feb 2015 10:48:06 -0000 --Sig_/SV71i_gHuY+L_wL7.zPRH+6 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. Did anything happen with it? Do you have any pointers to suggested design? > > 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_/SV71i_gHuY+L_wL7.zPRH+6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlTgeVcACgkQR6LMutpd94xA4wCcDbPxVCjt47QWTn59yLoo4To9 BLEAnRcCkBGR0mIxCpxmHL3rSU/qy1q8 =LUSo -----END PGP SIGNATURE----- --Sig_/SV71i_gHuY+L_wL7.zPRH+6--