Thanks,
This answered the one question I was about to write to Scott about (how much of
the object tree to represent), but saved me yet another admission of
cluelessness.
Scott -- thanks for the script -- its spot on!
p
________________________________
From: Richard Sarvas [richard.sar...@lib.uconn.edu]
Sent: Wednesday, October 09, 2013 3:44 PM
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] Navigating the Fedora Storage Hierarchy
Patrick,
The data stream location is based on the MD5 of the file name. Example:
info%3Afedora%2Fislandora%3A113%2FTN%2FTN.16 =
info:fedora/islandora:113/TN/TN.16
file name MD5: 7dd10e6573d1ffff98e398f666429541
Location [Fedora
DIR]\data\datastreamStore\7d\info%3Afedora%2Fislandora%3A113%2FTN%2FTN.16 <--
if using “##” format
Or
Location [Fedora
DIR]\data\datastreamStore\7d\d1\info%3Afedora%2Fislandora%3A113%2FTN%2FTN.16
<-- if using “##/##” format
Rick
From: Yott, Patrick [mailto:p.y...@neu.edu]
Sent: Wednesday, October 09, 2013 3:03 PM
To: fedora-commons-users@lists.sourceforge.net
Subject: [fcrepo-user] Navigating the Fedora Storage Hierarchy
Fedora Folk:
I'm trying to determine how I can interpret the storage location of files
stored within my datastreamStore. My end game is to have Wowza (which sits
atop the same storage mount as our Fedora instance) "reach" into the storage to
play a video asset that is managed by Fedora. The mechanism would be to have
fedora create a URL as a dissemination that would provide a wowza link to the
asset itself.
The datastream record contains an internal reference that begins with the PID,
like this:
<foxml:contentLocation TYPE="INTERNAL_ID"
REF="neu:16+THUMBNAIL+THUMBNAIL.0"/>
but there are higher level directories (named with 2 character patterns) within
the datastreamStore directory that must be traversed before I can actually
locate this asset.
I poked around the mySQL tables, but I don't find any that provide this sort of
information.
I'm more than confident that I'm missing something obvious here, so any
pointers / kicks to the head would be greatly appreciated.
thanks,
Patrick
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users