From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N5qf1-00080k-8D for garchives@archives.gentoo.org; Thu, 05 Nov 2009 00:57:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37EB7E0B7E; Thu, 5 Nov 2009 00:57:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0E99AE0B7E for ; Thu, 5 Nov 2009 00:57:10 +0000 (UTC) Received: from mail.isohunt.com (b01.ext.isohunt.com [208.71.112.51]) by smtp.gentoo.org (Postfix) with ESMTP id 53755677E2 for ; Thu, 5 Nov 2009 00:57:09 +0000 (UTC) Received: (qmail 23259 invoked from network); 5 Nov 2009 00:57:07 -0000 Received: from tsi-static.orbis-terrarum.net (HELO grubbs.orbis-terrarum.net) (76.10.188.108) by mail.isohunt.com (qpsmtpd/0.33-dev on beta01) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 05 Nov 2009 00:57:07 +0000 Received: (qmail 14054 invoked by uid 10000); 5 Nov 2009 00:57:06 -0000 Date: Thu, 5 Nov 2009 00:57:06 +0000 From: "Robin H. Johnson" To: gentoo-cluster@lists.gentoo.org Subject: Re: [gentoo-cluster] clvm/lvm2/device-mapper Message-ID: References: <513ABDE2-C29F-40C6-895D-11C7B39BC5BB@siesa.ch> <7D5D86B6-1465-435B-8662-2C591ADE4F3F@siesa.ch> <20091104211512.GA1145@orbis-terrarum.net> <058FB72E-F4BE-4931-ABDF-AA04E73FD12C@siesa.ch> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-cluster@lists.gentoo.org Reply-to: gentoo-cluster@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lqaZmxkhekPBfBzr" Content-Disposition: inline In-Reply-To: <058FB72E-F4BE-4931-ABDF-AA04E73FD12C@siesa.ch> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 8b54affa-1bc6-48c0-aacd-7a571e7425e2 X-Archives-Hash: 6b9150c97c0a4c2f81b627f8c4b57091 --lqaZmxkhekPBfBzr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 04, 2009 at 11:15:59PM +0100, David Ulrich wrote: > >I'm trying to get some access to a SAN mounted space elsewhere to > >test, so I can debug it further, should know later today if I can get > >access. Ok, I've reproduced it now. kpartx is picking the wrong starting device and offset for extended partitions. Looks like it's starting from sda4 but call= ing it dm-2. # sfdisk -qL -d /dev/sda=20 # partition table of /dev/sda unit: sectors /dev/sda1 : start=3D 128, size=3D 524288, Id=3D83, bootable /dev/sda2 : start=3D 524416, size=3D 10485760, Id=3D83 /dev/sda3 : start=3D 11010176, size=3D1453828654, Id=3D 5 /dev/sda4 : start=3D 0, size=3D 0, Id=3D 0 /dev/sda5 : start=3D 11010239, size=3D 50331713, Id=3D82 /dev/sda6 : start=3D 61342015, size=3D1403496815, Id=3D8e # kpartx -l /dev/sda sda1 : 0 524288 /dev/sda 128 sda2 : 0 10485760 /dev/sda 524416 sda3 : 0 1453828654 /dev/sda 11010176 sda5 : 0 50331713 /dev/dm-2 63 sda6 : 0 1403496815 /dev/dm-2 50331839 # cat /proc/partitions major minor #blocks name 8 0 732421120 sda 8 1 262144 sda1 8 2 5242880 sda2 8 3 1 sda3 8 5 25165856 sda5 8 6 701748407 sda6 253 0 5242880 dm-0 253 1 5242880 dm-1 253 2 20971520 dm-2 253 3 5242880 dm-3 253 4 52428800 dm-4 --=20 Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 --lqaZmxkhekPBfBzr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iEYEARECAAYFAkryIuIACgkQPpIsIjIzwizgHACgvhpf3qqFAl2Cv/skNvMzIkIQ dPYAniIh5mduw7E+mN5XJ7/LuXE3A4rj =8mRs -----END PGP SIGNATURE----- --lqaZmxkhekPBfBzr--