lost+found (?!)

143 views
Skip to first unread message

Dimitrios G. Panagiotidis

unread,
Jun 2, 2024, 1:01:35 AM6/2/24
to Alt-F
Hello all, a folder with name "lost+found" has appeared in my DNS323. I have certainly done nothing to change the configuration and I have been very happy in the simple way this D-Link box works with Alt-F. I am suspecting that the box initiated a filesystem check because I noticed the related info about Automatic FSCK is back to their original numbers after initial setup, they were counting down since I installed Alt-F.

1. Can someone please confirm what is this "lost+found" folder. Windows reports zero(0) contents and zero (0) size but the folder is also undeletable from Windows. Do I need this file, how do I read what's inside (IF anything is inside) and what can I glean from doing so?

and,

2. How can I delete this folder? It's included in my daily backup (I guess I could filter it out but I'm not sure if it is a critical component).

Btw, what are a couple of good numbers for 
Set mounted filesystems to be checked every

Thank you!

Tom Schmidt

unread,
Jun 2, 2024, 9:43:01 AM6/2/24
to al...@googlegroups.com
The lost+found directory is a standard part of the Linux EXT filesystems. See https://unix.stackexchange.com/questions/18154/what-is-the-purpose-of-the-lostfound-folder-in-linux-and-unix for details.  It is used by the fsck (filesystem check) command to "recover" files that may have been deleted while open by other processes.

Tom

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/c3454991-a709-4576-a9a9-9cf5d1425c73n%40googlegroups.com.

Dimitrios G. Panagiotidis

unread,
Jun 2, 2024, 9:56:07 AM6/2/24
to al...@googlegroups.com
Thanks for the quick reply Tom so how do i see if there's anything in that folder windows will not let me access it at all and not even delete it!?

--
Dimitrios Panagiotidis
773-744-7717
Dimi...@gMail.com

   

You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/rp_PjZOKsA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/CAP7Ygkxm7_p-Jh6NocShR5hiR7WacmsHbJcEW65gwzWMu%3DK8uA%40mail.gmail.com.

Tom Schmidt

unread,
Jun 2, 2024, 10:11:11 AM6/2/24
to al...@googlegroups.com
You would need to login to the system using ssh and run "ls lost+found" to see if it has anything in it.  If you delete it, the next fsck run will recreate it, so it is best to just leave it and ignore it unless you know what you are doing.  Filesystem check (fsck) run frequency is typically once every 180 days by default in Alt-F if I recall correctly (I am aware from home right now so cannot access my system remotely to check).

Tom

Dimitrios G. Panagiotidis

unread,
Jun 2, 2024, 10:28:34 AM6/2/24
to al...@googlegroups.com
Thank you Tom I'll just leave it as is then. By the way my FSCK default configuration is also 180 days. Cheers!

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 1:53:25 AM6/4/24
to Alt-F
Tom, if I may ask your help one more time, I'm trying to log-in with PuTTY but although I'm using my known userID and password (the same I log in daily into the box), I get access denied. Where can I read more what Alt-F expects so I can log-in and see if that 'lost+found' folder is empty or has anything in it. I want to make sure if FSCK found (or not) any errors in the FS. Btw, would you use that client (PuTTy) or do you have another suggestion? I'm looking for something simple with the least amount of setup/config. Thanks so much!

Tom Schmidt

unread,
Jun 4, 2024, 8:44:34 AM6/4/24
to al...@googlegroups.com
PuTTY is a great tool, I use it as well as an ssh client on Windows.  Make sure that you are using port 22 and have the SSH box checked for the protocol.  In order to see the lost+found directory contents, you will need to be logged in as root, so use the "root" username and password.  Once logged in, you will have a lost+found directory in each mounted filesystem.  If your RAID partition is mounted as Volume_1, then you can check its contents with "ls /mnt/Volume_1".

Tom

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 10:13:03 AM6/4/24
to al...@googlegroups.com
Thanks Tom, I was trying to log-in using my usual Alt-F userID/password,
thinking that since I'm the administrator it should be fine but 
apparently I needed root/root; thanks, didn't know that!

My mounted file structure looks like this:

Host: DNS323

Filesystem

Dev: md0

Mounted as: mnt

Labeled as: NAS

so, after successful log-in I type: 'Is /mnt/NAS'

Hopefully that will do it, thanks!

Tom Schmidt

unread,
Jun 4, 2024, 10:24:39 AM6/4/24
to al...@googlegroups.com
Dimitrios,
    Once logged in as root, the command you would run is "ls /mnt/NAS/lost+found".  Note that "ls" has a lowercase L, not an uppercase I.  "ls" for list is the equivalent to the DOS "dir" command.

Tom

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 10:27:13 AM6/4/24
to al...@googlegroups.com
Tom -

Just tried it and here's something interesting:

The password for root was not root but the same password I use for my account when I normally log-in to the box.
Not sure why, but at least I'm "IN".

However, it does not accept the 'Is' command, here's a screenshot below:

image.png

I'm also attaching a screenshot of Alt-F status page:

image.png

Any ideas? Thanks!
--
Dimitrios G. Panagiotidis
773-744-7717
Dimi...@gMail.com

