hello friend,
I am using freebsd 13 for my backup server and using rsnapshot as my backup application.
for the first time and the second time the backup is normal but in the next backup there are errors such as
I tried to run the du -sh command and got the same error
I checked that the folder or file was not available, then I tried to delete the daily.0 folder successfully but the remaining file "localhost/usr/include/cam/scsi/scsi_iu/h" could not be deleted.
I have tried rm -rf still cannot be deleted.
how to solve this and how to delete files that appear invalid argument I have tried and looked for ways but it doesn't work.
thank you
I am using freebsd 13 for my backup server and using rsnapshot as my backup application.
for the first time and the second time the backup is normal but in the next backup there are errors such as
Bash:
/bin/rm -rf /mnt/DISK4/BACKUP_DAILY/daily.6/
mv /mnt/DISK4/BACKUP_DAILY/daily.5/ /mnt/DISK4/BACKUP_DAILY/daily.6/
mv /mnt/DISK4/BACKUP_DAILY/daily.4/ /mnt/DISK4/BACKUP_DAILY/daily.5/
mv /mnt/DISK4/BACKUP_DAILY/daily.3/ /mnt/DISK4/BACKUP_DAILY/daily.4/
mv /mnt/DISK4/BACKUP_DAILY/daily.2/ /mnt/DISK4/BACKUP_DAILY/daily.3/
mv /mnt/DISK4/BACKUP_DAILY/daily.1/ /mnt/DISK4/BACKUP_DAILY/daily.2/
/bin/cp -al /mnt/DISK4/BACKUP_DAILY/daily.0 /mnt/DISK4/BACKUP_DAILY/daily.1
cp: /mnt/DISK4/BACKUP_DAILY/daily.0/localhost/usr/include/cam/scsi/scsi_iu/h: No such file or directory
cp: /mnt/DISK4/BACKUP_DAILY/daily.0/localhost/usr/include/cam/scsi/scsi_targetio.h: Invalid argument
I tried to run the du -sh command and got the same error
Bash:
du -sh *
du: localhost/usr/include/cam/scsi/scsi_iu/h: No such file or directory
du: localhost/usr/include/cam/scsi/scsi_targetio.h: Invalid argument
I checked that the folder or file was not available, then I tried to delete the daily.0 folder successfully but the remaining file "localhost/usr/include/cam/scsi/scsi_iu/h" could not be deleted.
I have tried rm -rf still cannot be deleted.
how to solve this and how to delete files that appear invalid argument I have tried and looked for ways but it doesn't work.
thank you