12 ms·
FreeBSD 11.1 released
- PhantomGremlin 9y agoIf I'm comfortable using command line tools, should I just use FreeBSD and ZFS directly to build a NAS, or should I go with FreeNAS? I assume that using version 11.1 is the way to go? No point in using the 10.x branch?
- ianai 9y agoI'm interested in what people think. For me, I'd be inclined to go FreeBSD as I perceive it to be more standard. If you're actually using either branch you had better be great at the cli.
- stock_toaster 9y agoI built a NAS with base FreeBSD, because I am comfortable with the command line, and didn't need a gui solution. Not much to report -- it works great. If you go with plain FreeBSD, yes...go with 11.1. No point using the 10.x branch unless you have some specific reason to (eg. some specific legacy support requirements or something).
- alwillis 9y agoIf I were you, I'd use FreeNAS, which is already battle tested.
- 59nadir 9y agoFreeBSD is pretty battle tested, both for NAS stuff and in general.
- alwillis 9y agoI just meant it's easier to use a purpose built thing like FreeNAS vs. FreeBSD 11.1 which just came out. FreeNAS will be on 11.1 soon enough; unless there's a feature in FreeBSD 11.1 you absolutely need right now, most people will be better off using FreeNAS for now.
- rsync 9y ago"If I'm comfortable using command line tools, should I just use FreeBSD and ZFS directly to build a NAS, or should I go with FreeNAS? I assume that using version 11.1 is the way to go? No point in using the 10.x branch?" I would build the NAS using plain old FreeBSD and I would indeed use 11.1. If it were a week ago, I would have advised 10.3 as, historically, x.0 releases of FreeBSD have been ill-advised. If you are comfortable on the command line I see no reason to use FreeNAS/TrueNAS. This is how I run my home fileserver. It is also how I/we run all of rsync.net - ZFS filesystems on top of plain old FreeBSD.
- dijit 9y agoI'm going to disagree with you here; I don't believe I'm in such a unique position of having run both FreeNAS and FreeBSD on the same hardware (with the same zpool) so I expect others to chime in. FreeNAS has been better from a performance perspective than FreeBSD raw was- why? Probably because I didn't do the right thing for good performance on FreeBSD. But that's my point here.. why spend ages configuring things to get the same performance you'd get OOTB with FreeNAS? You also get a webUI for "free" and plugins to run things like transmission and plex. I don't advise using raw FreeBSD for home use, power users can still have all the CLI access on FreeNAS too, but may not want the "bloat" of a webUI.
- chongli 9y agoI've been using FreeBSD as a NAS with ZFS since ZFS was first added. I love it! The man pages are fantastic, the FreeBSD handbook is amazing, and the whole system feels really cohesive and well-designed. I use Arch Linux on my desktop but I would switch to FreeBSD in a heartbeat if it addressed the desktop-related issues I had last time I tried it. It would be especially amazing if they fixed all the sleep and power management stuff so it could be used on a laptop with good battery life.
- terminalcommand 9y agoI was a long time FreeBSD user before I switched to Arch. FreeBSD is a pure and beautiful system, but Linux provides much better performance and ease of use in desktop related tasks. The network stack on FreeBSD is of magnitudes faster than Linux (based on my experience with both OSes), however this does not compensate for power management issues and general slugishness while using linux software. If you're using FreeBSD on your main computer, you need some kind of a Desktop Environment, if you don't want to stick with KDE4, you install GNOME. However, GNOME is ported from Linux and although most of the time it works without problems, there is a speed compromise (again only based on my experience). Upsides of FreeBSD: • The Package Repository is great, most apps such as firefox, emacs, IDE's are maintained at their latest versions. • The system works solid, no crashes • FreeBSD feels more like Unix, and if you're interested in the low level stuff you can learn more quickly. The source code is clean, the implementations are not complicated. • Drivers are scarcer than Linux, but if there is a driver, it works flawlessly. The points I'm neutral about: • Behyve and ZFS are all great technologies, however they were a bit complex for my test. I couldn't manage to setup a Linux server with X11 forwarding. As for ZFS, I used FreeBSD on my laptop with a 256G SSD drive, so I did not see much benefit of ZFS. However, I was aware that if I had used VMs, ZFS would offer much better IO performance. As for sleep and power management issues: • Power management on FreeBSD is good, not great like Linux and you don't have powertop and tlp available. But it's good. You can expect upto 70-80% of the battery life you get in Linux. (You don't even have to tinker with C-States and all, just powerd or powerdxx works great out of the box.) As for sleep issues, mostly on FreeBSD the closing the lid or pressing the power button won't be recognized as a sleep trigger. But on most laptops 'acpiconf -s3' puts your laptop to sleep.
- 0xbear 9y agoYou don't have to use FreeBSD if ZFS is your only draw, though. Ubuntu supports ZFS out of the box.
- rleigh 9y agoZFS on Linux is quite inferior; there's a lot of missing functionality and some not so nice bugs. You also can't run ZFS on root without manual installation (I've done this). ZFS on FreeBSD has been flawless for me. ZFS on Ubuntu is functional but limited, and I've experienced some odd glitches.
- michaelmrose 9y agoZfs on funtoo here. Seems to be working well and since all funtoo installs are manual its not much different from any other install.
- deleted 9y ago[deleted]
- 0xbear 9y agoOther than difficulty with ZFS on root, I think you're just making stuff up. I run a rather heavily used set of RAIDZ2 arrays and everything works fine. No "odd glitches" or anything.
- rleigh 9y agoOn the contrary, it's quite true. I'm a little disturbed by how readily people ascribe nefarious intent to assertions regarding things they have not experienced themselves. You might not have experienced problems, but that does not logically imply that it is free of problems. A few months back, I booted my Ubuntu 16.10 workstation. No ZFS datasets were mounted at boot. Regular "zfs mount" and "mount" failed. Could not get the datasets to mount at all, even though the pool was active and the datasets were visible. Solution: changing the mountpoint worked for some reason. Still no idea what triggered this or why the fix worked. Either way, it broke the system's normal functioning through no intervention of my own. I've also had the zfs and zpool commands get stuck in "D" state indefinitely because something internal had blocked everything. Mounted filesystems continued to work, but no admin commands would work. Triggered by running some trivial admin function. After a few days I had to hard reset the system to regain control. This looks like a locking bug. I've also had poor behaviour when a disc glitched and I got an oops rather than ZFS coping with the short outage. IIRC I got the same "D" state issue as above. I never encountered any such problems with FreeBSD, and I've run it on both platforms for years. ZFS on Linux is functional, and I use it daily, but the FreeBSD implementation is better.
- LeoPanthera 9y agoI've been using FreeNAS for over two years and I would hate to try to use plain FreeBSD. FreeNAS is, as they say, "batteries included". If you're specifically setting up a NAS, I can't imagine why you would want to do more work for apparently little benefit.
- TheAceOfHearts 9y agoSince I'm not an expert, I went with FreeNAS. It's largely "ready to go" out of the box, and having a GUI makes things very discoverable. Even if you're comfortable with CLI tools, you might not be familiarized with all the tools used in a typical NAS setup. Heck, you might not have much devops experience, which could lead to overlooking a key detail, such as setting up regularly scheduled scrub and SMART tests and having it email you if anything requires your attention. Even if you're well versed on these topics, I'd still suggest trying it out on a VM, or at least reading through their guides. Seeing the approach taken by someone else might help you refine your own setup. Unfortunately, the last few months haven't been great for FreeNAS. They had a horribly botched release. It was killed off fairly quickly, but a few people got burned over it. The good news is that they changed their mind on their expected breaking changes. Initially they intended to kill off jails in favor of docker, which made it a painful upgrade process for some existing users. From an outsider's perspective, it looked rush. Even though I'm happy with my setup, it made me a little more weary about quickly adopting major upstream changes. Go with FreeNAS 11.
- toddnni 9y agoOne important thing, that is not pointed out yet: FreeNAS has easy upgrade path for major OS versions. That is something that I miss when running plain FreeBSD. Plus, you can always switch between plain and FreeNAS installation.
- bakul 9y agoFor home use FreeBSD+ZFS will leave more control in your hands. For a (stable) filesystem node If I were you, I'd let others debug the latest release and just use 10.3. Or at least lag the latest release by a few months to a year or so.
- tete 9y agoIt mainly depends on what you are trying to achieve and whether you consider that time worthwhile. They are both great options and FreeNAS already gives you a lot of flexibility. It's a bit like with a router. Do you use something along the lines OpenWRT and mainly log in to the command line, not because you have to, but because you can then you might want to go with FreeBSD and ZFS. However, if you don't know if it is flexible enough and fits: Go with FreeNAS and fall back to FreeBSD. I think that's the best option for most people.
- floatboth 9y agoYou're comfortable with CLI tools, but there are other considerations. Do you like "appliances"? How much do you value "stability" as in running old stuff? I would recommend HardenedBSD 12-CURRENT but maybe that's just me :D
- insertnickname 9y agohttps://news.ycombinator.com/item?id=12681143 https://news.ycombinator.com/item?id=12681143 >HardenedBSD is one of the bigger jokes in the BSD community. [...]
- floatboth 9y agoa comment from someone on hacker news 288 days ago, sounds like a credible source alright
- lmm 9y agoI'd use plain old FreeBSD. FreeNAS makes some questionable choices; to my mind it ends up being more trouble than it's worth.
- rsync 9y agoSomeone else in this thread, speaking of something else, wrote this line: "I assume that using version 11.1 is the way to go? No point in using the 10.x branch?" ... and that is everything that is wrong with FreeBSD - and has been for over ten years. I wrote a long critique of this issue in 2012 that you can read in the mailing list archives: https://lists.freebsd.org/pipermail/freebsd-hackers/2012-January/037294.html https://lists.freebsd.org/pipermail/freebsd-hackers/2012-Jan... ... and although many of the core team had agreeable sentiments in the very long discussion that followed, nothing at all has changed. The poster is correct - there is indeed no point in using the 10.x branch. What he doesn't know is that there has been no point in using the 10.x branch for over a year now[1] but since the 11 release was at "dot zero" you were ill-advised to use that as well. This means that for over a year there has been no good answer to the question "which version of FreeBSD should I use". In summary: FreeBSD is an operating system by, and for, FreeBSD developers. It is very difficult to invest time and money into FreeBSD because the platform is neither stable[2] nor long-term. Finally, FreeBSD, possibly unwittingly, loses a lot of end-user development and reinvestment since end users are never working on the same OS that the developers are.[3] [1] As usual, all new drivers and non-critical bug-fixes go to 11, since that is what "is current" and nobody bothers backporting any of it to 10. This was true even before 11.0-RELEASE came out. [2] I don't mean stable in terms of reliability - FreeBSD is rock solid and we trust all of rsync.net to it - I am speaking of the stability of the OS platform itself and what functions it is capable of. [3] I'm not interested in your success stories running CURRENT in production. The official stance of the FreeBSD project is that CURRENT "includes works in progress, experimental changes, and transitional mechanisms". They go on: "FreeBSD-CURRENT is not in any way “officially supported".
- ianai 9y agoThat's a really good point. Have any of the branches tried to address this? There's nothing stopping anybody from making a branch that does sane versioning & maintenance.
- toast0 9y agoI'm not sure how you would address this with a branch, while keeping your sanity. If I understand the parent, he would like to see more frequent releases, especially more frequent releases of fixes to bugs seen in the released versions, but I think he would also want to keep quality of releases about the same. That means, you probably just can't cut releases on a schedule and call it a day, you also have to decide which commits should be added to your inbetween releases, and which should wait. Sometimes, that's probably pretty easy, but other times, I would expect a lot of things to be mixed together, especially when code refactoring is needed to enable new features, the refactoring may (hopefully) fix existing bugs, but the new features are likely to be unstable for some time, and shouldn't really get into a release until they're done. Managing that without upstream cooperation sounds like a nightmare, or at least like something that needs a team of smart people.
- deleted 9y ago[deleted]
- SwellJoe 9y agoAnybody know what the deal with blacklistd is? I googled and finally found the man page, but it's not immediately apparent why one might choose using it over using something like fail2ban (which works for any service and can block all ports, not just ssh)?
- petre 9y agoIt listens on a socket for failed login notifications from other daemons. I'd say this approach is better than what fail2ban does (scans logs with regexps), but it has to be supported upstream so the daemons actually notify blacklistd.
- emaste 9y agoThe FreeBSD Foundation's projects update from earlier this year has an introductory summary: https://www.freebsdfoundation.org/blog/february-2017-projects-update/ https://www.freebsdfoundation.org/blog/february-2017-project...
- jlgaddis 9y agoHere's a (~24m) talk by the author about blacklistd at the last vBSDcon: https://m.youtube.com/watch?v=fuuf8G28mjs https://m.youtube.com/watch?v=fuuf8G28mjs To me, it seems kinda novel but I can't see myself ever using it across my production servers.
- tachion 9y agoWhile you're here, have you donated[0][1] yet? :) You may or may not be aware, but FreeBSD runs your movies on Netflix, your games on PlayStation 4 and Nitendo Switch, your files on FreeNAS and ZFS, your friends on WhatsApp and OpenBSD runs everything else on OpenSSH. ;) So, you may or may not know that, but you need FreeBSD and OpenBSD and they also need you! Every cent counts and so does every contributor, that helps the foundations keep their non-profit status. [0] https://www.freebsdfoundation.org/donate/ https://www.freebsdfoundation.org/donate/ [1] https://www.openbsd.org/donations.html https://www.openbsd.org/donations.html
- harry8 9y agoSurely Netflix should be donating. Surely Sony should be donating. Surely Nintendo, Facebrick(Whatsapp). While you're here what did they donate?
- iiv 9y agoBoth Netflix and Whatsapp has donated. I could not find any source that Nintendo or Sony donated, though.
- harry8 9y agoWas it a token gift redolent in condescension or was it actually something approximating some meaningful fraction of the opportunity cost of having selected something else other than the BSD project as a supplier? Cynicism would say the former but I'd be delighted if I were wrong.
- bidouilliste 9y agoWhatsapp donated 1 million dollars two years ago and 500000 dollars last year iirc. For Netflix I don't know but they employ a lot of FreeBSD devs and upstream all their work.
- danieldk 9y ago
- rleigh 9y agoFirst system (NAS) upgraded flawlessly with `freebsd-update` and I'll see how it fares over the next week before upgrading the rest at home and work. Many thanks to all the FreeBSD crew for all their hard work.
- stock_toaster 9y agoThis release also finally compiles NAT-T into the kernel by default. I can finally run a strongswan/ikev2 server without needing to compile a kernel just for nat traversal. woohoo!
- aduitsis 9y agoexcellent news!!!!
- kchoudhu 9y agoThe omission of that one from 11.0 was a head scratcher. Glad they fixed it up for 11.1
- Mister_Snuggles 9y agoI use IPSec for my VPN needs (accessing my stuff at home from remote places mainly) and run FreeBSD. Getting it set up was annoying, to say the least. I have no idea why they didn't include NAT-T by default in 11.0. I'd hazard a guess that most VPN connections involve at least one end being behind NAT.
- vermaden 9y agoAs for powertop on Linux, on FreeBSD you have powermon (from Ports): # kldload cpuctl # powermon Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (Arch: Sandy Bridge, Limit: 44W) 4.98W [=======> ] Package: Uncore: x86 Cores: GPU: Current: 4.98W Current: 3.34W Current: 1.44W Current: 0.21W Total: 14.37J Total: 9.79J Total: 3.62J Total: 0.96J Also for power management, powerdxx (from Ports) is better then powerd: /etc/rc.conf powerdxx_enable=YES powerdxx_flags="-n hiadaptive -a hiadaptive -b hiadaptive -m 1600 -M 3000"