[ER] ZFS Root & Swap system disk
-
<sekrit>Boot CD, fire up web browser, go to /installer/ on the box, and use the web installer which can already do zfs for you</sekrit>
I assume a memstick will work just as well, right?
-
I don't know anything about the zfs version, it would be whatever is in the underlying OS.
And yes, memstick works too.
-
<sekrit>Boot CD, fire up web browser, go to /installer/ on the box, and use the web installer which can already do zfs for you</sekrit>
One re-install coming upā¦Ā ;D
I guess there's a reason it's sekrit: It doesn't work!Ā :o
Seriously, there's php warnings in the 2.1 version and although both 2.1 and 2.0.1 create ZFS root systems, both of them get stuck on "mountroot>". I did a fair amount of tinkering, including noting that nether creates a /tmp, but nothing could persuade those installs to find their roots.
If anyone wants to tinker: When the zfs install is finished, you'll have to "zfs set mountpoint=/mnt tank0" and then tinker away on the new ZFS root under "/mnt" and then "zfs set mountpoint=legacy tank0" before you reboot.
I suspect I may be running afoul of the zfs cache somewhere, but that's just a guess.
One other thing to watch out for is that apparently 8.3 doesn't know how to write crash dumps to a zfs swap volume, so you'll have to stick with a swap partition for that.
Color me disappointed.Ā :'( ??? :( :-[
One more point: ZFS (when it's available) is wonderful in a fast paced development/test environment because the Boot Environment (BE, beadm) is basically bootable root filesystem thinly provisioned snapshots with the only restriction being available space, and they're essentially instantaneous to take!
I can't help wondering that given the essential BSD-ness of Solaris if it wouldn't be easier to implement pfSense on OpenIndiana? ([url=http://openindiana.org/]http://openindiana.org/) Sigh. ZFS: it's crack for system and network administrators. Darn you big-O!Ā :P ;D
-
I don't know anything about the zfs version, it would be whatever is in the underlying OS.
Both BSD8.3 and Zevo 1.0.x use zpool version 28, so that's a good start.
There are other issues with mounting file systems, like how the file system is declared in the partition table, etc. but these things are relatively easy to fix, different, particularly newer (higher) zpool versions however would be a major obstacle. So at least that means it's conceptually feasible to mount a zfs pfSense file system in Mac OS X with Zevo installed.Now, of course, that would mean a zfs install is doable in the first placeā¦
Together with a drive that doesn't cheat when it comes to SMART statistics, ZFS makes a quite reliable solution even in a single-drive setup. So that would be very cool.
Could also be useful to have an external/additional drive exposed in a DMZ for non critical data, e.g. to remote-backup pictures while traveling, without poking file sharing holes through to the LAN.
-
Both BSD8.3 and Zevo 1.0.x use zpool version 28, so that's a good start.
There are other issues with mounting file systems, like how the file system is declared in the partition table, etc. but these things are relatively easy to fix, different, particularly newer (higher) zpool versions however would be a major obstacle. So at least that means it's conceptually feasible to mount a zfs pfSense file system in Mac OS X with Zevo installed.Eh? There's always "legacy" for when you absolutely must have mounting not done automagically.
Partition tables should go the way of the dinosaur. A disk with a ZFS only with swap etc. as zfs volumes are not only more functional but easier to support if you're a low-level dev,
-
Both BSD8.3 and Zevo 1.0.x use zpool version 28, so that's a good start.
There are other issues with mounting file systems, like how the file system is declared in the partition table, etc. but these things are relatively easy to fix, different, particularly newer (higher) zpool versions however would be a major obstacle. So at least that means it's conceptually feasible to mount a zfs pfSense file system in Mac OS X with Zevo installed.Eh? There's always "legacy" for when you absolutely must have mounting not done automagically.
Partition tables should go the way of the dinosaur. A disk with a ZFS only with swap etc. as zfs volumes are not only more functional but easier to support if you're a low-level dev,
Partition tables are here to stay, because e.g. EFI requires an EFI partition, otherwise the E in EFI goes away.
Not all partition tables are MBR ;)
The GPT that ZFS requires under BSD is also putting a partition table somewhere. The OS needs to know somehow what's on that disk, and until ZFS is the only file system an OS deals with, it needs a partition table to figure out what type of file system is present.
This has very little to do with swapping or not.
Besides, ZFS on OS X is a third party product because Apple dropped it like a hot potatoe after some patent troll company was about to sue them for billions of dollars if they were to adopt it. I hope in time these patents expire or are invalidated or the patent trolls go bankrupt, and Apple will get back into the ZFS game, but until then there is certainly no swapping to ZFS on OS X, because it's not an OS native file system.Unfortunately, it just isn't as simple as it technically could be, because there's too much politics and greed in computing (or anywhere else for that matter).
-
Great to see that this is being discussed.Ā I'm the latest ZFS fan boy and am thrilled to see that it [might] well be in 2.1.
-
Hi guys,
I agree that the ability to install pfsense onto an all zfs filesystem would be fantastic.
It would be worth it just for the ability to set up mirrored drives alone, but there's also the ability to do snapshots.
-Will
-
Per jimp's sekrit I was able to install pfsense (DEVELOPMENT-i386-20120716-1907) onto a single zfs drive successfully but upon reboot I get to hearing the melody and then it hangs just before the welcome menu should appear.
If anyone wants to tinker: When the zfs install is finished, you'll have to "zfs set mountpoint=/mnt tank0" and then tinker away on the new ZFS root under "/mnt" and then "zfs set mountpoint=legacy tank0" before you reboot.
daplumber, what tinkering are you referring to between setting the mountpoints?
-
Hi tojaktoty & daplumber,
have either of you two had any success installing zfs as the filesystem on a pfsense installation in the meantime? I would be very interested in getting it going on my home setup :)