Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 13325  / 2 Years ago, thu, october 27, 2022, 1:03:37

A server (running 14 LTS) that I admin had an NFS mount (which I will call "FooFolder") previously set up by another admin (who is not available). The mount broke during some changes on the host server. The host is now working properly again. When I go into the /mnt directory, the remnant left behind by the old mount puzzles me:



foobar@fooserver:/mnt$ ls -al
ls: cannot access FooFolder: No such device
total 8
drwxr-xr-x 3 root root 4096 Oct 7 18:13 .
drwxr-xr-x 24 root root 4096 Oct 13 17:07 ..
d????????? ? ? ? ? ? FooFolder
foobar@fooserver:/mnt$ sudo mv FooFolder FooFolderOld
mv: cannot stat `FooFolder': No such device
foobar@fooserver:/mnt$ sudo chmod 775 FooFolder
chmod: cannot access `FooFolder': No such device


What is this thing that does not exist and cannot be accessed? And what should I do to remove it?


More From » 14.04

 Answers
2

Sometimes asking a question out loud (and hearing responses) lets one rethink a problem more clearly. Hence, some refocused Google searching revealed an answer: http://www.linuxquestions.org/questions/linux-newbie-8/ls-shows-directory-attributes-as-question-marks-942157/



Those are the symptoms of a failed attempt to mount a CIFS share. umount clears the problem and allows it to be properly remounted.


[#22417] Friday, October 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
;