Hi Brian,

Well, an interesting predicament you have. I’d suggest a symlink.

/xenon1t –> /mnt/data

and then export xenon1t

It’s much easier if the name spaces are straightened out well ahead of people storing files into the server.

Andy

From: Brian P Bockelman
Sent: Friday, October 12, 2018 11:12 AM
To: xrootd/xrootd
Cc: Subscribed
Subject: [xrootd/xrootd] Grafting parts of the exported namespace (#840)

For the OSG data federation, we want to assign each VO a certain namespace (let's say the "Xenon1T" VO gets assigned /xenon1t).

The Xrootd server that wants to export its data has the Xenon1T files mounted at /mnt/data. So, the Xenon1T file /foo is physically at:

/mnt/data/foo
but should be exported as:

/xenon1t/foo
That is, root://xrootd.example.com:1094//xenon1t/foo.

Looking at the documentation, I thought oss.remoteroot was the way to integrate this: I think was incorrect.

What's the right way to configure the OFS / OSS for this setup?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@abh3 in #840: Hi Brian,\n\nWell, an interesting predicament you have. I’d suggest a symlink.\n\n/xenon1t –\u003e /mnt/data\n\nand then export xenon1t\n\nIt’s much easier if the name spaces are straightened out well ahead of people storing files into the server.\n\nAndy\n\nFrom: Brian P Bockelman \nSent: Friday, October 12, 2018 11:12 AM\nTo: xrootd/xrootd \nCc: Subscribed \nSubject: [xrootd/xrootd] Grafting parts of the exported namespace (#840)\n\nFor the OSG data federation, we want to assign each VO a certain namespace (let's say the \"Xenon1T\" VO gets assigned /xenon1t).\n\nThe Xrootd server that wants to export its data has the Xenon1T files mounted at /mnt/data. So, the Xenon1T file /foo is physically at:\n\n/mnt/data/foo\nbut should be exported as:\n\n/xenon1t/foo\nThat is, root://xrootd.example.com:1094//xenon1t/foo.\n\nLooking at the documentation, I thought oss.remoteroot was the way to integrate this: I think was incorrect.\n\nWhat's the right way to configure the OFS / OSS for this setup?\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly, view it on GitHub, or mute the thread.\n"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/840#issuecomment-430042300"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/840#issuecomment-430042300", "url": "https://github.com/xrootd/xrootd/issues/840#issuecomment-430042300", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [xrootd/xrootd] Grafting parts of the exported namespace (#840)", "sections": [ { "text": "", "activityTitle": "**Andrew Hanushevsky**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@abh3", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 840,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 840\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd/issues/840#issuecomment-430042300" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 392678103\n}" } ], "themeColor": "26292E" } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1