On 1/18/2017 7:30 PM, Adrian Sevcenco wrote: > Hi! Is there a possibility of localroot content to be repaired or > rebuilt? > > I ask because it would seem to me that localroot is a single point of > failure : i have a situation where the first storage partition (where > also localroot is placed) is offline (waiting for drive replacement) > but because of this xrootd services are disabled. (and all other > partitions are not used.) > I could have moved the localroot directory to the OS disk, but i am > worried that if i lose the localroot content i lose the whole data > stored on that server (the data remains but is no longer accessible). > > So, is it possible to reconstruct localroot content based on the > actual content from oss.space paths? > > Thank you! > Adrian > > > ######################################################################## > Use REPLY-ALL to reply to list > > To unsubscribe from the XROOTD-L list, click the following link: > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 Hi Adrian, As I recall, there's an extended attribute called "user.XrdFrm.Pfn". So if you look at the files in oss.space, you can grab the attribute like this: # cd /data/pool1/public/00 # getfattr -d 09172E58E91400000000c0aae37c000300000C6% # file: 09172E58E91400000000c0aae37c000300000C6% user.XrdFrm.Pfn="/data/xrootd/atlas/uct3/data/users/blahblahblah/foo/bar/baz.root" From there you should be able to whip up a script to reconstruct the namespace. Hope that helps. --Lincoln ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1