From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4111B13933E for ; Mon, 12 Jul 2021 08:31:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA7A0E0F51; Mon, 12 Jul 2021 08:31:10 +0000 (UTC) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C502E0CB7 for ; Mon, 12 Jul 2021 08:31:10 +0000 (UTC) Received: by mail-ot1-x332.google.com with SMTP id i12-20020a05683033ecb02903346fa0f74dso18085546otu.10 for ; Mon, 12 Jul 2021 01:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=CLdhd0NXkamZgcx1UvqW5dKO1NsicFxwQczKVGQjQOE=; b=rBQdfogBbefyRii1toT5JQI7Q90+2/LnbrIfp2gy5EvkNrv5I+4dOBpu2Cp9j3bO5z Dfdr8vsmrz91qFuwFc+g6GWK4DPOz35j/ZPeb4vETnLC6cr2RqAqgl7UIJmGSmOWaHYD 8OtB1Nm4yU3F9oLPWZQOyLerqhy1X97GQoRhAd3np0PZyArR7nApaj49j8VT7FuJSyi9 gvOSFEu9sKGPm4QRUSqeRgRICNrvi8DnnsadkbEphOEOO137V/+B319Sz/s5biKumHdI th942C8e9avVXmzQpiGC9uPV4CprkUx/vV8prVHdA1UWk6rVaCeQokxHXFQ3AVMAP4RA n3EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=CLdhd0NXkamZgcx1UvqW5dKO1NsicFxwQczKVGQjQOE=; b=ehsQFVbvkIS/25t76s5JA53jhFT+FWUjaEm5ZHTtrPwudvId3rpHhF9SdLCYhPR551 Ke3LHuuckYUcUEZF04fnDYYxSgY811Tgu21a39YE3clT2pWXHn4Xsxih87R74+dPlgno erxA7iRZre7HbSwTFBMu0vr7MbdrCrSQ3QdMLwmedWl/XS9INIM5aFZ/hxQXkHSDj2Pu V9Cuh7myW+winYCdzN+9MkIXGNiwZQR9DfxHehLZADQgtivfNv/Qsu2jSyueWw/PswwY gOCOGahdGCjRWRBNk47gIKGQW5cUgUlv8rwwvv+FcX61pbob1a854YR4KevAdQ5xJUNH MmFQ== X-Gm-Message-State: AOAM530O7Y7lMCkpwzQ7t8QFm3pKMZHhf/WO2KfjwsV4oo/045MOuq16 6ZZm4ki5YGIOEneaQYmc4tM= X-Google-Smtp-Source: ABdhPJxHDCSdQaIyuhVIwv/AivvqYVOJkVpNlD466/DrYjVgp7Gy45neSTqBrTYqwOkcGPEYOzeyJg== X-Received: by 2002:a05:6830:2097:: with SMTP id y23mr7214226otq.363.1626078669486; Mon, 12 Jul 2021 01:31:09 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-244-166.sip.asm.bellsouth.net. [74.188.244.166]) by smtp.gmail.com with ESMTPSA id n20sm2991057otj.11.2021.07.12.01.31.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jul 2021 01:31:08 -0700 (PDT) Subject: Re: [gentoo-user] cryptsetup close and device in use when it is not To: Ramon Fischer , Gentoo User References: <70a1b488-c49e-6a94-a9a9-37eeb2ff4399@gmail.com> <9c9d5923-dccb-34d5-0f3b-16e07f337009@users.sourceforge.net> <649753f7-5dcd-1842-875d-d637ef754b9f@gmail.com> <3923b557-9d65-825b-e0fd-b1977c8d70c1@gmail.com> <7c279941-291a-5078-a83f-601ff58a6008@gmail.com> <9946c2eb-bb5c-a9c0-ced9-1ac269cd69a0@gmail.com> <6ecbf2d6-2c6f-3f66-5eee-f4766d5e5254@gmail.com> <24805.48814.331408.860941@tux.local> <5483630c-3cd1-bca2-0a6d-62bb85a5adc6@gmail.com> From: Dale Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBFxc7MgBEAC+zrgEdqJJiDe/UDAB+ScmferXWfJTVjbVT2T4DQ7jiLrgP9aNUo1HioNF mrU3JPOCR32gvZyTbY1+niO5+VSo/+pSqQ785h6ZDj1klMkrg6tEzGnf2MNBpBj4houZwxQ+ WDKKTg2M9F+lv8wTIdR/JQn+hSviktLMtrghQlyLhpapsLXWLA6gMFebpQYwxUwemvan8ddX lQvJe9FGyFYvBi0dp1gl10F2O+DVZJxvX8xkX+yImVlhVJiC31gXHRcj+Qlo7gprlU7TIieF Uow6/ZvYKJ26pztVdFCg5w0rMJkF/x8Zd4A6wnuptiAPmWaQ1+YKgYDonbDUgwqFSx5/lN5z DGZ4LlioxeUTTPVvZsqBIeDz6jNFA583OYbo1/S26dqrvTFf2DKlsvoDpVfAhNlwJPjoixs0 X3FNqPv+M10n4kq5Iz7Q9E3O4s/nfFIYGocEslVka7zZPkXSaHbsn+KJlY8XV6qxtCEdh0/V XX1+1aU2J74M0JikWhpwxTZ1dP5aOyWSPPEgFFIRW6xwwC02SoRH9a7mggfGYp/YjPlONNaT SCL8sgRfvmq3D0XTbLyTjSbExxkfKDmbePQagawDE3TlI/oivHf1JaAcbwMb3LZuU4TGcOIl 5D+x7q0MUIeCop0ZFOwAnqW3AVVNvsBkv2KN+IHJryWAf0/iMQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgWIQTZ7suruPBaS60bCYXvEM/XWu+ZnAUCXFzs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rLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: Date: Mon, 12 Jul 2021 03:31:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 91830228-e95a-4362-a46e-50a0f8e94f1c X-Archives-Hash: 7dfa28acbea44d183b85e2ec6230b8eb Ramon Fischer wrote: > Interesting. > > I have some other ideas, but this is really grasping at straws. Create > a backup of the backup drive before doing any tests, since you have to > move it a lot for this: > >    1. Connect the hard drive to a different eSATA port >    2. Try another eSATA cable >    3. Try to mount the hard drive on different devices >    4. Try different hard drive cases with different connection types >    (Maybe you have a better enclosure with USB or even FireWire, which >    does not damage your drive?) >    5. Connect it internally via SATA and try to mount it >    6. Mirror the hard drive to a second hard drive and try to mount the >    second one > > I think, this would entirely cover Layer 1 of the OSI Layer Model[1]. :) > > -Ramon > > [1] https://en.wikipedia.org/wiki/OSI_model > That's a lot of effort.  It's annoying it doesn't close like it should but doing all that would be a tedious task as well.  It would eliminate a lot of potential causes tho.  Thing is, I think it's a software issue not hardware.  To add to this, the 6TB drive just did the same thing.  I had been using UUID to mount it since it was working.  After getting the same problem as the other drive, I changed it.  It took some effort to get it to close but restarting lvm and friends did eventually get it to close.  I then changed it to mount by label like I been doing with the 8TB drive.  I think by just continuing to note what it is doing, eventually the problem will show itself.  Personally, I sort of wonder if it is a udev problem or lvm.  Thing is, a lot of this software works together so closely, it's hard to know where one stops and the other starts.  I finished my backups to the 8TB drive and it worked start to finish with no errors at all.  I guess we'll see what happens next week with the 6TB drive.  See if it starts to work again with no problem or still has issues of some kind.  So far, mounting by label seems to have worked well for the 8TB drive.  Will update again as things move along. Dale :-)  :-)