On Fri, Apr 22, 2011 at 10:19 PM, Hank Magnuski <[email protected]> wrote:
> > I seem to be ending up with four or more copies of an uploaded file, and > I'm not sure who's in charge of cleanup and what files are supposed to be > retained. > > The files in /streams and /downloads are probably ok based on the > distribution workflow, but what's the difference between /files/mediapackage > and /workspace/mediapackage? > > If those two paths are from a single physical volume, those are two hard links pointing to the same file. So even though it looks like you have four files, they are really only taking up the space of two. The reason we have two "copies" is to enable the software to work when the files are hosted either locally or remotely. When possible we create a hard link. When hard links are not possible because the file is hosted remotely, we download the file to the workspace. It might be worth considering having Matterhorn add a README to those directories on startup if none exists, just so folks don't have to wonder what these directories are used for. > And for the default workflow cleanup: > > <configuration > key="preserve-flavors">*/source,dublincore/*</configuration> > > what is supposed to get preserved and where? Any element with a flavor */source (e.g. a presentation/source track) or dublincore/* (e.g. a dublincore/episode catalog) will be preserved in "both" locations, again, as hard links if available on the filesystem. Josh > I assume this saves the original ingested file in one of these directories, > but I still seem to have another copy left over. > > Hank > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
