cloudius-systems / osv

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

ZFS on OSv - known limitations #388

Open raphaelsc opened 10 years ago

raphaelsc commented 10 years ago

ZFS replay ZFS snapshot ZFS volumes ZFS clones : (reference: http://docs.oracle.com/cd/E23824_01/html/821-1448/gbcxz.html#scrolltoc) : clones are created from snapshots, so ZFS snapshot has to be fixed first.

Please leave a comment if you're aware of any other limitation which wasn't mentioned above.

rektide commented 10 years ago

I'd add cloning to the list, please and thank you thank you thank you. Being able to take a single data-set, then create a bunch of clones that can independently be modified is one of ZFS's most fabulous features, and it's something that apps ought to be able to do.

What's the status of handling multiple mounts and multiple pools? If I have a high speed disk pool with two data-mounts, and a low-speed disk pool with a dozen mounts for different users, is it possible to access these various pools/mounts within OSv?

346 talks about exposing the current management APIs to the app- seems relevant here. Being able to meddle with ZFS is something both management interfaces need to be able to do, and something the app itself ought be able to easily do as well.

raphaelsc commented 10 years ago

Thanks for the inputs, ZFS clone has been added to the list. OSv already supports multiple pools with multiple datasets. I suppose you mean external pools being used within OSv, right? If that's your question, you only need to specify the pools (in the host, either as image files or blk devices) for the VM as devices. Currently, pool import needs to be done manually within OSv, so you will need to import to the target pools, and mount them (mount can be automatically done when importing the pools, at the default mount points).

wkozaczuk commented 5 years ago

Given how few resources we have I suggest we close this issue.

nyh commented 5 years ago

Let's not close this issue - we need to rememeber which ZFS features we are missing in case anybody ever comes asking. But it doesn't mean we need to work on this issue.