On 3/15/21 8:23 PM, Arnt Karlsen wrote:
On Mon, 15 Mar 2021 19:54:20 -0700, Marc wrote in message
<[email protected]>:

On 3/15/21 6:31 AM, Hendrik Boom wrote:
On Sun, Mar 14, 2021 at 10:28:32PM -0700, Marc Shapiro via Dng
wrote:
On 3/14/21 10:09 PM, Ludovic Bellière wrote:
I assume you read the man page of fsck, as it's return code is
what you want to pay attention to.

As for lsof, the correct parameters would be `lsof +aL1 /dev/sdx.
It should have thrown an error were you to use `lsof -L1`. If
lsof returns nothing, your drive is most likely corrupted.
You are correct.  I used '+L' NOT '-L'.
It may also be possible that the files you removed have other
references on your file system, aka. hard links. To find them, you
would need to know the inode number, either by using `stat` or
`ls -i`. You can then find them using `find -inum`.

Since you already removed the files, you most likely can't know
the inode number. However you could throw a `find $path -size
n[cwbkMG]` to list the files with the matching size.
I'm not following you on this.  What is this going to do for me?
'find' is only going to show undeleted files.  How does this
help?
It is possible for a single file to be hard-linked in several
places in the file system.  If so, removing it in one place will
still leave it accessible from another, and therefore not deleted.

Files have reference counts to keep track of this.
These files should not have any links, hard or soft.  None of the
other files in that directory show a reference count above 1. They
are backup files created by fsarchiver.  I'm just trying to free up
space by deleting files from January.
..any chance they have white-space-character-only names?
E.g. " ", "  ", "   " etc, or Norwegian æ, ø, å, or some
invisible non-Latin alphabet soup not supported by your
fonts nor locales?
You should still be able to cut-n-paste those and have
them show up as high-lighted boxes.

No.  These are file that had names when I deleted them.  I wrote/modified the scripts that generated the filenames, so all of the characters came from my keyboard.  I hate names with spaces in them, so there weren't any spaces or hidden characters in them.

Marc

_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to