3036: Merge branch 'master' into 3036-mutable-collections
[arvados.git] / doc / user / tutorials / tutorial-keep-mount.html.textile.liquid
1 ---
2 layout: default
3 navsection: userguide
4 title: "Mounting Keep as a filesystem"
5 ...
6
7 This tutoral describes how to access Arvados collections using traditional filesystem tools by mounting Keep as a read-only file system using @arv-mount@.
8
9 {% include 'tutorial_expectations' %}
10
11 h2. Arv-mount
12
13 @arv-mount@ provides several features:
14
15 * You can browse, open and read Keep entries as if they are regular files.
16 * It is easy for existing tools to access files in Keep.
17 * Data is downloaded on demand.  It is not necessary to download an entire file or collection to start processing.
18
19 The default mode permits browsing any collection in Arvados as a subdirectory under the mount directory.  To avoid having to fetch a potentially large list of all collections, collection directories only come into existence when explicitly accessed by their keep locator.
20
21 <notextile>
22 <pre><code>~$ <span class="userinput">mkdir -p keep</span>
23 ~$ <span class="userinput">arv-mount keep</span>
24 ~$ <span class="userinput">cd keep/c1bad4b39ca5a924e481008009d94e32+210</span>
25 ~/keep/c1bad4b39ca5a924e481008009d94e32+210$ <span class="userinput">ls</span>
26 var-GS000016015-ASM.tsv.bz2
27 ~/keep/c1bad4b39ca5a924e481008009d94e32+210$ <span class="userinput">md5sum var-GS000016015-ASM.tsv.bz2</span>
28 44b8ae3fde7a8a88d2f7ebd237625b4f  var-GS000016015-ASM.tsv.bz2
29 ~/keep/c1bad4b39ca5a924e481008009d94e32+210$ <span class="userinput">cd ../..</span>
30 ~$ <span class="userinput">fusermount -u keep</span>
31 </code></pre>
32 </notextile>