Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=3.0 tests=BAYES_20,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C75CC433ED for ; Sat, 24 Apr 2021 17:20:52 +0000 (UTC) Received: from mail.server123.net (mail.server123.net [78.46.64.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 58E77611CA for ; Sat, 24 Apr 2021 17:20:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58E77611CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=posteo.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dm-crypt-bounces@saout.de X-Virus-Scanned: amavisd-new at saout.de Authentication-Results: mail.server123.net (amavisd-new); dkim=pass (2048-bit key) header.d=posteo.net Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.67.36.65; helo=mout01.posteo.de; envelope-from=kasperikoti@posteo.net; receiver= X-Greylist: delayed 316 seconds by postgrey-1.37 at siona; Fri, 23 Apr 2021 18:40:19 CEST Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (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 mail.server123.net (Postfix) with ESMTPS for ; Fri, 23 Apr 2021 18:40:19 +0200 (CEST) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2A5B9240026 for ; Fri, 23 Apr 2021 18:35:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619195702; bh=u8cIir7dy1PLcmUM6bpE+syiF0R8uqJ2LyPr79rnxzs=; h=To:From:Autocrypt:Subject:Date:From; b=VesSuy277vyA6aT+nERarR68kSMiNP0kEUkmfwNukwrOxDAYIczopXVOB5g9Xowp0 nuiex8edGVzfUYdrOSQSNeNvIzs+ppImFTz2Z/WY5CyhGn/mUaEIHNUSW7VXyn0Iin zv2LjzGWPZkkOqxzeNlK9AgL88/Gg0APXd8PPxBLd+Uzo6vcHxUl9M4J9EpeJKCzDi huuhXvlXFo4a62geD8wVVHV036ZId2ABfLx/pclVM03x2+u3AECG7+RMbNwxCh1yuD 7mSy3KO0KmiVfsm2kFXR5SmYE2BxOpyqmr7Nwm0NGcCEjbdCE5cqpH70u3y0egA8s4 LHHFqf3zxTR7A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FRfys2695z6tmg for ; Fri, 23 Apr 2021 18:35:01 +0200 (CEST) To: dm-crypt@saout.de From: Kasperi Autocrypt: addr=kasperikoti@posteo.net; keydata= xsDNBF/ZEjMBDACuKx6GpGM6gm+mvi8d6js3JXd+CUXm/yydLXeBn8Pd+LUA2xq29woso0Nt 43KnKnXSMM8f4K4hO+Q4IWZTUmwTKJvz42OCYT2VSSaGNUE7mG8Vy2oLKUDCFWTyuNR9O4IF rlQOcDrdakm/VjR/6akGguNwQUn4uB39pGeGup7+pUFM1AibbFuCnnzJ4qOoEVIfIu7Qow22 VJzNNiDgdvkB2Ji9t8Vuv1YVxpT/5liW8NW3WMpdB64YciHZZXB7XqeennfeAMchFubB0BYZ 9DRmidqOdUM/tIr7m1BIDXde6WwQHeblGxGACzTpwdP2A2jHZMmkC+iWySjBzDv/ioJXh019 8vyf93lfaLJrjKD59tZthTqSSXtmKTUe2HeDDtXm5s4813NZgmgCzK1XYEs9tGRnfYAXe8fe 54nkOid3WPJOlz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gUW4woTN6w7JvPdRejbhP+/P6AJY90cwFWlKEjH0utoPSqRGm5BieSssQzut 3wtXtTgBAT3jUafo8pmQk75oJJuO3jppgcoIx408OANNd90NFzzW8F5EsT3iBJYiSgneFSUg QOJNT1LcX1805Zd5LmBZS/SyevN7Le2TLT4SSQjiKdBd1SGzfu9tftJTai2rWkL55zcHfQ0A EQEAAcLA/AQYAQgAJhYhBBS87YO/hZq1wsOriphsD2pMKmfABQJf2RI4BQkFo5qAAhsMAAoJ EJhsD2pMKmfAiMYMAJpfrwn4jp66eeOw+Dc7cc0Cywz9jBFnYDnmOGAOChX+I70v1YaAeAZd BSh2kM5EwyT3tNEJ9XcxriJQV53O2ffJuOZXEmxjidm7ApvM1Dnns4i/th1C37dsuYQigS2Z v6xlZeHcu4Cph+v9wle8PPpHAWBIHzG+83ZFPMPSrpmUeZrYIVw/JkacwsYbhCZQJSPx2KVE FgOD/yX/m7ufxjv2zuY097C+SuqY4Qh23skbcGTCIfmNGyZH2UM/j7oX5iYjhfkm7g2HdIda A4MBmWNQ5wMkKSm1hWDKgJwBYEv/m5qfTHlfYNUD2g3gQTiOx/cVWtezwUCEe1HSbeAiCH+D h9jdNWI+P9FKg3JYKkwYz9lsCMw0dYSyNvS3zReuailBmOlQcjv4kfjpMKik0htY6FKhBraI 4RzUIj7dloCTbojRgfZt6wBp19l78kF+pGOtu+/xkMJRev1Z7YQTLf1YvqLNFvBtdbhhzb4r eFYegC1XO+/CZurlDijLbq0OgQ== Message-ID: <7bad0bc2-fb8b-60bd-ed5d-68ba3e62b4c7@posteo.net> Date: Fri, 23 Apr 2021 16:35:00 +0000 MIME-Version: 1.0 X-MailFrom: kasperikoti@posteo.net X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dm-crypt.saout.de-0 Message-ID-Hash: EWKBUN6RAOJKRUPBDKFQEF2O4X6MEQNH X-Message-ID-Hash: EWKBUN6RAOJKRUPBDKFQEF2O4X6MEQNH X-Mailman-Approved-At: Sat, 24 Apr 2021 19:17:58 +0200 X-Mailman-Version: 3.3.2 Precedence: list Reply-To: kasperikoti@posteo.net Subject: [dm-crypt] Help: problem with an encrypted USB drive List-Id: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============7609592581090387162==" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============7609592581090387162== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HmgCtcRstw9nHXztcohBwGGEKgMB5UuE6" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HmgCtcRstw9nHXztcohBwGGEKgMB5UuE6 Content-Type: multipart/mixed; boundary="YVB6gqc56GOfsjJzdYzsBIDTFSAtp4hZ0"; protected-headers="v1" From: Kasperi Reply-To: kasperikoti@posteo.net To: dm-crypt@saout.de Message-ID: <7bad0bc2-fb8b-60bd-ed5d-68ba3e62b4c7@posteo.net> Subject: Help: problem with an encrypted USB drive --YVB6gqc56GOfsjJzdYzsBIDTFSAtp4hZ0 Content-Type: multipart/mixed; boundary="------------90171BA656E90B93602D4407" Content-Language: ca This is a multi-part message in MIME format. --------------90171BA656E90B93602D4407 Content-Type: multipart/alternative; boundary="------------887CE905287641C62C0ECE31" --------------887CE905287641C62C0ECE31 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, First of all, I thank you for the great tool that you provide. Now, I encountered a problem with an 512 GB USB flash drive that I=20 bought recently and I wonder if it is related with the device itself or=20 with the LUKS encryption that I put on it. I therefore seek your help. I = have read the FAQ and searched the web for similar problems and I really = do not know what I could do more to find a software fix to the problem. There has been *no physical damage* to the drive and since I have used=20 it very scarcely so far, I would be really surprised, if it had worn=20 down already. It is a few months old and I only did occasional backups=20 on it. First, the USB drive started to change its permissions to *write=20 protected* when I was doing file transfers. Then, I run the system=20 utility tool fsck to check and fix the filesystem as I suspected that=20 errors therein might cause the behaviour. After running fsck=20 unsuccessfully, the *USB drive stopped working altogether* and I cannot=20 do anything with it. My systems (Linux Mint / Debian) do detect the USB=20 drive itself (lsusb, lsblk), but the partition table seems to be gone=20 now. I have tried to format the drive by different methods, but any=20 intent gives errors and gets stuck. Disks, Gparted, mkusb, dd... but all = to no avail. Please note that I do not need to recover the data, as they were backups = only. I want to format it and use the device again, in the case that=20 there is not some inherent damage to it. My question is: Can the LUKS encryption itself cause the described=20 behaviour? I can give you more details if there is still hope to find a software fix= =2E Kind regards, Kasperi --------------887CE905287641C62C0ECE31 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

First of all, I thank you for the great tool that you provide.

=

Now, I encountered a problem with an 512 GB USB flash drive that I bought recently and I wonder if it is related with the device itself or with the LUKS encryption that I put on it. I therefore seek your help. I have read the FAQ and searched the web for similar problems and I really do not know what I could do more to find a software fix to the problem.

There has been no physical damage to the drive and since I have used it very scarcely so far, I would be really surprised, if it had worn down already. It is a few months old and I only did occasional backups on it.

First, the USB drive started to change its permissions to write= protected when I was doing file transfers. Then, I run the system utility tool fsck to check and fix the filesystem as I suspected that errors therein might cause the behaviour. After running fsck unsuccessfully, the USB drive stopped working altogether and I cannot do anything with it. My systems (Linux Mint / Debian) do detect the USB drive itself (lsusb, lsblk), but the partition table seems to be gone now. I have tried to format the drive by different methods, but any intent gives errors and gets stuck. Disks, Gparted, mkusb, dd... but all to no avail.

Please note that I do not need to recover the data, as they were backups only. I want to format it and use the device again, in the case that there is not some inherent damage to it.

My question is: Can the LUKS encryption itself cause the described behaviour?

I can give you more details if there is still hope to find a software fix.

Kind regards,

Kasperi

--------------887CE905287641C62C0ECE31-- --------------90171BA656E90B93602D4407 Content-Type: application/pgp-keys; name="OpenPGP_0x986C0F6A4C2A67C0.asc" Content-Transfer-Encoding: quoted-printable Content-Description: OpenPGP public key Content-Disposition: attachment; filename="OpenPGP_0x986C0F6A4C2A67C0.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- xsDNB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/m5qfTHlfY= NUD 2g3gQTiOx/cVWtezwUCEe1HSbeAiCH+Dh9jdNWI+P9FKg3JYKkwYz9lsCMw0dYSyNvS3zReua= ilB mOlQcjv4kfjpMKik0htY6FKhBraI4RzUIj7dloCTbojRgfZt6wBp19l78kF+pGOtu+/xkMJRe= v1Z 7YQTLf1YvqLNFvBtdbhhzb4reFYegC1XO+/CZurlDijLbq0OgQ=3D=3D =3DEDCj -----END PGP PUBLIC KEY BLOCK----- --------------90171BA656E90B93602D4407-- --YVB6gqc56GOfsjJzdYzsBIDTFSAtp4hZ0-- --HmgCtcRstw9nHXztcohBwGGEKgMB5UuE6 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsD5BAABCAAjFiEEFLztg7+FmrXCw6uKmGwPakwqZ8AFAmCC9zQFAwAAAAAACgkQmGwPakwqZ8Al Tgv/W0u7ICqDwqvuoduo5GnRQU8qtWnhWVUv+3CPCYCEQlMXYXXgh0id3AxZNPriSR4eLVzcDRdl IjkkywR/xA9fisYJ78EUok4kU0EzZ2DBaJmK8swMtS6CeRGyCVCMOPeud5g1ZvPAKfXgGBbGh63w Hc/dvrs2sor7ToSB5AKpjCDet76Vt/d40nBsB+PmyJ7ZjvpsqIf90rSGCPfe0qLZteW6J0C//gat XFrO+x6izh/CxO9ycpho/SZFWCZRYtuExbslY88Iem+5sxF4mTqhUZ8+jGgvg7/pm9L57F0VX1Du fmvbnuoGIp81do4zgYcahC4ZAX7O4t5kREbgl88rYjOCw8zA7XN6C2y2ctj5S0pFBCTCgFJPkDZB l0FntMh0SanpKEAdtV25AyVjj2X0OAUtA74ohbgOJtHJHcZPKuFUK3O5cwjzrrLw+m4rmEHmcwoX YIytw4DjcdYK0Mv/q3BJ6n6YspjeoxDQV/Syu0b5ZiDMIxSGZhstqY4y/Oj5 =nIEK -----END PGP SIGNATURE----- --HmgCtcRstw9nHXztcohBwGGEKgMB5UuE6-- --===============7609592581090387162== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dm-crypt mailing list -- dm-crypt@saout.de To unsubscribe send an email to dm-crypt-leave@saout.de --===============7609592581090387162==--