Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E86FCC7619A for ; Tue, 11 Apr 2023 06:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681195479; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-message-id: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=MEnlHxe1eOPzOaavAuUC4YRKcIomQP7NXIm7+327Su8=; b=NXaWRXLuz2hHs+x1NUC0oSfJU/jmIGRLNfhyfRCPxRKUKCuMNHi6h8xHAsoPwzNcs8Q/DC tqPwicrvLwOhwQYxL1Nyj2OXm4LKnRTf6cq+mxjtgJLcwQmLO7rP+8KenIVKbWDNr9r0nO vK+8s4tFjImbR2nPb79gAUiysMpBaUw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-401-xHbqJkU3NvyCfBQQWbwLEw-1; Tue, 11 Apr 2023 02:44:35 -0400 X-MC-Unique: xHbqJkU3NvyCfBQQWbwLEw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0CE828996E0; Tue, 11 Apr 2023 06:44:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A29C202701E; Tue, 11 Apr 2023 06:44:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E5F1E1946A67; Tue, 11 Apr 2023 06:44:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B679A1946586 for ; Sun, 9 Apr 2023 20:40:17 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 989F814171B7; Sun, 9 Apr 2023 20:40:17 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8FD461415308 for ; Sun, 9 Apr 2023 20:40:17 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 58E17101A531 for ; Sun, 9 Apr 2023 20:40:17 +0000 (UTC) Received: from havoc.proulx.com (havoc.proulx.com [198.99.81.74]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-133-52KsrKUEOhmWL5KEmgctVg-1; Sun, 09 Apr 2023 16:40:15 -0400 X-MC-Unique: 52KsrKUEOhmWL5KEmgctVg-1 Received: by havoc.proulx.com (Postfix, from userid 1027) id 698EB8DB; Sun, 9 Apr 2023 14:32:18 -0600 (MDT) Resent-From: Mailing List Manager Resent-Date: Sun, 9 Apr 2023 14:32:18 -0600 Resent-Message-ID: Resent-To: linux-lvm@redhat.com Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E4E2C1946586 for ; Sun, 9 Apr 2023 20:18:21 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9E4E51121315; Sun, 9 Apr 2023 20:18:21 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9713F1121314 for ; Sun, 9 Apr 2023 20:18:21 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7906480C8C1 for ; Sun, 9 Apr 2023 20:18:21 +0000 (UTC) Received: from sonic302-3.consmr.mail.bf2.yahoo.com (sonic302-3.consmr.mail.bf2.yahoo.com [74.6.135.42]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-665-UUnq_Ns5OmOBV6tcrcZIPQ-1; Sun, 09 Apr 2023 16:18:19 -0400 X-MC-Unique: UUnq_Ns5OmOBV6tcrcZIPQ-1 X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681071498; bh=zZWf4TU2kIWULMlKKhny2YUfgelJxtKXO+8gZfK294J=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=OlXnSPgvtQzmLZMpWg7DlkgXJuPSbF3tsywt81aftDg+jnG6O1egplha3ysLQ3WwSBn1N5xXK93UwTBxXoDiku8+0qfxhaS8VdPP666su4JlmJlL0BPvzBno1jjzOXgErAix/PCAfsXSMasWGK53d/0qcEuL/c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ezFwO1uR8zc9LMn2Ilt7P7Cq9OcRIm2v2I 5SR6vO39xGREYBwFrdQLVmiasfqBfsVJPvm1z1zZJazgzMP_5eAH5phFmLBqySvoISk9WxCVwpBk ZqpYyf75oVTtDu6o0nfYC8nzojc9fqvzsb6kbE3RKjJQzKgzdADxdj4p8RoXzK1qcL9u84W8cbvl gehTJA.h1JP6qd_dI1wwvECFiV5mE5o1rxgD1Qaq0yoOrVZHrY1mipw0d.0rqgiCHOk7KvV8zNiC uA_JjK0Liu5LphJPfPEX9RspNjWoP7lmqtViiomrr.WE2wCU0Pw-- X-Sonic-MF: X-Sonic-ID: b37c0faf-6431-4c78-ae8e-e50a59ced531 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Sun, 9 Apr 2023 20:18:18 +0000 Date: Sun, 9 Apr 2023 20:18:06 +0000 (UTC) From: matthew patton To: LVM general discussion and development Message-ID: <1043528017.520337.1681071486811@mail.yahoo.com> MIME-Version: 1.0 References: <1043528017.520337.1681071486811.ref@mail.yahoo.com> X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Listhelper-Id: 20230409142024-3117 X-Bogosity: Spam, tests=bogofilter, spamicity=1.000000, version=1.2.5 X-CRM114-Status: SPAM ( -7.10 ) X-Mimecast-Spam-Signature: yes X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mailman-Approved-At: Tue, 11 Apr 2023 06:44:28 +0000 Subject: Re: [linux-lvm] bug? shrink lv by specifying pv extent to be removed does not behave as expected X-BeenThere: linux-lvm@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: LVM general discussion and development Errors-To: linux-lvm-bounces@redhat.com Sender: "linux-lvm" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: yahoo.com Content-Type: multipart/mixed; boundary="===============7165792169999895701==" --===============7165792169999895701== Content-Type: multipart/alternative; boundary="----=_Part_520336_2028564037.1681071486810" ------=_Part_520336_2028564037.1681071486810 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >=C2=A0my plan is to scan a disk for usable sectors and map the logical vol= ume>=C2=A0around the broken sectors. 1977 called, they'd like their non-self-correcting HD controller implementa= tions back. >From a real-world perspective there is ZERO (more like negative) utility t= o this exercise. Controllers remap blocks all on their own and the so-calle= d geometry is entirely fictitious=C2=A0anyway. From a script/program "becau= se I want to" perspective you could leave LVM entirely out of it and just u= se a file with arbitrary offsets scribbled with a "bad" signature. ------=_Part_520336_2028564037.1681071486810 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> my = plan is to scan a disk for usable sectors and map the logical volume=
> <= span style=3D"font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">a= round the broken sectors.

1977 called, they'd like their non-se= lf-correcting HD controller implementations back.

From a real-world perspective there is ZERO (= more like negative) utility to this exercise. Controllers remap blocks all = on their own and the so-called geometry is entirely fictitious anyway.= From a script/program "because I want to" perspective you could leave LVM = entirely out of it and just use a file with arbitrary offsets scribbled wit= h a "bad" signature.
------=_Part_520336_2028564037.1681071486810-- --===============7165792169999895701== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ --===============7165792169999895701==--