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 A360E139337 for ; Mon, 26 Jul 2021 22:48:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F97EE097A; Mon, 26 Jul 2021 22:48:04 +0000 (UTC) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (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 B4AEEE0961 for ; Mon, 26 Jul 2021 22:48:03 +0000 (UTC) Received: by mail-ot1-x331.google.com with SMTP id 19-20020a9d08930000b02904b98d90c82cso11591183otf.5 for ; Mon, 26 Jul 2021 15:48:03 -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=YfNR/pFwBBBOAMfo2RPTccH7wN0EZe+Vqc3OyL48Gbs=; b=oVfvOV5O+wZXGGF2JijfHwQhyAqwNKMQ6cj1AmvRepb2UKa2WwW8yBbXrDznPSfPY5 Z9eOJ5Hf4g/wp/av0FhVl1NCLCDuXXBmZYnKapYhVqdD0Ap3IkI0IBXKd58PDcgBLlX0 8enaZodcYa7l48ZdQajW2kIUsmuVqNrJbthOrWCGkr6cU3+9jeuY1b03S4ANkztpb06Q J086NR+kY8qq7Wh/hotATOuJonyjHFj5W3KssPw3S0Lj4gTpNkB6vTr9REBN/qhlKiAO O8/npxm33FVDbupljmB8ZawrSGTkMATG4nWrtjpdYIYUXfYAT3oO61BbBAm8eHcPkPUB UY3g== 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=YfNR/pFwBBBOAMfo2RPTccH7wN0EZe+Vqc3OyL48Gbs=; b=eB1GOTyL7XeXICz3mygh4VFj7PBoG/tDvuo+UI8UDycrDvFUElrclq6GTKkOWJzsSf doHUjswc9paYZBr7qQVwucSTVIEWAY4wNNgJy3GObPGvj8CDHEb3GcW81dUc9YCFQnlK TVDBb+IZmmMLwwNfumygOdJLuE4B/o28vYFa+PaHop57R/EKJ/jqb2Xk8USuQhG32ScA e3HaQ3KHzBvA2FuqBg+9Oyh91EQrIJUPlFBLIBMDZbYjktFtcQKvDh2iT6cCEPcjByvh WirYAIeUjf8wMT7B2Xv/UhMT6ZPknFtxibMMrtWqGUr61MJyDDg5QvbosaCI2PvjU5Tl /OVw== X-Gm-Message-State: AOAM532r5K+KtqDMVSoD8Jky5HKHohYzx03VDpKqv1UnInAxOHivpiBf 6eidAat2ufojbmnXtzF+/Sw= X-Google-Smtp-Source: ABdhPJxcB2wEF6VMnsJb35no81EXjxuqykFyL8ePb33HSHWuEw8QHiT/BywvnGjb4IR6uNzcWyWPuw== X-Received: by 2002:a05:6830:1b7a:: with SMTP id d26mr13116016ote.218.1627339682705; Mon, 26 Jul 2021 15:48:02 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-240-053.sip.asm.bellsouth.net. [74.188.240.53]) by smtp.gmail.com with ESMTPSA id f16sm258671oiw.29.2021.07.26.15.48.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jul 2021 15:48:02 -0700 (PDT) Subject: Re: [gentoo-user] cryptsetup close and device in use when it is not To: gentoo-user@lists.gentoo.org References: <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> <96fc901a-2ce4-0ea0-0ed1-1c529145c0e9@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 yAIbIwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRDvEM/XWu+ZnN+7D/4/1dNG4aCz0+v+ 0dcjV5tY1feYEWCdHKyDz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89c1b2b70e63@gmail.com> Date: Mon, 26 Jul 2021 17:48:00 -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: b840edba-f724-4333-9004-14b5c730b3ca X-Archives-Hash: 3558bb2cdccaf2adb5e1ed986ce320a5 Frank Steinmetzger wrote: > Am Sun, Jul 25, 2021 at 06:10:19PM -0500 schrieb Dale: > >> I've tried external drives connected by USB before and hated them.  Slow >> when they do work and buggy at that. > Theoretically, HDDs are not able to saturate USB 3. And from my observation, > I do get their maximum performance – my 2.5″ 1 TB WD delivers about 80-90 MB/s > read speed and said Intenso/Seagate 3.5″ gives me up to around 140 MB/s tops. > I used dstat to gather those numbers. I think all my USB ports are USB2.  It's slower.  What you post above is about what I get on my external eSATA.  If I were using USB3, things may be different.  Maybe.  ;-) >> I've had more drives go bad when using USB enclosures than I've ever had >> on IDE or (e)SATA. > Interesting, I can’t really confirm such a correlation from the drives I > have lying around. And I don’t see how USB can cause damage to a drive. > Except for physical impacts owing to the fact that USB drives are easily > moved around. > Those particular drives sat on the desk next to my computer.  They rarely moved.  Heck, I rarely unplugged them.  Just turn them off when done.  >> I've had two drives fail after years of service that were IDE or SATA.  I >> have three drives that are bricks and all of them were in USB enclosures >> and far young to die. > Perhaps they became too hot during operation. Enclosures don’t usually > account for thermals. Didn’t you mention you lived in a hot area? > Every enclosure I buy has a fan.  The enclosures were pretty well built as far as the case goes. >> I paid more for eSATA external enclosures and have had no >> problems with drives going dead yet.  All of them have far surpassed the >> drives in the USB enclosures. > Hm... bad (in the sense of cheap) USB controllers on the mobo or the > enclosures? Or bad USB cables? What kind of HDD death are we talking about? > Certainly not bad sectors, right? > After a while I'd start getting errors and it would either remount ro or just unmount completely.  After a while, the drives wouldn't respond at all.  They spin up but it's as if they are not connected with the data cable.  Eventually, I plugged them into my computer as SATA drives.  They still wouldn't show up.  It was as if they were not there.  They did spin up tho.  >> I think my drives are either Seagate or WD.  I tend to stick with those >> two, unless it is a really awesome deal. > Yea. First the SMR fiasco became public and then there was some other PR > stunt they did that I can’t remember right now, and I said “I can’t buy WD > anymore”. But there is no real alternative these days. And CMR drives are > becoming ever rarer, especially in the 2.5″ realm. Except for one single > seagate model, there isn’t even a bare SATA drive above 2 TB available on > the market! Everything above that size is external USB stuff. And those > disks don’t come with standard SATA connectors anymore, but have the USB > socket soldered onto their PCB. > I bought a SMR before I was aware of the problems with them.  It's just a backup drive but I still have to wait for it to stop bumping before I power it off.  Sometimes it only takes a few minutes, sometimes it bumps for a while.  The CMR I use as a backup drive, different data, is smaller.  It doesn't do that so I can unhook it right after it finishes.  >> I've never updated the firmware on a drive before. > Me neither. I think I updated an SSD once. > I've never had a SSD.  Thinking about it tho.  Hmmm, just realized I didn't do my usual Sunday updates and backups.  Ooooops.  :/ Dale :-) :-)