Access Stash remotely


Stash runs on Ceph, a highly-scalable, clustered, POSIX-compliant network filesystem. You may use this feature for temporary data storage.

This page will introduce users to accessing data stored on stash remotely using HTTP and XRootD.

Stash Area

After you login to, you can access your stash area as followed:

Stash is mounted on the CMS Connect login node ( at /stash, and is accessible to workers via XRootD. The portion of your Stash designated public is also available directly via HTTP. 

Set up tutorial files
% ssh
$ ls /stash/user/khurtado
public  work
$ cd /stash/user/khurtado/work
$ ls

Accessing Stash via HTTP

User accounts on CMS Connect have a directory that is automatically web accessible via .  This directory is located at /stash2/user/username/public. To make a file or directory accessible, copy it to this directory or a subdirectory of this directory and give files permissions of 644 and directories permissions of 755.  E.g. :

Browsing the public Stash area

Copying files via HTTP

You can download your files using wget easily:

Accessing files using wget
$ wget --no-check-certificate
--2015-10-30 15:56:18--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2015-10-30 15:56:18--
Reusing existing connection to
HTTP request sent, awaiting response... 200 OK
Length: 3996 (3.9K) [text/x-c]
Saving to: “rootlogon.C”

100%[===================================================================================================================================================>] 3,996       --.-K/s   in 0s      

2015-10-30 15:56:19 (176 MB/s) - “rootlogon.C” saved [3996/3996]

You can also use curl, for example:

Accessing files using wget
$ curl -L > rootlogon.C
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102  3996  102  3996    0     0   234k      0 --:--:-- --:--:-- --:--:--  234k