[Slackware-current 14+] ZFS shared with FreeBSD Unix?
by dchmelik from LinuxQuestions.org on (#539DZ)
I dual-boot FreeBSD (64-bit) Unix (13-CURRENT) and Slackware64 GNU/Linux (14+ current) operating systems (OS) and would like to share a ZFS (file-system, fs) partition between them. I did years ago (on stable OS releases) but things changed, like I read FreeBSD will be switching to ZFSOnLinux...?
I wish it was simple as 'mkfs.zfs /dev/sdn,' but really, if you install ZFS, you build your own fs...! (was several days/weeks/months research last time, and maybe a day or few learning/setup project.)
BSD & GNU/Linux developers implemented read-only other OS' journalling fs (UFS/FFS, EXT3/EXT4) but many don't think it's worth having safe read-write of other's... in many discussions on it, there's attitude/terminology of '(in-group & opposing) developer "camps"' (as if a war) sometimes degenerating into distribution (distro) flame-wars usually not so much based on usability/quality/merit rather than false judgments/biases and license preferences (I'm okay with all Free/Libre Software, FLS, licenses, which BSD licenses fall under the category.)
Last time I had to make ZFS on Slackware then FreeBSD (didn't work other way around) so I'm asking here first, despite classic *BSD at least maybe had a larger academic history, stricter standards... but I love both (no GNU/Linux newer than Slackware, and like all the classic BSDs/OpenSolaris.)
All I want is a journalled fs shared by both... don't want/need compression, nor snapshots, nor probably 100 other fancy ZFS features... wish it didn't have to be run under another software system just to configure & mount & manage & view & fsck it and even update it for every single kernel... it was like running an entire new OS within Slackware & BSD just to manage a filesystem... but if that's what you need for journalling, it's worth it (if a third OS, like Windows, has such a fs, I'm pretty sure it's still not as good in many ways.) The aspect of ZFS running under its own software system made it extremely difficult to manage, impossible to do some things in the past like completely delete (I still have a hard disc drive, HDD, running only EXT4 on a spare PC, with an erased ZFS signature on it that always shows up in detection/lists in fs tools... finally learned how to get rid of it, but for average users, using ZFS might be impossible.)
All I found on SlackWiki was a tutorial/HOWTO to install an old version of Slackware inside feature-heavy ZFS inside QEMU... not doing all that right now; just trying to setup a simple journalled data fs (I know many others use various *BSD & GNU/Linux and posted many/dozens of times on various places/forums, but not much on Slackware yet.)
One thing I'm wondering, to start, is on SlackBuilds.org (SBo) the ZFS package has no dependencies... but it used to have a dependency, Solaris SPL, which that package still says you need it for ZFS... is it just not updated (if no longer a dependency) or is that an error in the listings?
After that, where do I start, or is there an up-to-date basic-usage-only tutorial/HOWTO I missed?


I wish it was simple as 'mkfs.zfs /dev/sdn,' but really, if you install ZFS, you build your own fs...! (was several days/weeks/months research last time, and maybe a day or few learning/setup project.)
BSD & GNU/Linux developers implemented read-only other OS' journalling fs (UFS/FFS, EXT3/EXT4) but many don't think it's worth having safe read-write of other's... in many discussions on it, there's attitude/terminology of '(in-group & opposing) developer "camps"' (as if a war) sometimes degenerating into distribution (distro) flame-wars usually not so much based on usability/quality/merit rather than false judgments/biases and license preferences (I'm okay with all Free/Libre Software, FLS, licenses, which BSD licenses fall under the category.)
Last time I had to make ZFS on Slackware then FreeBSD (didn't work other way around) so I'm asking here first, despite classic *BSD at least maybe had a larger academic history, stricter standards... but I love both (no GNU/Linux newer than Slackware, and like all the classic BSDs/OpenSolaris.)
All I want is a journalled fs shared by both... don't want/need compression, nor snapshots, nor probably 100 other fancy ZFS features... wish it didn't have to be run under another software system just to configure & mount & manage & view & fsck it and even update it for every single kernel... it was like running an entire new OS within Slackware & BSD just to manage a filesystem... but if that's what you need for journalling, it's worth it (if a third OS, like Windows, has such a fs, I'm pretty sure it's still not as good in many ways.) The aspect of ZFS running under its own software system made it extremely difficult to manage, impossible to do some things in the past like completely delete (I still have a hard disc drive, HDD, running only EXT4 on a spare PC, with an erased ZFS signature on it that always shows up in detection/lists in fs tools... finally learned how to get rid of it, but for average users, using ZFS might be impossible.)
All I found on SlackWiki was a tutorial/HOWTO to install an old version of Slackware inside feature-heavy ZFS inside QEMU... not doing all that right now; just trying to setup a simple journalled data fs (I know many others use various *BSD & GNU/Linux and posted many/dozens of times on various places/forums, but not much on Slackware yet.)
One thing I'm wondering, to start, is on SlackBuilds.org (SBo) the ZFS package has no dependencies... but it used to have a dependency, Solaris SPL, which that package still says you need it for ZFS... is it just not updated (if no longer a dependency) or is that an error in the listings?
After that, where do I start, or is there an up-to-date basic-usage-only tutorial/HOWTO I missed?