I am moving files from my CentOs disk to mounted USB drive as root.
My current working directory is /mnt/hdd/backupmy command is :
mv -v /home/haifzhan/20141215/*gz . > history.log
Error Messages on console:
mv: cannot create regular file `./20141215/filename_xxx.gz': Input/output error
mv: writing `./20141215/filename_yyy.gz': Input/output error
My tracking history log in history.log that create by -v by command mv:
`/home/haifzhan/20141215/filename_xxx.gz' -> `./20141215/filename_xxx.gz'
`/home/haifzhan/20141215/filename_yyy.gz' -> `./20141215/filename_yyy.gz'
The destination folder details:
drwx------. 2 root root 319488 May 13 16:46 20141215
Can anyone help? Thanks!
/mnt/hdd/backup, trying to move from/home/haifzhan/20141215to/mnt/hdd/backup/20141215– Haifeng Zhang May 13 '15 at 20:13mv: ‘sample.csv’ and ‘./sample.csv’ are the same file– Haifeng Zhang May 13 '15 at 20:15root, the source directory permission isdrwxr-xr-x. 2 root root 454656 Dec 17 07:04 20141215, based on the error messages, it is kind ofwritingissue – Haifeng Zhang May 13 '15 at 20:20