From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-198702-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EB0EE15808B
	for <garchives@archives.gentoo.org>; Sat, 16 Apr 2022 01:43:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 567E0E0997;
	Sat, 16 Apr 2022 01:43:25 +0000 (UTC)
Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id EF847E0898
	for <gentoo-user@lists.gentoo.org>; Sat, 16 Apr 2022 01:43:23 +0000 (UTC)
Received: by mail-qk1-x731.google.com with SMTP id b189so7682905qkf.11
        for <gentoo-user@lists.gentoo.org>; Fri, 15 Apr 2022 18:43:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=subject:from:to:references:openpgp:autocrypt:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding;
        bh=sdcsZGH6rYoxf8G8rsG25hXFnkY7+OSI95eOwDr+MtE=;
        b=e+YzrEfjZ0FwQ+R3pgakTTverlpTzuI6NflV7PDCHPueT4BZiLlYZXA6EIxggBcP6/
         OXjYfolUhuc2OgZ2SRbASrjTuRk0XpbpJhEM34uMggILeWTpeKNsHUd2nJ3+tMXg+2jj
         KkUtW7xU3jGbL7V6YP4KF/T50dxHdEaIk0NtCYtxaI0jkXKPXlTqXpGO8PCkcjo1F91G
         2NIzlV3wxNMdRMa2319FCLQ5BPmotRuoJPAPE2zwdXvKUJQDlGdRNCJ02m61vTW7wTyh
         0CK0rju/tzSUIRoP+kyexlnWHcqtoSV+vS2UZxQp/uUnWtzQjDezJOIA8PbIaMLC29lb
         cPnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:subject:from:to:references:openpgp:autocrypt
         :message-id:date:user-agent:mime-version:in-reply-to
         :content-transfer-encoding;
        bh=sdcsZGH6rYoxf8G8rsG25hXFnkY7+OSI95eOwDr+MtE=;
        b=2dgp2ntqw7twiyog10YMgWxg4oEfRw74FKbY76xFXFzs0Z9Eud5wB7FZl4od3or22b
         LkepLZPr2/wR2Uy/S6T+bEjr332tBBjQCDUVEJYFmLGQM1wM6arodBqguwHqmwRJwGLO
         oE/vPhmvZE5TkexnzjLvnXgz9zyVUlTClfNtkFaceB/9HK14jV1E69W5+VIsYbu/J7H1
         vyvSUcAzlWmpyQlk89hVz4HWIu8cCUygAJxk2cq0XEHvolzvHDDca5/RmtqtgO7Siwsq
         1aPeVaI9rzgrFJaY99GVL6pR25Y8v1SZrRLR/A2WHVZ5qsO90XsCJG4Y1901stO+3Jge
         2GTA==
X-Gm-Message-State: AOAM531Ghy6oWVGWuI+5BPh9iicFQubNp6PlUrw7vztpki/N3TA1Own0
	3fNzotR9SZ645/tIaTJJLag9jSIKlWQ=
X-Google-Smtp-Source: ABdhPJxN6A9Kkayvi5CFj4s3Nn4HGuHZQk9fs3DWD0y/HPVgrSywrUJg4WQkqq3b8ln3gKqM51UXSQ==
X-Received: by 2002:a37:9902:0:b0:69a:4ba:deb4 with SMTP id b2-20020a379902000000b0069a04badeb4mr951712qke.253.1650073402728;
        Fri, 15 Apr 2022 18:43:22 -0700 (PDT)
Received: from [192.168.0.100] (adsl-074-188-244-178.sip.asm.bellsouth.net. [74.188.244.178])
        by smtp.gmail.com with ESMTPSA id s19-20020a05622a179300b002e1ceeb21d0sm3846224qtk.97.2022.04.15.18.43.18
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 15 Apr 2022 18:43:21 -0700 (PDT)
Subject: Re: [gentoo-user] Hard drive error from SMART
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
References: <13443afe-5879-3108-a19a-9457c0b054d1@gmail.com>
 <bf10e0c0-2626-d45e-1ffb-dd52cf87cf37@gmail.com>
 <m3r15ynvee.wl-covici@ccs.covici.com>
 <a9893cfe-9c06-f0e0-1692-f850cbd83095@gmail.com>
Openpgp: preference=signencrypt
Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata=
 mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i
 oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI
 wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh
 Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+
 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1
 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C
 R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P
 wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25
 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO
 OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnF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/WtcBxNX8crBSw0FLnmzGleVEtBHyqtt5CLzQNgrj
 GYWl1vKDUmRPw1CdZ1c+fMN9CY11jOM5B5ZnqZWfDeVYO2iJ5SuvTycChexCb8WYn1bdCBIo
 bBtga2RBXbVt4Mh9E4owsszefn51MwfjXxB20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA
 CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU
Message-ID: <04c72544-8ac6-dbff-a30c-18fb428f592f@gmail.com>
Date: Fri, 15 Apr 2022 20:43:16 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Firefox/68.0 SeaMonkey/2.53.11.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
In-Reply-To: <a9893cfe-9c06-f0e0-1692-f850cbd83095@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Archives-Salt: 803b0d97-1f30-4139-a2ab-673065921202
X-Archives-Hash: b2def9129bbcbadd0276a43f6f53a0bd

Dale wrote:
> John Covici wrote:
>> On Fri, 15 Apr 2022 11:49:21 -0400,
>> Dale wrote:
>>> Howdy,
>>>
>>> I got the drive and pvmove is doing its thing.  I would like to unplug
>>> one of the drives and physically move them around without shutting down
>>> my system.  Is there a way to tell LVM to disable the drives while I'm
>>> doing this and restart them when done?  I found the command vgchange -a
>>> n<name> but I'm not sure if that is correct.  Honestly, I want to be
>>> really sure before I unplug things.  I assume the "n" changes to "y" to
>>> restart them? 
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>>
>>> P. S.  BTW, the drive has passed two new tests with no error.  The tests
>>> are slower than usual tho.  I'm not sure why tho. 
>>>
>> No, you can't do that till the pmove is over.
>>
>
> Yea.  I was planning to wait until pvmove was done.  It actually
> finished not to long after I sent the message.  It was what prompted me
> to see if this is possible.  I found a page that talks about it but the
> info didn't explain it much.  I'm pretty sure that is the right command
> but given the limited info, I wasn't sure.  Reading the man page helped
> a little but still wasn't 100% sure then either.  Thing is, I only have
> to unplug and move one of the two drives on that group. 
>
> Sounds like the right command tho.  If not, someone speak up. 
>
> Dale
>
> :-)  :-) 
>


For anyone searching and running up on this thread.  That command did
work to disable the drive.  I'm not sure if I should have used pvchange
to disable /dev/sdk1 or not.  The problem I did run into was getting it
back.  I ran the command to enable it but it didn't work as expected.  I
had files missing.  So, I unmounted it, ran pvscan, vgscan and lvscan in
that order.  I then ran the command above again to be sure and remounted
the LV group.  It worked that time. All files were there.  So, either
one has to rescan them or I should have also ran pvchange to disable as
well.  Maybe someone else can expand on this.

While I'm at it.  Is there a way to reset the sdk part?  The old was sdd
and I was hoping when I moved the drive, it would change with it.  The
reason is, usually when I hook up my external drives, they use sdk.  I'm
sort of set up for that.  A couple other things use sdk as well.  I'm
not sure if there is a easy way to do that or not.  Wonder if it will
reset when I reboot???

Dale

:-)  :-)