Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.34 KB

OsvFilesystem.md

File metadata and controls

22 lines (18 loc) · 1.34 KB

Filesystems

OSv unikernel supports multiple filesystems - ZFS (Zeta File System), ROFS (Read-Only File System) and RamFS. This means that user can build an image, run it and have OSv mount one of these filesystems.

ZFS

ZFS is the original and default filesystem OSv images built by Capstan come with. ZFS is very performant read-write file system ideal for running stateful apps on OSv when data needs to be changed and persisted. For more details please read this and that.

ROFS

Read-Only Filesystem has been added recently to OSv and requires latest version 0.51. As the name suggests ROFS allows only reading data from files and therefore well suites running stateless applications on OSv when only code has to be accessed. For more details look at this commit and original Python script.

Composing packages

When composing OSv images using capstan package compose, please select desired filesystem using new -fs option like so:

capstan package compose --fs rofs <my-package-name>