Hi!
First of all, I am complete newbie in FreeBSD.
I would like to install FreeBSD on ZFS. Modern installer have everything to install FreeBSD on ZFS without any problems, but I have a one "Ideafix", if you know what I mean.
I want to remove Boot and Swap partitions from ZFS pool(RAIDZ1) and move them to separate drives (Boot - USB or SSD, Swap - separate small, but fast SSD or remove Swap completely, because I have 64GB RAM).
Is it possible? I mean isn't it against ZFS/FreeBSD ideology?
If this is possible, can someone point me to some article where I can read about this kind of configuration.
I appreciate any help and have a good day/night to everyone!
THX.
? No need to worry about ideology... Just worry about what actually works... After reading through this thread, I realize my remarks may be late to the party, but, I'd still suggest frankly, accepting the defaults of the ZFS-based installation. I somehow always end up with 2 GB of swap, no matter the RAM... and swap is kind of a pain to add afterwards.
/tmp and
/var/tmp are actually kind of important to have in the normal course of using FreeBSD. So I'd suggest leaving them alone unless some good troubleshooting of actual problems points in the direction of messing with those datasets.
When I compiled ports with just 8GB of RAM, I did have errors that pointed to swap issues (As mentioned earlier, I have just 2 GB of swap). But then I checked how much swap I have on a different machine that I normally use for Poudriere: also just 2 GB. RAM is the important component when compiling ports, not swap. And with your 64 GB of RAM, OP shouldn't have a hard time compiling anything.
So, OP, just accept the defaults, and follow the Handbook... and I'd suggest not doing unnecessary tweaks unless you run into trouble and your hardware is not cooperating with the defaults.
I know that on these Forums, following the Handbook is strongly encouraged, but it's not an ideology, it's a Best Practice that has sound technical reasoning behind it.
Edit: After re-reading the initial post, I gotta add:
/bootand swap are best left alone. Swap is not even visible in
zfs list
, because it's not exactly a dataset, but It's
not impossible to move the
/usr/home dataset, though, and can be a fun challenge.