From nobody Sat Jul 06 17:18:18 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WGcYB3gN0z5PBnR for ; Sat, 06 Jul 2024 17:18:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WGcY949Khz4vmc for ; Sat, 6 Jul 2024 17:18:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=TEVNbvZt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::1134 as permitted sender) smtp.mailfrom=kob6558@gmail.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-65465878c1fso14815127b3.2 for ; Sat, 06 Jul 2024 10:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720286315; x=1720891115; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=EZu287iMdnTDNHDbwNnCdZvjpbAQK3PE3ysM55V1BRs=; b=TEVNbvZttIYK/8G+sccx4tBVAAviMlAgDS6GErhMI+KVGSp1CKHkeUJta478PT5+CV bFk+wlXZ/S0Wwd4bbgQbyH3ddPKUcmk2AWeFtm10GJu1zd+WcTfIQfB0Dug5Q5RYTEVY GuZo6IyF4XCDhmx+ylOBJnKOdWrmv5y1bG3eIAOqKA3XjPjq2a1hHrRM7RNKxe2aI8Dp eLEIPQ3+v33njytVl5/3xxBj1XqLb6e/FsMcFKbnDmXqNwJyVBSdY0onqL6uVXpEhNAK PzABOgoEAcoyDsqWQT6E+zi2tn5GTA0Um6XL487EQ3IfJuX7dQKrvO5Qy45NG6l47YWT b12w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720286315; x=1720891115; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EZu287iMdnTDNHDbwNnCdZvjpbAQK3PE3ysM55V1BRs=; b=paW5UPnTh6LGjwv4vZamAfaAOID0mz1bfMwQE2LgXqFFD7ItfrGirLlcNcO5sR46NN iuKs3S7Xho+FPsLI4O1/wYw4ylXxgQPb5OqBKkCAPIj+Z2zVBUX+jdxqFDjLWP2Szvn/ cCSFr5hc4OafNaUqEG4EwlxewidFeDpN8ZfFiksY6OxxUnh44QA+5aC5PBe6pVKR+ZV2 pd4p7xuqICjbso9OLyaWou5RpUHn3MEjPrO+PMuv3tl5lIi5L44rjdw4bC26vFSnGqjD T2awLoCRFetkoKRrrER6oYmzkIsz0KI8AgYscFSFux2w+EnB0xGmQaQ2FBpWjD9lbFAj do3A== X-Gm-Message-State: AOJu0YwbWRr6i09JViquUdWYivVttSBQJDkniLgMba/3Lu63vn5/M5ZR 1ilQi8xxgruYHv9rOfJEZkR4Dv1Tw8AE2hPYjqTzzmP4GGfz4mJlJ8Cu5GBPqUqHAa936krotWF VljHQMLjrNkpHIiNqJCIPBjMror0LCCEe02g= X-Google-Smtp-Source: AGHT+IHQdjFjmXP/3rw9Fdmdg3IOsoXqaO1lISa9MFYatqGx6hYslP8d11wpwqIRBV38Qvy+I/oxd1OMrEzTTyDonGY= X-Received: by 2002:a81:848b:0:b0:650:9c5e:f6e2 with SMTP id 00721157ae682-652d7a681aamr75040847b3.34.1720286315109; Sat, 06 Jul 2024 10:18:35 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 From: Kevin Oberman Date: Sat, 6 Jul 2024 10:18:18 -0700 Message-ID: Subject: Corrupted UFS2 file system? To: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000b965d7061c975efa" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from] X-Rspamd-Queue-Id: 4WGcY949Khz4vmc --000000000000b965d7061c975efa Content-Type: text/plain; charset="UTF-8" I use rsync to update a backup disk on a server. For a few months I have been getting errors for a few lost+found files. I have done "ls -l -o" and found many system flags are set on the files. Attempting to modify the files as root fails: # chflags 0 #31232359 chflags: #31232359: Operation not supported This is clearly a corruption. All three files show a bad creation date (Dec 22 1971) and a size of 4096. All include the flags sappnd, schg, sunlnk, snapshot, hidden, uunlnk, rdonly, and system. I suspect that snapshot prevents me from doing anything to the files, but I have no idea how I might fix this. Full fsck finds no errors. SMART shows a past error, but o current ones. Any clue as to how this might be fixed other than reinitialising the partition and starting from scratch? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000b965d7061c975efa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I use rsync to update a backup disk on a server.= For a few months I have been getting errors for a few lost+found files. I = have done "ls -l -o" and found many system flags are set on the f= iles. Attempting to modify the files as root fails:
# chflag= s 0 #31232359
chflags: #31232359: Operation not supported

This is clearly a corruption. All three files show a b= ad creation date (Dec 22 =C2=A01971) and a size of 4096. All include the fl= ags sappnd, schg, sunlnk, snapshot, hidden, uunlnk, rdonly, and system. I s= uspect that snapshot prevents me from doing anything to the files, but I ha= ve no idea how I might fix this. Full fsck finds no errors. SMART shows a p= ast error, but o current ones.

Any = clue as to how this might be fixed other than reinitialising the partition = and starting from scratch?
= --
Kevin Oberman, Part time kid herder and retired Ne= twork Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78= E3B78C1694B318AB39EF1B055683
--000000000000b965d7061c975efa--