Answer the question
In order to leave comments, you need to log in
File not being read or deleted from disk on Debian (questions instead of rights and ownership)?
Situation: A Debian (v.8.8) server is running rsnapshot (v.1.3.1) for redundancy. At some point, errors began to appear in the mail:
/bin/rm: cannot remove ‘/home/backup/rsnapshot/hourly.11/srv/home/user/dir’: Directory not empty
[email protected]:/home/backup/rsnapshot/hourly.11/srv/home/user/dir# ls -lai
ls: cannot access file.xml: No such file or directory
total 60
? -????????? ? ? ? ? ? file.xml
[email protected]:/home/backup/rsnapshot/hourly.11/srv/home/user/dir# rm file.xml
rm: cannot remove ‘file.xml’: No such file or directory
Answer the question
In order to leave comments, you need to log in
Check the file system for errors, fsck will help you with this.
https://www.ibm.com/support/knowledgecenter/ru/ssw...
There is a possibility that your hard drive is dying.
No such file or directory - this also means that this file or directory is missing
Problem with FS, possibly caused by a problem with the drive.
First, fsck, then look in SMART and change the drive in a panic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question