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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 314AB158042 for ; Sat, 9 Nov 2024 10:30:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A731E08CE; Sat, 9 Nov 2024 10:30:34 +0000 (UTC) Received: from sonic304-21.consmr.mail.ir2.yahoo.com (sonic304-21.consmr.mail.ir2.yahoo.com [77.238.179.146]) (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 0A64BE0872 for ; Sat, 9 Nov 2024 10:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731148232; bh=oTspbuhOlcjpa6FRllI7Zy+79gkjbD1DkS0XPu1HHgI=; h=Date:To:From:Subject:References:From:Subject:Reply-To; b=FhIv2q5gvJlv+aU18aps1/BjT945QHRE6gUXk2KuvPGutn0sFic5+aTTpx1eyllHDwg12dM+bNWJjrWC1j8vfndiqr0msk32pGxwVXuXECNQ0S7bpjnyqHSHojoTKKr6Rqv/ypWpDVTZX9ky8UXy9BrbpiUW4jDJi/QZRmvEv1EH5DpXtP76hNqWAh3MjFSL9qd0V2KbneTluSFPwf3Zr7PsamJWrGJYwjOqENUVNpztq67N7Mw4mihXb7YA81oD7r/PnwrLO+bw3WLiG+MtaZ42BbjpelpOomAAhAawss4c+REg3NgOdS4FF3pHK4vkqJR/ziQAYDX4J7mNDMXyHw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t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Ilc4p2j.h9YCrhICd5zY4WYR.eeVPr9ZpuovFI4L1Qy khdyksb.TlTBhGBVZqB.Qv4orB53zFbvK2f5MtB6rWgiukb2_QoLpSXhBKn28vm.lH7BCrdAitkA tB3xjAtuEahhd7gXm7UJYYBkbkePceLRGt8BPd7vy13tVZVk.g4TuuvUQsfy9C4tN3tO2XaMzY1M T5e5hFBEh6EbadFeWN.D.YiPZBd_qUVPvAeim1pzojPlVbsP0XvamLuuBudVOQj90MK6.pqUvqD5 G8fmrixrfhKr1T5WJ9OLVwOq3tbcyHbGS.HBOrnUurjRuYPevOSVT992ur76OrWblyYSqcnm7Mu4 zGiK_WJ1lPtYtYh8djqQkPzeNZBZBOe85jkmjRFA6nTmGb0yTNPE9ViWkxqmPnEYjj.eugOORN4U skPQ61YWGZldmgNUmzoeiKVNHOINcidgOh2MYPPGnlyuoXyYezj38_C35jz.8FR9K.RK6EiBlygl k2oe_nHjvQjvIPA4BlB69Ww6MNGPC8N2f1GebodzGxmHh1N7x0sRTbS49ePo38wHKvbVii8un7Df pSCY4DE0- X-Sonic-MF: X-Sonic-ID: e88f4d9e-9fe2-4a74-8663-51c5a65da4e6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Sat, 9 Nov 2024 10:30:32 +0000 Received: by hermes--production-ir2-c694d79d9-qm6ds (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1cda035a96ba0148d43cb74470486cdc; Sat, 09 Nov 2024 10:30:29 +0000 (UTC) Message-ID: <713323a1-bd58-4607-898f-db2aedc9942c@yahoo.com> Date: Sat, 9 Nov 2024 11:30:28 +0100 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 User-Agent: Mozilla Thunderbird To: gentoo-user@lists.gentoo.org Content-Language: it, en-US From: ralfconn Subject: [gentoo-user] backup horror story (happy ending) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit References: <713323a1-bd58-4607-898f-db2aedc9942c.ref@yahoo.com> X-Mailer: WebService/1.1.22876 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Archives-Salt: 93935bd4-25ef-45df-9a56-43bef3b4ae32 X-Archives-Hash: 1a1e673e974307ac2e173fafa2222da0 I have a 4Tb hard disk half full of videos and photos my daughter took with her cell phone over the years, shared with Win11 in a dual boot box so it is NTFS-formatted. The disk is backed up on a different EXT4 disk and the backup is performed by (ana)cron via an rsync bash script. Last evening there was a power outage. When I rebooted in linux the NTFS disk would not mount. OK, just e2fsck the disk and it will fix it, I thought, forgetting that it was an NTFS not EXT. e2fsck -y starts finding and fixing hundreds of issues on the disk, till I get bored, I stop it and reboot into Win11, which chkdsk's it and mounts with no problem in less than 10s. Finally I realize the huge mistake I had made, allowing e2fsck to delete thousands of otherwise fine clusters/nodes/whatever on a filesystem it does not understand. But I have a backup, no problem... till I realize the cron job had already run so it had overwritten the old files with the new, corrupt versions. Fortunately rsync uses the file access date to quickly find potential differences and since the e2fsck did not touch those the backup was still fine. Later I found that the disk did not mount in linux due to mount not finding anymore the NTFS's UUID that I had in fstab, but it did mount fine with /dev/sdx. I felt like a triple-idiot. raf