Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by Peter18
A friendly hello to anybody,
this is my problem:
Code:
ls: cannot access '/media/daten': Resource temporarily unavailable
total 16
31681 4 drwxr-xr-x 5 peter sambauser 4096 Jan 17 16:18 .
2 4 drwxr-xr-x 24 root root 4096 Dec 6 16:32 ..
? ? d????????? ? ? ? ? ? daten
127877 4 drwxr-xr-x 2 peter sambauser 4096 Jan 17 16:56 progs
253963 4 drwxr-xr-x 2 root root 4096 Jan 17 16:18 wetter
What can I do to repair the folder daten?
Greetings from the northsee
Peter
Given that I see that the drive mounted to the /media folder; is this a USB drive? CD/DVD disc? Which filesystem is this drive/disc formatted with?
What's telling is that it's not even giving you the permissions output for the same folder, and it's only complaining about that one folder. I suspect that the drive/disc maybe faulty and/or the filesystem is at least partly corrupted.
If it's a USB drive, then you could check the filesystem. But this depends on which filesystem it's formatted with, as to the best way to do that.
It is a raspberry pi only whith SD. System is 2018-10-09-raspbian-stretch-lite. I don't know which file system. The folders in /media are used with samba. No usb, no disk.
Yesterday "ls /media -lisa" worked well. I tried to look at it via samba and got the information 'no permission'. When I tried to solve this today, the result I showed you. I think the filesystem is corrupted.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
I doubt it's a "server problem". I'd say it's either a drive and/or filesystem problem, particularly given what you said yourself (which is what I was also thinking myself).
Make sure your SD card is inserted when you run "lsblk -f", then re-post that output.
Last edited by jsbjsb001; 03-14-2019 at 07:46 AM.
Reason: correction
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Sorry, because your posted /media/daten I wasn't sure if the output of "lsblk -f" you give before was for the drive in question.
Anyway, because it appears it was; then that would mean that it's the drive you have the system installed on, and therefore you would have to un-mount the drive to check it's filesystem - which you can't if it's the drive the system is installed and running on. So you'll have to use a "live system" to run fsck to check the filesystem on it, as from your output it's formatted with the ext4 filesystem.
You could also try checking it with smartctl -a /dev/mmcblk0 and see what (if anything) that turns up - that will check the hardware itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.