I have been trying to configure a zpool so that I can export part of it readonly (let's say /tank/readable/) and another part with read and write privileges (say /tank/writable/). My reading of
I would be interested in any approaches people have used to address this issue. I suspect the approach would be with
man exports
and various posts is that the export process is fairly rigid for a file system/client pair - you can effectively only have one configuration. I've tested a variety of simple tricks but they simply failed; symlinks appear forbidden as an export root, and while I could export a folder with a symlink inside, the symlink was a link within the client's file system (not surprisingly, in retrospect).I would be interested in any approaches people have used to address this issue. I suspect the approach would be with
zfs create
to make a new file system in the zpool; does that sound reasonable? I presume I would have to mv
the data from /tank/writable/ to the new file system (since symlinks are out), but if there are other options that would allow the writable data to remain at the root level of the zpool I'd like to hear them.