US Soccer National "E" and "D" Coaching License
Grade 8 "Grassroots" US Soccer Referee
IHSA Certified Soccer and Volleyball Official
PAVO Certified NCAA/NACC Volleyball Line Judge

==

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 10:31:38 AM6/4/24
to al...@googlegroups.com
Hey Tom looks like we sent our last messages simultaneously (lol). I had sort of figured out where the problem was and your feedback confirmed it, but look, I am still not finding the lost+found directory

image.png

?!? 
--
Dimitrios G. Panagiotidis
773-744-7717
Dimi...@gMail.com

Tom Schmidt

unread,
Jun 4, 2024, 10:37:24 AM6/4/24
to al...@googlegroups.com
Dimitrios,
    Linux is case sensitive, your filesystem is mounted on /mnt/NAS, not on /mnt/nas.  You can confirm that by first running "ls /mnt".  The lost+found directory should be in /mnt/NAS/lost+found on your setup.

Tom

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 10:46:20 AM6/4/24
to al...@googlegroups.com
Indeed, Tom, success!

So now that I'm there, the fact that there's nothing showing means the 'lost+found' is empty? (I hope?!).

Btw, in command prompt F3 prints the previous command. Is there such an equivalent in ssh/linux?!

image.png

==

Tom Schmidt

unread,
Jun 4, 2024, 10:51:13 AM6/4/24
to al...@googlegroups.com
The up and down arrow keys allow you to scroll through previous commands.  Be very careful what you are doing as root, as you can easily break things if you don't know what you are doing.

Tom

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.

Dimitrios G. Panagiotidis

unread,
Jun 4, 2024, 11:03:11 AM6/4/24
to al...@googlegroups.com
Of course, I understand that; despite not knowing linux at all, I know logged in as 'root' is dangerous so thanks for the heads up!

To conclude:

1. The recent FSCK did not find (and fix) any filesystem errors OR the 'lost+found' directory would not be empty (correct?!).
2. When connected to Alt-F via PuTTy do I use linux OR ssh commands (or is it the same?). I intend to look up an online tutorial so I can (safely) get up to speed.
3. When I tried to log-in with my usual userID/password why Alt-F denied me access? I know I have added myself in the 'Administrators' group and I am also in the 'root' group.

Enough for one day, I apologize for my ..."novice-ness" (is that even a word?!), now that I resurrected the D-Link, have no choice but trying to learn.

Thanks! 
--
Dimitrios G. Panagiotidis
773-744-7717
Dimi...@gMail.com

==


You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/rp_PjZOKsA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/CAP7Ygkwn0J2TGmdMC%3D-MTjKBEPA30EkU1xqerRgCb_H8tC2-GA%40mail.gmail.com.
Message has been deleted
Message has been deleted

Dimitrios G. Panagiotidis

unread,
Jul 15, 2025, 2:26:49 AMJul 15
to al...@googlegroups.com
Hello, hope all are doing well!

I got a quick question in case anyone has had a similar issue:

I recently decided to change my D-Link's DNS-323 host name in Alt-F from 'DNS323' to 'D-Link'. Everything else is the same and Alt-F works fine on my box just like it did before. I can access the share (NAS) if I type the new path (\\D-Link\NAS) in windows. However, for some strange reason I can still access my files if I type the old path e.g. \\DNS323\NAS. It's almost as if the box has retained in memory the old configuration and is using it interchangeably with the new one. I've rebooted both Alt-F and all PCs accessing the box (and even flushed the windows DNS cache) but the behavior persists! Does anyone know why this is happening, and how to fix it? Thank you so much in advance for your help!

PS: I've attached my status page in case ... 

Dimi Pana
Dimi...@gMail.com
D-Link Status page.png

Alex Sl

unread,
Jul 15, 2025, 3:48:18 AMJul 15
to Alt-F
It is possible that the old name value remains on the DHCP/DNS Setup tab.
Check the section "Local Hosts with fixed IP".


вторник, 15 июля 2025 г. в 09:26:49 UTC+3, dimi...@gmail.com:

Dimitrios G. Panagiotidis

unread,
Jul 15, 2025, 6:23:05 AMJul 15
to al...@googlegroups.com
Alex, that's a good point, however I did check and the correct (new) value shows up (look below). Btw, I did not set it manually so it must have happened automatically as soon as I changed the host name and rebooted. Thanks again, I have to keep looking. Could the problem be with my my ISP router which is also the DHCP server?!

image.png
==


--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/rp_PjZOKsA4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.

Dimitrios G. Panagiotidis

unread,
Jul 15, 2025, 6:38:32 AMJul 15
to al...@googlegroups.com
I may have found the problem!

Looking at the screenshot below:
image.png

The SSL certificate still has the old hostname!

How do I change it? Should I just click 'create new' ?! 
🤔
==


On Tue, Jul 15, 2025 at 5:22 AM Dimitrios G. Panagiotidis <dimi...@gmail.com> wrote:
Alex, that's a good point, however I did check and the correct (new) value shows up (look below). Btw, I did not set it manually so it must have happened automatically as soon as I changed the host name and rebooted. Thanks again, I have to keep looking. Could the problem be with my my ISP router which is also the DHCP server?!

==

Reply all
Reply to author
Forward
0 new messages