Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building a squashfs file

On Koa, users cane can create a squashfs archive using the mksquashfs on a compute node. For example, let us assume we have a folder located at ~/koa_scratch/database which contains 10K files with an average file size of 512K. I could create a single file, let us call it database.sqfs and also save it in ~/koa_scratch with the following command:

...

Note

Note: the squashfs archive can only be mounted on folder that reside in your home directory or in /tmp on a given node. Also be aware that squashfuse will only mount the archive on the node the command is executed from and would only be accessible on that node. An archive can be mounted on multiple nodes at the same time at the same path for each node that needs access to the archive.

Code Block
mkdir /tmp/database
squashfuse_ll -otimeout=43200 ~/koa_scratch/database.sqfs /tmp/database

...