From owner-freebsd-geom@FreeBSD.ORG Sun Mar 11 09:35:33 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2226106566C; Sun, 11 Mar 2012 09:35:32 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id EEF1A8FC0A; Sun, 11 Mar 2012 09:35:31 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward3.mail.yandex.net (Yandex) with ESMTP id 71D75B4281A; Sun, 11 Mar 2012 13:35:30 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331458530; bh=3YYJgKyn5CwSS2ZzLlUPB1B9ZKAGD9bM64gkEofebkM=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type; b=SKynOEaxvJxw59cLJ9faJuToAtFYbrenmbmpw5FWALPsBN+Bwhrb/l4gO/yM1nQ1j gz9I4rJn5Z0SfvNe2rigEYoq29RPmqoG9feHlEmbNTqEf+8fKIsxyPQVmHoyE/CdLc mJ0JWIriuC0EBTgT0OhjzWLKfup+bMfGphF4Hg0o= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 49DADE2057D; Sun, 11 Mar 2012 13:35:30 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331458530; bh=3YYJgKyn5CwSS2ZzLlUPB1B9ZKAGD9bM64gkEofebkM=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type; b=SKynOEaxvJxw59cLJ9faJuToAtFYbrenmbmpw5FWALPsBN+Bwhrb/l4gO/yM1nQ1j gz9I4rJn5Z0SfvNe2rigEYoq29RPmqoG9feHlEmbNTqEf+8fKIsxyPQVmHoyE/CdLc mJ0JWIriuC0EBTgT0OhjzWLKfup+bMfGphF4Hg0o= Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZTv4dxm8-ZTvmEMq2; Sun, 11 Mar 2012 13:35:29 +0400 X-Yandex-Spam: 1 Message-ID: <4F5C71DC.3010203@yandex.ru> Date: Sun, 11 Mar 2012 13:35:24 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-current , freebsd-geom@FreeBSD.org X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3E19C24C88F540DDF68B2096" Cc: Subject: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 09:35:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3E19C24C88F540DDF68B2096 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hi, All i wrote GEOM_PART_LDM class. It provides basic support of Logical Disk Ma= nager partitioning scheme [1]. Since LDM metadata is not documented i used seve= ral articles found in the web and linux implementation as reference [2]. Only generic volumes is supported. Spanned, striped and raid5 configurations aren't implemented. Mirrored volumes also are not shown by= default, but they can be accessed when kern.geom.part.ldm.show_mirrors=3D1 (by you= r own risk). Currently only LDM on top of MBR is supported. Also only "gpart destroy" = is allowed with LDM scheme. you can compile class without patching, the source code is here: http://people.freebsd.org/~ae/LDM/ [1] http://en.wikipedia.org/wiki/Logical_Disk_Manager [2] http://fxr.watson.org/fxr/source/fs/partitions/?v=3Dlinux-2.6 Example: /* da1 and da2 disks without geom_part_ldm module */ # gpart show da1 da2 =3D> 63 104857537 da1 MBR (50G) 63 1985 1 ms-ldm-data (992k) 2048 204800 2 ms-ldm-data [active] (100M) 206848 104648704 3 ms-ldm-data (49G) 104855552 2048 - free - (1.0M) =3D> 32 2097120 da2 MBR (1.0G) 32 31 - free - (15k) 63 2095041 1 ms-ldm-data (1G) 2095104 2048 - free - (1.0M) # kldload ./geom_part_ldm.ko # gpart show da1 da2 =3D> 63 104855489 da1 LDM (50G) 63 1985 - free - (992k) 2048 204800 1 ntfs (100M) 206848 104648704 2 ntfs (49G) =3D> 63 2095041 da2 LDM (1.0G) 63 65 - free - (32k) 128 1024000 1 ntfs (500M) 1024128 1067008 2 ntfs (521M) 2091136 3968 - free - (2M) --=20 WBR, Andrey V. Elsukov --------------enig3E19C24C88F540DDF68B2096 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJPXHHhAAoJEAHF6gQQyKF6BIIH/1Rq30YX83eR+4+1i4IRYF8I BBAsMEblYUArNkNJ+tE+El0sxSDHHYAVusR54+jTpXw8/EjHbrjaEppF+6yZZcNg kGMZo7wiHg5ajJynjR2OritM/qP+8a4Rs1koOkVeOT1UBsOcE299JtAa5REDWkxl CKbu60KSm8M3xCE8/BqfRqLTk7VVGPzItRUJqkGsESph73rlAeG2ju873JlBcmDa bltifVx4DB19ZH7NbuelAgT8XY5RRw6593B6q3/ip8/j1mnSV/z3rgCuyfDbLrpc GhgT0U7vsFJWaU3I+yeu6RDeTVSm5K2uifK5nzFMWvUn8W3d+n87nR4I4+kcivo= =/jHf -----END PGP SIGNATURE----- --------------enig3E19C24C88F540DDF68B2096-- From owner-freebsd-geom@FreeBSD.ORG Sun Mar 11 16:30:44 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8015106566C for ; Sun, 11 Mar 2012 16:30:44 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6D98FC0A for ; Sun, 11 Mar 2012 16:30:44 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0M0Q002008F1RR00@smtpauth1.wiscmail.wisc.edu> for freebsd-geom@FreeBSD.org; Sun, 11 Mar 2012 10:30:37 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.73.151]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0M0Q00MHX8F0JC00@smtpauth1.wiscmail.wisc.edu> for freebsd-geom@FreeBSD.org; Sun, 11 Mar 2012 10:30:37 -0500 (CDT) Date: Sun, 11 Mar 2012 10:30:35 -0500 From: Nathan Whitehorn To: freebsd-geom@FreeBSD.org Message-id: <4F5CC51B.4010004@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.73.151 X-Spam-PmxInfo: Server=avs-15, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.3.11.151815, SenderIP=76.210.73.151 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120212 Thunderbird/10.0 X-Mailman-Approved-At: Sun, 11 Mar 2012 18:00:09 +0000 Cc: Subject: Replacing sade with bsdinstall's partedit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 16:30:44 -0000 I was wondering how people would feel about replacing sade in -CURRENT with the partition editor utility from bsdinstall. It provides similar functionality to sade, but with the addition of supporting GPT, working on non-x86 platforms, etc. It would also keep things more in sync with the installer. If you want to test it, the following will work on either -CURRENT or 9.0: rm /usr/sbin/sade ln -s /usr/libexec/bsdinstall/partedit /usr/sbin/sade -Nathan From owner-freebsd-geom@FreeBSD.ORG Sun Mar 11 19:31:32 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58624106564A; Sun, 11 Mar 2012 19:31:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1F44F8FC0C; Sun, 11 Mar 2012 19:31:32 +0000 (UTC) Received: by dald2 with SMTP id d2so4556729dal.13 for ; Sun, 11 Mar 2012 12:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Vz50eMuWhrioL0HIUk+Mka4sAeRBjhGh1LVTzsN3uYo=; b=lknCiJB7eAlaifQJA824AnUbn/MUQt1KF/xGhjkC/JbziEyTROL9VZxOR3EF0tk1hC ML4QJg7UPWoZraDRMzXr08TVVGC6pcLzfRsgpJVQ8OxduZ0j01uIx1vK3BZT1Z+8aySz FwEJ49WZtHwyJ01s3wX/XH65x39TglpoRY5bAb1ruusKAIJce1aynlGyCZOuFZSi6G6+ w8xlsNfV5vW1pLpjPYpKEBFuzUlloEtgFwQmL9Fn/6yPbIQgrsIE3fgtbES1ZirbgPTK q2OhOZ0iEPzs7u73LyDFsUdp4gj9yaqBg78c8es61lMqIXo7aJDHOZd8OpQUmsRKemBv NdPA== MIME-Version: 1.0 Received: by 10.68.225.104 with SMTP id rj8mr15199225pbc.135.1331494291756; Sun, 11 Mar 2012 12:31:31 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Sun, 11 Mar 2012 12:31:31 -0700 (PDT) In-Reply-To: <4F5C71DC.3010203@yandex.ru> References: <4F5C71DC.3010203@yandex.ru> Date: Sun, 11 Mar 2012 12:31:31 -0700 X-Google-Sender-Auth: s4gH0MYreRHnEKR2cu_Pt4ORdlI Message-ID: From: Adrian Chadd To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , freebsd-geom@freebsd.org Subject: Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 19:31:32 -0000 This is awesome! Is it just read-only, or does it allow creation/destruction of LDM volumes? Adrian 2012/3/11 Andrey V. Elsukov : > Hi, All > > i wrote GEOM_PART_LDM class. It provides basic support of Logical Disk Ma= nager > partitioning scheme [1]. Since LDM metadata is not documented i used seve= ral > articles found in the web and linux implementation as reference [2]. > Only generic volumes is supported. Spanned, striped and raid5 > configurations aren't implemented. Mirrored volumes also are not shown by= default, > but they can be accessed when kern.geom.part.ldm.show_mirrors=3D1 (by you= r own risk). > > Currently only LDM on top of MBR is supported. Also only "gpart destroy" = is allowed > with LDM scheme. > > you can compile class without patching, the source code is here: > http://people.freebsd.org/~ae/LDM/ > > [1] http://en.wikipedia.org/wiki/Logical_Disk_Manager > [2] http://fxr.watson.org/fxr/source/fs/partitions/?v=3Dlinux-2.6 > > Example: > /* da1 and da2 disks without geom_part_ldm module */ > # gpart show da1 da2 > =3D> =A0 =A0 =A0 63 =A0104857537 =A0da1 =A0MBR =A0(50G) > =A0 =A0 =A0 =A0 63 =A0 =A0 =A0 1985 =A0 =A01 =A0ms-ldm-data =A0(992k) > =A0 =A0 =A0 2048 =A0 =A0 204800 =A0 =A02 =A0ms-ldm-data =A0[active] =A0(1= 00M) > =A0 =A0 206848 =A0104648704 =A0 =A03 =A0ms-ldm-data =A0(49G) > =A0104855552 =A0 =A0 =A0 2048 =A0 =A0 =A0 - free - =A0(1.0M) > > =3D> =A0 =A0 32 =A02097120 =A0da2 =A0MBR =A0(1.0G) > =A0 =A0 =A0 32 =A0 =A0 =A0 31 =A0 =A0 =A0 - free - =A0(15k) > =A0 =A0 =A0 63 =A02095041 =A0 =A01 =A0ms-ldm-data =A0(1G) > =A02095104 =A0 =A0 2048 =A0 =A0 =A0 - free - =A0(1.0M) > > # kldload ./geom_part_ldm.ko > # gpart show da1 da2 > =3D> =A0 =A0 =A0 63 =A0104855489 =A0da1 =A0LDM =A0(50G) > =A0 =A0 =A0 =A0 63 =A0 =A0 =A0 1985 =A0 =A0 =A0 - free - =A0(992k) > =A0 =A0 =A0 2048 =A0 =A0 204800 =A0 =A01 =A0ntfs =A0(100M) > =A0 =A0 206848 =A0104648704 =A0 =A02 =A0ntfs =A0(49G) > > =3D> =A0 =A0 63 =A02095041 =A0da2 =A0LDM =A0(1.0G) > =A0 =A0 =A0 63 =A0 =A0 =A0 65 =A0 =A0 =A0 - free - =A0(32k) > =A0 =A0 =A0128 =A01024000 =A0 =A01 =A0ntfs =A0(500M) > =A01024128 =A01067008 =A0 =A02 =A0ntfs =A0(521M) > =A02091136 =A0 =A0 3968 =A0 =A0 =A0 - free - =A0(2M) > > -- > WBR, Andrey V. Elsukov > From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 00:28:01 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CE1B106566B; Mon, 12 Mar 2012 00:28:01 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5038FC0A; Mon, 12 Mar 2012 00:28:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C0S11T044405; Mon, 12 Mar 2012 00:28:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C0S1LX044401; Mon, 12 Mar 2012 00:28:01 GMT (envelope-from linimon) Date: Mon, 12 Mar 2012 00:28:01 GMT Message-Id: <201203120028.q2C0S1LX044401@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/165745: [geom] geom_multipath page fault on removed drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 00:28:01 -0000 Old Synopsis: geom_multipath page fault on removed drive New Synopsis: [geom] geom_multipath page fault on removed drive Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 12 00:27:44 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=165745 From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 04:17:35 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A8761065677; Mon, 12 Mar 2012 04:17:35 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id 983D08FC0A; Mon, 12 Mar 2012 04:17:34 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward3.mail.yandex.net (Yandex) with ESMTP id E712CB41A7B; Mon, 12 Mar 2012 08:17:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331525853; bh=yiGunh0osgEgqQRaG0pHhvv+otyDDxtYX73hcUOjTJ4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Nmt0vA1NqlGD2L5z02ZkLRB9maZMSWST+LfE5hjCKiqu64O/Oz7MueZ8Dr5C9ziqH vpo14qxK6s1rO62S6NyI1jxIdul2wgzoXegN0cZpbLsqkzjXwRSFV/q08xCgzDaCMg spDesfqhpcFYDYqmQfR8Q6aVFPUYhzUbZJv5/uhA= Received: from smtp1.mail.yandex.net (localhost [127.0.0.1]) by smtp1.mail.yandex.net (Yandex) with ESMTP id B204DAA03BC; Mon, 12 Mar 2012 08:17:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331525852; bh=yiGunh0osgEgqQRaG0pHhvv+otyDDxtYX73hcUOjTJ4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Vcba2RX/mjPw+gvZhuoshHveed6aUFBUAt3RqMPUqxYMuCXe6ZdRWw0coD+Hnam86 MYMPDpLa5lxF47yEr1bHNLKNgU0RQFvJSpZJ3taPlojxn2i7EGrN31YzpMmu3U7oi3 TcAzGaXRCuq1aYF4zj9biPplY6KTLj/kRKbyE3EQ= Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by smtp1.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HVSaPIwG-HWSasgsD; Mon, 12 Mar 2012 08:17:32 +0400 X-Yandex-Spam: 1 Message-ID: <4F5D78D7.5030003@yandex.ru> Date: Mon, 12 Mar 2012 08:17:27 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Adrian Chadd References: <4F5C71DC.3010203@yandex.ru> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current , freebsd-geom@freebsd.org Subject: Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 04:17:35 -0000 On 11.03.2012 23:31, Adrian Chadd wrote: > This is awesome! > > Is it just read-only, or does it allow creation/destruction of LDM volumes? It is read-only, but you can partially destroy LDM metadata on given disk. LDM keeps information about all volumes on each disk, and i guess windows can recover destroyed metadata. It is targeted to get access to some windows partitions. Actually, it is possible make better LDM support in conjunction with GEOM_RAID, but i think we don't need it :) -- WBR, Andrey V. Elsukov From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 07:28:13 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D92106567B; Mon, 12 Mar 2012 07:28:13 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B8B58FC17; Mon, 12 Mar 2012 07:28:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C7SDvv043730; Mon, 12 Mar 2012 07:28:13 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C7SDD7043716; Mon, 12 Mar 2012 07:28:13 GMT (envelope-from linimon) Date: Mon, 12 Mar 2012 07:28:13 GMT Message-Id: <201203120728.q2C7SDD7043716@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/165573: [geom] Strange behavior of geom_part_* modules X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 07:28:13 -0000 Old Synopsis: Strange behavior of geom_part_* modules New Synopsis: [geom] Strange behavior of geom_part_* modules Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 12 07:28:00 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=165573 From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 07:49:54 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64CA7106566B; Mon, 12 Mar 2012 07:49:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 328A58FC0A; Mon, 12 Mar 2012 07:49:54 +0000 (UTC) Received: by dald2 with SMTP id d2so5341311dal.13 for ; Mon, 12 Mar 2012 00:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Tj6m0ht7deYOWII6g7HnCB7kmN5Iinsr41qF5J8cgC4=; b=ArG7mLO+GdLWF8HuV4VrHjSGH4Yc2nP+DkQDyj7RGmEVCKZo56FGRt7RaIq/slhH0e oZHBB7bZjPmPsmmOFoODQbTnfLxJRKyqAofiS8v9aou7Ze/z5uRoXeBFuw3Y7pdZsk4b aWejTNA3PGrd6LTyBQSLH3crTFhj8gdNr+iaEMnH+p7X/mabIEsIPfeoiIA6UBJn3Hd8 B5kOVpuRBZFb8mxZ3pzmGktZU3Kb/ltd2RSHUXKqSbrAqeXOiDiaEXipLwscsoti25g9 vWFPavvyPic7pKyrjDTpkFNmk+yBPXCj0SJ0hZIOadpzessNA/djgRCiVC/rwvn5KlZw dgPw== MIME-Version: 1.0 Received: by 10.68.232.2 with SMTP id tk2mr339206pbc.68.1331538593952; Mon, 12 Mar 2012 00:49:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Mon, 12 Mar 2012 00:49:53 -0700 (PDT) In-Reply-To: <4F5D78D7.5030003@yandex.ru> References: <4F5C71DC.3010203@yandex.ru> <4F5D78D7.5030003@yandex.ru> Date: Mon, 12 Mar 2012 00:49:53 -0700 X-Google-Sender-Auth: cDfbcKgO0_-AQBhx23p3N_ibf7g Message-ID: From: Adrian Chadd To: "Andrey V. Elsukov" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , freebsd-geom@freebsd.org Subject: Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 07:49:54 -0000 2012/3/11 Andrey V. Elsukov : > On 11.03.2012 23:31, Adrian Chadd wrote: >> This is awesome! >> >> Is it just read-only, or does it allow creation/destruction of LDM volumes? > > It is read-only, but you can partially destroy LDM metadata on given disk. > LDM keeps information about all volumes on each disk, and i guess windows > can recover destroyed metadata. It is targeted to get access to some windows > partitions. Actually, it is possible make better LDM support in conjunction > with GEOM_RAID, but i think we don't need it :) Hah, I wouldn't say no to being able to modify (correctly) LDM metadat.a i'd also love to see say, read/write Linux LVM support, but that's just me. GEOM people: any chance of getting a review of this? Adrian > > -- > WBR, Andrey V. Elsukov From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 08:13:12 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 992401065789; Mon, 12 Mar 2012 08:13:12 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [IPv6:2a02:6b8:0:602::4]) by mx1.freebsd.org (Postfix) with ESMTP id 04FDC8FC16; Mon, 12 Mar 2012 08:13:12 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward4.mail.yandex.net (Yandex) with ESMTP id 87BC5502509; Mon, 12 Mar 2012 12:13:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331539990; bh=SavYCGCWWNGULgei1hxKcOijwU5NF4FYhF19rrhZh6E=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=cTVyTQKZ4BYoEO3x+4vPcAUpsMALzo8FZd9oTvOE9dygddvZAWR7budb9NI0+1w84 aRoggS1CJjVmzDoKsLxVxo/yVBPqkWbTBPigC6qtCb14/p78x60JqhOOUyv48Xj+Jt f2hmxtnK1llisz1baUlBf0gb7sAMdzzt7qK2kkn0= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 5311DE20400; Mon, 12 Mar 2012 12:13:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1331539990; bh=SavYCGCWWNGULgei1hxKcOijwU5NF4FYhF19rrhZh6E=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=cTVyTQKZ4BYoEO3x+4vPcAUpsMALzo8FZd9oTvOE9dygddvZAWR7budb9NI0+1w84 aRoggS1CJjVmzDoKsLxVxo/yVBPqkWbTBPigC6qtCb14/p78x60JqhOOUyv48Xj+Jt f2hmxtnK1llisz1baUlBf0gb7sAMdzzt7qK2kkn0= Received: from ns.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id D9v4j21j-D9vqhqmP; Mon, 12 Mar 2012 12:13:09 +0400 X-Yandex-Spam: 1 Message-ID: <4F5DB015.1030701@yandex.ru> Date: Mon, 12 Mar 2012 12:13:09 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Adrian Chadd References: <4F5C71DC.3010203@yandex.ru> <4F5D78D7.5030003@yandex.ru> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current , freebsd-geom@freebsd.org Subject: Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 08:13:12 -0000 On 12.03.2012 11:49, Adrian Chadd wrote: >> partitions. Actually, it is possible make better LDM support in conjunction >> with GEOM_RAID, but i think we don't need it :) > > Hah, I wouldn't say no to being able to modify (correctly) LDM metadat.a > > i'd also love to see say, read/write Linux LVM support, but that's just me. We have geom_linux_lvm, doesn't it work for you? -- WBR, Andrey V. Elsukov From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 11:07:11 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFC821065673 for ; Mon, 12 Mar 2012 11:07:11 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B46118FC23 for ; Mon, 12 Mar 2012 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CB7B7i072329 for ; Mon, 12 Mar 2012 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CB7B6m072327 for freebsd-geom@FreeBSD.org; Mon, 12 Mar 2012 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2012 11:07:11 GMT Message-Id: <201203121107.q2CB7B6m072327@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 11:07:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165745 geom [geom] geom_multipath page fault on removed drive o kern/165573 geom [geom] Strange behavior of geom_part_* modules o kern/165428 geom [glabel][patch] Add xfs support to glabel o kern/164254 geom [geom] gjournal not stopping on GPT partitions o kern/164252 geom [geom] gjournal overflow o kern/164143 geom [geom] Partition table not recognized after upgrade R8 a kern/163020 geom [geli] [patch] enable the Camellia-XTS on GEOM ELI o kern/162010 geom [geli] panic: Provider's error should be set (error=0) o kern/161979 geom [geom] glabel doesn't update after newfs, and glabel s o kern/161752 geom [geom] glabel(8) doesn't get gpt label change o bin/161677 geom gpart(8) Probably bug in gptboot o kern/160562 geom [geom][patch] Allow to insert new component to geom_ra o kern/160409 geom [geli] failed to attach provider f kern/159595 geom [geom] [panic] panic on gmirror unload in vbox [regres p kern/158398 geom [headers] [patch] includes o kern/158197 geom [geom] geom_cache with size>1000 leads to panics o kern/157879 geom [libgeom] [regression] ABI change without version bump o kern/157863 geom [geli] kbdmux prevents geli passwords from being enter o kern/157739 geom [geom] GPT labels with geom_multipath o kern/157724 geom [geom] gpart(8) 'add' command must preserve gap for sc o kern/157723 geom [geom] GEOM should not process 'c' (raw) partitions fo o kern/157108 geom [gjournal] dumpon(8) fails on gjournal providers o kern/155994 geom [geom] Long "Suspend time" when reading large files fr o kern/154226 geom [geom] GEOM label does not change when you modify them o kern/150858 geom [geom] [geom_label] [patch] glabel(8) is not compatibl o kern/150626 geom [geom] [gjournal] gjournal(8) destroys label o kern/150555 geom [geom] gjournal unusable on GPT partitions o kern/150334 geom [geom] [udf] [patch] geom label does not support UDF o kern/149762 geom volume labels with rogue characters o bin/149215 geom [panic] [geom_part] gpart(8): Delete linux's slice via o kern/147667 geom [gmirror] Booting with one component of a gmirror, the o kern/145818 geom [geom] geom_stat_open showing cached information for n o kern/145042 geom [geom] System stops booting after printing message "GE o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error o kern/140352 geom [geom] gjournal + glabel not working o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o bin/131415 geom [geli] keystrokes are unregulary sent to Geli when typ o kern/131353 geom [geom] gjournal(8) kernel lock o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/127420 geom [geom] [gjournal] [panic] Journal overflow on gmirrore o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o bin/86388 geom [geom] [geom_part] periodic(8) daily should backup gpa o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. 73 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 11:24:12 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F51106564A; Mon, 12 Mar 2012 11:24:12 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id F3CB58FC17; Mon, 12 Mar 2012 11:24:11 +0000 (UTC) Received: by yenl9 with SMTP id l9so2855536yen.13 for ; Mon, 12 Mar 2012 04:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3I8gGqAaUCBKdNjELAPdUCA89ofqQSw+6THiRQ5P2Sw=; b=HKH+IYF3X9T09PZQK2wO2pf4lZxuij6m2Xync1CPBFoJViwjBwct0HxdMCPKY94VzC Q9opC0ynWURSD7sLVD8HUHbUhMHnlFIMI7GOIiCa9OIAy090HhnEB9ciSMAu8AtO6VD0 b8bvMMdl7UvhUt7Axmbg1yLzL0YLZ+TaECrfiDGurmQNjMQqvgUKO2v9cCCI6mPuF2kK F/adXwmF5hrNUHw4QyqfZuNAtRx6LVOnhBIqS4XiMoJkZ+ta1w3E8tpJjMhWdSOHXI/0 KTvlWmw9T9WcHnqfCvSgNQqFtNCZYjvGjYzKSFr13OctkOCJF8rXLvxhtgAiZ+DAPLyC u4qg== MIME-Version: 1.0 Received: by 10.236.197.103 with SMTP id s67mr13297594yhn.5.1331551451457; Mon, 12 Mar 2012 04:24:11 -0700 (PDT) Received: by 10.236.75.165 with HTTP; Mon, 12 Mar 2012 04:24:11 -0700 (PDT) In-Reply-To: References: <4F5C71DC.3010203@yandex.ru> <4F5D78D7.5030003@yandex.ru> Date: Mon, 12 Mar 2012 12:24:11 +0100 Message-ID: From: Oliver Pinter To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-geom@freebsd.org, "Andrey V. Elsukov" , freebsd-current Subject: Re: [RFC, RFT] LDM support (aka Windows Dynamic Volumes) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 11:24:12 -0000 On 3/12/12, Adrian Chadd wrote: > 2012/3/11 Andrey V. Elsukov : >> On 11.03.2012 23:31, Adrian Chadd wrote: >>> This is awesome! >>> >>> Is it just read-only, or does it allow creation/destruction of LDM >>> volumes? >> >> It is read-only, but you can partially destroy LDM metadata on given disk. >> LDM keeps information about all volumes on each disk, and i guess windows >> can recover destroyed metadata. It is targeted to get access to some >> windows >> partitions. Actually, it is possible make better LDM support in >> conjunction >> with GEOM_RAID, but i think we don't need it :) > > Hah, I wouldn't say no to being able to modify (correctly) LDM metadat.a > > i'd also love to see say, read/write Linux LVM support, but that's just me. > > GEOM people: any chance of getting a review of this? In NetBSD this feature already exists: http://www.netbsd.org/docs/guide/en/chap-lvm.html > > > Adrian > >> >> -- >> WBR, Andrey V. Elsukov > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-geom@FreeBSD.ORG Mon Mar 12 16:00:10 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5722A1065673; Mon, 12 Mar 2012 16:00:10 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 210008FC0A; Mon, 12 Mar 2012 16:00:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CG0AK7047391; Mon, 12 Mar 2012 16:00:10 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CG09iS047387; Mon, 12 Mar 2012 16:00:09 GMT (envelope-from nwhitehorn) Date: Mon, 12 Mar 2012 16:00:09 GMT Message-Id: <201203121600.q2CG09iS047387@freefall.freebsd.org> To: nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org, freebsd-geom@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/165789: bsdlabel(8): partition c doesn't cover the whole unit! X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 16:00:10 -0000 Synopsis: bsdlabel(8): partition c doesn't cover the whole unit! Responsible-Changed-From-To: freebsd-sysinstall->freebsd-geom Responsible-Changed-By: nwhitehorn Responsible-Changed-When: Mon Mar 12 15:59:39 UTC 2012 Responsible-Changed-Why: Reassign to GEOM group, since this is (probably) some problem with gpart. http://www.freebsd.org/cgi/query-pr.cgi?pr=165789 From owner-freebsd-geom@FreeBSD.ORG Tue Mar 13 04:46:42 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DA371065670; Tue, 13 Mar 2012 04:46:42 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 016AF8FC12; Tue, 13 Mar 2012 04:46:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2D4kfoO070949; Tue, 13 Mar 2012 04:46:41 GMT (envelope-from ae@freefall.freebsd.org) Received: (from ae@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2D4kf4P070945; Tue, 13 Mar 2012 04:46:41 GMT (envelope-from ae) Date: Tue, 13 Mar 2012 04:46:41 GMT Message-Id: <201203130446.q2D4kf4P070945@freefall.freebsd.org> To: jguojun@sbcglobal.net, ae@FreeBSD.org, freebsd-geom@FreeBSD.org From: ae@FreeBSD.org Cc: Subject: Re: bin/165789: bsdlabel(8): partition c doesn't cover the whole unit! X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 04:46:42 -0000 Synopsis: bsdlabel(8): partition c doesn't cover the whole unit! State-Changed-From-To: open->feedback State-Changed-By: ae State-Changed-When: Tue Mar 13 04:45:45 UTC 2012 State-Changed-Why: Please, provide full list of commands to reproduce your problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=165789 From owner-freebsd-geom@FreeBSD.ORG Tue Mar 13 15:40:03 2012 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C11106564A for ; Tue, 13 Mar 2012 15:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A74048FC12 for ; Tue, 13 Mar 2012 15:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2DFe3Fd016847 for ; Tue, 13 Mar 2012 15:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2DFe3Ca016846; Tue, 13 Mar 2012 15:40:03 GMT (envelope-from gnats) Date: Tue, 13 Mar 2012 15:40:03 GMT Message-Id: <201203131540.q2DFe3Ca016846@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Alexander Motin Cc: Subject: Re: kern/165745: [geom] geom_multipath page fault on removed drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 15:40:03 -0000 The following reply was made to PR kern/165745; it has been noted by GNATS. From: Alexander Motin To: bug-followup@FreeBSD.org, wollman@csail.mit.edu Cc: Subject: Re: kern/165745: [geom] geom_multipath page fault on removed drive Date: Tue, 13 Mar 2012 17:37:28 +0200 New GEOM_MULTIPATH code was merged to 9-STABLE about two months ago. I believe that should fix your problem. -- Alexander Motin From owner-freebsd-geom@FreeBSD.ORG Thu Mar 15 05:23:53 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5952106566B for ; Thu, 15 Mar 2012 05:23:53 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 46D118FC08 for ; Thu, 15 Mar 2012 05:23:52 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so6721285wib.13 for ; Wed, 14 Mar 2012 22:23:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=P3KHYaTWBYPr50xGIJw/egsIZ8cZyjL8B17vl03X5FA=; b=NU5gzzQ+yRZuvJjXXcIFuUSiEUY+H7HSCS/mgIn4xMOdcpJHJLWIaHOmT/YmFM9JLG FqlrbF/2Hxb1RgP9Oi8r6v8xN5ocsT4bo7Yh0tZf3MAErNyXW1Ur8rsZ1MfDX4NufDFW jrX8gslkQfGo89c8ViNJvcVHrmTG+XAFT/80CsjcIVIdVEoWXZPTOfSWNKhVhjTGRtEN zmM4g0WymBo+diSubApwpN+U/DgCWIxOVzu//KWYAsRFwtgrcR91kiWUIMuDDNBLZ8ti U9Wn80yi03bAZhe8RQEmoaEQNaUJBUwWV9B/UNwHHVN+LktpDCl7EWW4thiajxXvIoJ+ QMNg== Received: by 10.216.134.155 with SMTP id s27mr3591586wei.80.1331789032153; Wed, 14 Mar 2012 22:23:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.96.231 with HTTP; Wed, 14 Mar 2012 22:23:32 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Wed, 14 Mar 2012 22:23:32 -0700 Message-ID: To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlZUuktjKuEk5OFMYebz7saihvoKDSx0ZmfEPK8nZ9FieTH+ugtZK6gxEW5lTWOYc0MlAon Subject: Re: libgeom's use of kernel pointer identifiers / proper internalization of opaque strings X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 05:23:53 -0000 Hello again, I haven't gotten any feedback on this problem in the last 10 days and at this point think the path I took is the best one forward at this time. It's my plan to commit in the near future (within a few days, I suppose) unless anyone has an objection. If anyone wants to give it a review or if multiple people decide to test it on their systems, I'd be happy to commit earlier. Thanks, Juli. On Sun, Mar 4, 2012 at 21:32, Juli Mallett wrote: > Hey folks, > > libgeom assumes that the id and ref parameters from the kernel can be > represented as userland pointers. =C2=A0This is certainly handy in terms = of > making the pointer substitution that occurs straightforward, but it > breaks running a 32-bit libgeom on a 64-bit kernel where the first > 32-bits of the kernel pointers are identical and non-zero. =C2=A0It seems > to me that using strtoumax and uintmax_t for the opaque identifiers > and making the pointers separate fields will give better behavior in > general (no crashes on unresolved references in the kernel due to > someone forgetting to properly declare a class) and also fix this > problem. > > If that is undesirable, then using gident to do internalization on the > fly either using strtoumax or using the strings directly might be > better. =C2=A0Here's a rough cut of using the strings to do internalizati= on > which I've tested and believe can be committed. =C2=A0If anyone feels lik= e > reviewing it or suggesting a better fix to libgeom, I'd be happy to > hear it. > > http://people.freebsd.org/~jmallett/internalize-libgeom-ids.diff > > CCing Nathan W. who does not see this problem on PowerPC64, but I > suspect could under the right circumstances. > > Thanks, > Juli. > > PS: Please CC me as I am not subscribed to the list. =C2=A0And if you thi= nk > the patch is great, just commit me. =C2=A0I don't really want to touch > libgeom. From owner-freebsd-geom@FreeBSD.ORG Fri Mar 16 23:35:29 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6643F1065670 for ; Fri, 16 Mar 2012 23:35:29 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from nm3-vm3.bullet.mail.ne1.yahoo.com (nm3-vm3.bullet.mail.ne1.yahoo.com [98.138.91.133]) by mx1.freebsd.org (Postfix) with SMTP id 1C7BA8FC08 for ; Fri, 16 Mar 2012 23:35:28 +0000 (UTC) Received: from [98.138.226.178] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 16 Mar 2012 23:32:07 -0000 Received: from [68.142.200.224] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 16 Mar 2012 23:32:07 -0000 Received: from [66.94.237.112] by t5.bullet.mud.yahoo.com with NNFMP; 16 Mar 2012 23:32:07 -0000 Received: from [127.0.0.1] by omp1017.access.mail.mud.yahoo.com with NNFMP; 16 Mar 2012 23:32:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 320515.81244.bm@omp1017.access.mail.mud.yahoo.com Received: (qmail 35827 invoked by uid 60001); 16 Mar 2012 23:32:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1331940727; bh=FYC21HcY7Pm/bqQT3QQ3krT/4RMyWPPo5jlrYQv87Rk=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=GqfQbC7BW/0IT6AvkI4VtGYhfU5NidRZqrDsHkVr8qgrsS8Ct4iOZSIZokvW2EMiFt3nUAZZx1FQmlijMLUoGci3GECkGs1xC5mlrgFFp8D/+QBN74urT3tjRV9XqY1I66fFH4BJ/8mnQhRnQ4c6YTP986qvHDurvt3uuwpBmTQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=DmUsG7eekxC5eiy8B+POuSvIb2XMwK/21gSN2RfMLTHSKLW6lUDSd7hjuxgS3509JFtUeQK6HIWE3K74xBbnRvdVY0hvmUC+OyW75RoP3iKpAtOlTJWk9g0nVI5QiBRcZBYWqUhnIquaqJC4s5Ib0cilhuutnvT0++ORxcW+xUg=; X-YMail-OSG: FL0g4twVM1m3HZF6_na0gEK2F9GJw2jDK07NSPe6X7fOpId .R4we6A4_5CCX8k91gQvr57kFIDOVDHkqRM6beGfXo3YOleBixtWUY1zGIMK 0GRhd.p5cxrz5nZQX.3nnAMKPZPbhFaoUoTw902_DE5CGsOiHJ0f6.8v7bsP MFKy5sIaxhH54Mr8Lx3xmUbcutTu4xDwCXn8hGnOSzwaYDj2VvcIRCvyn6ik 0JElUpvuGBflJS5Td6mxAQQabLHD4IRfm0L24I38Rqtcqoyshv_OzkBm4IxG RsxgZOGKQVqkxeHowhBPNT57Zfz3XM5VMvSBIU8OnMB5zMNCkHDllITkk1YH bDmQw9kFjknf9_Sp0g7EcK.rv7Hj0Xzn3puaCztT_L0qK8oDFpvUqAicsaqh RIAWDVT7HmGO0cxNxmpc3U8Y.dW9uGkDQ79qGNzSYKJwl5gnOhKOjHIqt0UU hC0XciNr.KDn6IQmV6BPyWJbNef3UBF8pZKTudRNnTw-- Received: from [199.106.103.54] by web82207.mail.mud.yahoo.com via HTTP; Fri, 16 Mar 2012 16:32:06 PDT X-Mailer: YahooMailClassic/15.0.5 YahooMailWebService/0.8.116.338427 Message-ID: <1331940726.24111.YahooMailClassic@web82207.mail.mud.yahoo.com> Date: Fri, 16 Mar 2012 16:32:06 -0700 (PDT) From: Jin Guojun To: ae@FreeBSD.org, freebsd-geom@FreeBSD.org In-Reply-To: <201203130446.q2D4kf4P070945@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: bin/165789: bsdlabel(8): partition c doesn't cover the whole unit! X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 23:35:29 -0000 Using any USB or ATA drive attached to a 8-3 system -- this is destructive = !!! run sysintall go to Custom sub-MENU =A0=A0 go to 3 Partition =A0=A0=A0=A0=A0=A0 create one partition (Slice) with partial disk space =A0=A0=A0=A0=A0=A0 create another partition with rest space =A0=A0=A0=A0=A0=A0 type Q to exit from this menu =A0=A0 go to 4 Label =A0=A0=A0=A0=A0=A0 allocate entire or partial space for a Unix partition fr= om each of two Disk Partitions (Slices) created above. Mount them on /mnt a= nd /dist (or /cdrom) or some existing mounting point. =A0=A0=A0=A0=A0=A0 type W to commit the jobs. =A0=A0=A0=A0=A0=A0 type Q to quit from this Menu Exit all the way back to system prompt (type X X), then type disklabel (bsd= label) on each Disk partition (usually called Slice, not the Unix partition= s). --- On Tue, 3/13/12, ae@FreeBSD.org wrote: From: ae@FreeBSD.org Subject: Re: bin/165789: bsdlabel(8): partition c doesn't cover the whole u= nit! To: jguojun@sbcglobal.net, ae@FreeBSD.org, freebsd-geom@FreeBSD.org Date: Tuesday, March 13, 2012, 4:46 AM Synopsis: bsdlabel(8): partition c doesn't cover the whole unit! State-Changed-From-To: open->feedback State-Changed-By: ae State-Changed-When: Tue Mar 13 04:45:45 UTC 2012 State-Changed-Why:=20 Please, provide full list of commands to reproduce your problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D165789