tar - file changed as we read it
1 Attachment(s)
mmm... im getting errors when running this command -
cd /vol/cha-work/_ARCHIVE/to_be_archived/audio/robert_test/ tar -cf /vol/cha-archive/audio/after_louise_1606.tar after_louise_1606/ tar: after_louise_1606/renders_from/from_clipster/160922_after_louise_prores422_cont_51_clp_jd: file changed as we read it tar: after_louise_1606/renders_from/from_clipster: file changed as we read it tar: after_louise_1606/renders_from: file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines/161019: file changed as we read it |
I wouldn't say it was an error. It looks like files were changes during tar, that was reported, and that's all. I think you you need to check if those file were really modified.
|
well thats what i thought, its just a warning not an error then it stopped creating the tar -
tar: after_louise_1606/renders_from/from_clipster/160922_after_louise_prores422_cont_51_clp_jd: file changed as we read it tar: after_louise_1606/renders_from/from_clipster: file changed as we read it tar: after_louise_1606/renders_from: file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines/161019: file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines/reel_5/160804/ No effects guide for SRC check : file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines/reel_5/160804: file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines/reel_5: file changed as we read it tar: after_louise_1606/conform_materials/feature/offlines: file changed as we read it tar: after_louise_1606/conform_materials/feature: file changed as we read it tar: after_louise_1606/conform_materials: file changed as we read it tar: after_louise_1606/audio/Continuous Mix: file changed as we read it tar: after_louise_1606/audio: file changed as we read it tar: after_louise_1606/renders_for/for_VT/160925_after_louise_prores422_cont_51_clp_iz: file changed as we read it tar: after_louise_1606/renders_for/for_VT: file changed as we read it tar: after_louise_1606/renders_for/for_online/161117_after_louise_reel_05_dnx36_rec709_f2l_bl_or/1920x1080: file changed as we read it tar: after_louise_1606/renders_for/for_online/161117_after_louise_reel_05_dnx36_rec709_f2l_bl_or: file changed as we read it tar: after_louise_1606/renders_for/for_online: file changed as we read it tar: after_louise_1606/renders_for: file changed as we read it tar: after_louise_1606: file changed as we read it something went wrong with the tar, please do manually |
how do you think tar can create a tarfile for you if the sources are continuously changing? What is the expected result?
|
looks like hasnt been touched -
drwxrwxrwx 12 root cha-work 307 Mar 9 12:34 . drwxrwxrwx 3 root cha-work 35 Mar 10 09:21 .. drwxrwxrwx 12 root cha-work 368 Mar 9 11:51 audio drwxrwxrwx 4 root cha-work 62 Mar 9 11:53 blfx drwxrwxrwx 4 root cha-work 102 Mar 9 11:04 conform_materials drwxrwxrwx 4 root cha-work 100 Mar 9 10:34 DCI -rwxrwxrwx 1 root cha-work 4.0K Mar 9 11:04 ._.DS_Store -rwxrwxrwx 1 root cha-work 6.1K Mar 9 11:48 .DS_Store drwxrwxrwx 7 root cha-work 185 Mar 9 11:53 gfx drwxrwxrwx 5 root cha-work 104 Mar 9 11:52 media drwxrwxrwx 10 root cha-work 285 Mar 9 12:34 renders_for drwxrwxrwx 8 root cha-work 182 Mar 9 11:04 renders_from drwxrwxrwx 2 root cha-work 0 Mar 9 11:53 _temp drwxrwxrwx 5 root cha-work 168 Mar 9 12:35 _tests |
sorry, but I do not understand. if it was the directory /vol/cha-work/_ARCHIVE/to_be_archived the times here are irrelevant.
|
sorry that ls-lah is for the after_louise_1606/ directory
|
still unclear, that output has no real meaning if we do not know anything else about that issue.
|
mmm...
looks like its working as i have created a 10gig file using the dd comand and its located in untitledfolder/ tar -cf /vol/cha-archive/audio/untitledfolder.tar untitledfolder/ and that works without any warnings about file changed as we read it but i cant work it out because the folder after_louise_1606 i know 100% def it is not being written/read to at all so i dont know why its giving me these warnings and then failing on the tar oh well |
You have no background processes, perhaps anti-malware scanners, filesystem checkers or similar, that could be touching files?
If you want to investigate further, you could take a look at inotify. |
what about if i use any of these option with the tar command
--ignore-failed-read --ignore-command-error |
--warning=no-file-changed might be more relevant. However, I imagine that it would be better, although possibly non-critical, to find out what's actually causing the problem.
|
yes exactly work out the real problem why it doesnt do it in the first place but you think if i use that option you provided it will not fail the tar command?
|
Quote:
Give it a go. |
You think its still tarring up those individual files its producing the warning for or it just gives up altogether and fails the whole tar as its producing loads of warnings for individual files?
|
All times are GMT -5. The time now is 05:33 AM. |