On Thu, Nov 10, 2022 at 05:54:00AM +0100, hw wrote:ls -la insgesamt 5 drwxr-xr-x 3 namefoo namefoo 3 16. Aug 22:36 . drwxr-xr-x 24 root root 4096 1. Nov 2017 .. drwxr-xr-x 2 namefoo namefoo 2 21. Jan 2020 ? namefoo@host /srv/datadir $ ls -la '?' ls: Zugriff auf ? nicht möglich: Datei oder Verzeichnis nicht gefunden namefoo@host /srv/datadir $ This directory named ? appeared on a ZFS volume for no reason and I can't access it and can't delete it. A scrub doesn't repair it. It doesn't seem to do any harm yet, but it's annoying. Any idea how to fix that?
2022-11-10 21:24:23 dpchrist@f3 ~/foo $ freebsd-version ; uname -a 12.3-RELEASE-p7FreeBSD f3.tracy.holgerdanske.com 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 GENERIC amd64
2022-11-10 21:24:45 dpchrist@f3 ~/foo $ bash --version GNU bash, version 5.2.0(3)-release (amd64-portbld-freebsd12.3) Copyright (C) 2022 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. 2022-11-10 21:24:52 dpchrist@f3 ~/foo $ ll total 13 drwxr-xr-x 2 dpchrist dpchrist 2 2022/11/10 21:24:21 . drwxr-xr-x 14 dpchrist dpchrist 30 2022/11/10 21:24:04 .. 2022-11-10 21:25:03 dpchrist@f3 ~/foo $ touch '?' 2022-11-10 21:25:08 dpchrist@f3 ~/foo $ ll total 14 drwxr-xr-x 2 dpchrist dpchrist 3 2022/11/10 21:25:08 . drwxr-xr-x 14 dpchrist dpchrist 30 2022/11/10 21:24:04 .. -rw-r--r-- 1 dpchrist dpchrist 0 2022/11/10 21:25:08 ? 2022-11-10 21:25:11 dpchrist@f3 ~/foo $ rm '?' remove ?? y 2022-11-10 21:25:19 dpchrist@f3 ~/foo $ ll total 13 drwxr-xr-x 2 dpchrist dpchrist 2 2022/11/10 21:25:19 . drwxr-xr-x 14 dpchrist dpchrist 30 2022/11/10 21:24:04 .. David