cloudius-systems / osv

OSv, a new operating system for the cloud.
osv.io
Other
4.12k stars 605 forks source link

Mounting ZFS filesystem from arbitrary device and partition #1200

Closed wkozaczuk closed 2 years ago

wkozaczuk commented 2 years ago

Currently, the build process and OSv runtime assume that the ZFS filesystem must be mounted from the 1st partition on /dev/vblk0 which maps to the device /dev/vblk0.1. However, it would be beneficial to be able to mount the ZFS filesystem from a different device and partition.

There are at least two desirables scenarios we would like to support:

This has at least two benefits:

wkozaczuk commented 2 years ago

Even though this issue is closed, I am referencing this SeaweedFS app readme that describes extensively how we use the 2nd method (ZFS on a separate disk).