Hi, Pablo! Yuor idea seems to look very similar to what we have done with Jean-Yves at T1_IN2P3, where xrootd cluster uses dcache as mass storage, and files are "staged in" to xrootd from dcache when root clients open them, and garbage collected to free up space.(actually we also have a real MSS, HPSS, in play, but this changes nothing). I can send you the complete set of scripts we have, next week. Our base setup is somewhat similar to slac setup, plus some extra dcache glue scripts. With xrootd, a quick sucess is in cloning someone else's setup exactly, otherwise you'll sweat a lot. :)) cheers, Artem.