Comments (5)
Hmm… should we add to the scripts, when running under macOS, the following command?
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
from ltopers.
It appears to use gcp
then calls migratefiles
which in this case would run rsync
. So if all goes well then the rsync
use doesn't do anything, but if gcp
fails than rsync
should attempt to fix it.
from ltopers.
Thank you! I will delve into this.
from ltopers.
@dericed That is certainly how it seems to work for us. migratefiles
does seems to have a problem with .DS_Store, which even if we remove keeps popping back up as it is known to do, causing rsync
to exit with 1 even though all pertinent files have transferred without issue.
/Users/medialab
≈:≈ writelto -v -e N -t LT004B /Volumes/UtilitySAN/LTO/LTO/
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov.qctools.xml.gz' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/objects/2016_129_7_1_PM_MUHAMMAD.mov.qctools.xml.gz'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksumchecks.log' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksumchecks.log'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/dfxml.xml' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/dfxml.xml'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksum.md5' -> '/Volumes/LT004B/LT004B/2016_129_7_1_PM_MUHAMMAD/metadata/checksum.md5'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/objects' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/objects'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/objects/2016_129_7_2_PM_MUHAMMAD.mov' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/objects/2016_129_7_2_PM_MUHAMMAD.mov'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksumchecks.log' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksumchecks.log'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/dfxml.xml' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/dfxml.xml'
'/Volumes/UtilitySAN/LTO/LTO//LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksum.md5' -> '/Volumes/LT004B/LT004B/2016_129_7_2_PM_MUHAMMAD/metadata/checksum.md5'
[writelto] 2017-05-12T11:42:47 - Running: /usr/local/bin/migratefiles -o /Volumes/LT004B /Volumes/UtilitySAN/LTO/LTO//
The input is: /Volumes/UtilitySAN/LTO/LTO//
The target is: /Volumes/LT004B/
[migratefiles] 2017-05-12T11:42:48 - Running: rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114248 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/
sending incremental file list
./
.DS_Store
6,148 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=17/19)
LT004B/
LT004B/LT004B_checksums.txt
3,669,924 100% 28.69MB/s 0:00:00 (xfr#2, to-chk=15/19)
sent 3,677,633 bytes received 75 bytes 7,355,416.00 bytes/sec
total size is 187,117,706,843 speedup is 50,878.89
Removing hidden files from tape.
The input is: /Volumes/UtilitySAN/LTO/LTO//
The target is: /Volumes/LT004B/
[migratefiles] 2017-05-12T11:43:05 - Running: rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114305 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/
sending incremental file list
./
.DS_Store
6,148 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=17/19)
rsync: mkstemp "/Volumes/LT004B/.DS_Store.DFqfim" failed: Operation not permitted (1)
sent 6,775 bytes received 135 bytes 13,820.00 bytes/sec
total size is 187,117,706,843 speedup is 27,079,262.93
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1249) [sender=3.1.2]
2017-05-12T11:43:05 - [migratefiles]Error: Running: "rsync -rtvP --log-file=/Users/medialab/migrate.log --log-file-format=20170512-114305 '%f' %l '/Volumes/LT004B/' /Volumes/UtilitySAN/LTO/LTO// /Volumes/LT004B/" gave an Error Code - 23
2017-05-12T11:43:05 - [migratefiles]The process ran into a critical error and can not proceed.
rsync exited with 0 on the first pass and 1 on the second pass.
Done writing but not ejecting LT004B.
from ltopers.
for the initial issue, see now #105
from ltopers.
Related Issues (20)
- `writelto` calls `renameschemas `
- `verifylto` needs database HOT 2
- function `_check_for_lto_index_dir` is not defined HOT 5
- output of `writelto -h` starts with other information HOT 7
- .schema not writing to LTO_LOGS HOT 21
- clarification for LTO naming HOT 6
- support >6 character tape serials HOT 10
- Misc. Documentation Updates HOT 8
- Issues with error reporting vs error exiting HOT 7
- [wish] simplify tape serial usage
- install via linuxbrew fails at gtk+3 dependency HOT 18
- unable to mount tape with mountlto HOT 2
- LTFS 2.5 is under public review HOT 1
- [wish] add volume name management HOT 2
- /usr/local/bin/formatlto: line 90: mkltfs: command not found HOT 6
- mountlto can't find tape ready to mount HOT 21
- Fail to compile tnftp during install HOT 5
- Mtape MLogic ERROR HOT 3
- New release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltopers.