X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c29fc69a571bc2e4a4e450a09d94adbb305633bd..3101fea587bc08e0f4f00a583d1d9e2c953417c1:/doc/user/tutorials/tutorial-keep-mount.html.textile.liquid diff --git a/doc/user/tutorials/tutorial-keep-mount.html.textile.liquid b/doc/user/tutorials/tutorial-keep-mount.html.textile.liquid index e07be5d907..a41fede744 100644 --- a/doc/user/tutorials/tutorial-keep-mount.html.textile.liquid +++ b/doc/user/tutorials/tutorial-keep-mount.html.textile.liquid @@ -16,17 +16,21 @@ h2. Arv-mount * It is easy for existing tools to access files in Keep. * Data is downloaded on demand. It is not necessary to download an entire file or collection to start processing. -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. +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. For instance, a collection may be found by its content hash in the @keep/by_id@ directory.
~$ mkdir -p keep
 ~$ arv-mount keep
-~$ cd keep/c1bad4b39ca5a924e481008009d94e32+210
-~/keep/c1bad4b39ca5a924e481008009d94e32+210$ ls
+~$ cd keep/by_id/c1bad4b39ca5a924e481008009d94e32+210
+~/keep/by_id/c1bad4b39ca5a924e481008009d94e32+210$ ls
 var-GS000016015-ASM.tsv.bz2
-~/keep/c1bad4b39ca5a924e481008009d94e32+210$ md5sum var-GS000016015-ASM.tsv.bz2
+~/keep/by_id/c1bad4b39ca5a924e481008009d94e32+210$ md5sum var-GS000016015-ASM.tsv.bz2
 44b8ae3fde7a8a88d2f7ebd237625b4f  var-GS000016015-ASM.tsv.bz2
-~/keep/c1bad4b39ca5a924e481008009d94e32+210$ cd ../..
+~/keep/by_id/c1bad4b39ca5a924e481008009d94e32+210$ cd ../..
 ~$ fusermount -u keep
 
+ +The last line unmounts Keep. Subdirectories will no longer be accessible. + +Within each directory on Keep, there is a @.arvados#collection@ file that does not show up with @ls@. Its contents include, for instance, the @portable_data_hash@, which is the same as the Keep locator.