FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, ...

learn more… | top users | synonyms

90
votes
4answers
118k views

FreeBSD performance tuning. Sysctls, loader.conf, kernel

I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf / KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to ...
33
votes
1answer
1k views

I am going to chop the FreeBSD automounter into little pieces and boil them in oil

I am trying to expose a hierarchy of home directories to a number of FreeBSD jails. The home directories are configured such that each is a unique ZFS dataset. The jails are used for development ...
25
votes
6answers
32k views

FreeBSD vs Linux performance? [closed]

I know that FreeBSD is famous for being highly stable, secure and of course open source. So I am going to try it on one of my servers. However, I am wondering what are the pros and cons of Using ...
25
votes
4answers
4k views

ZFS on FreeBSD: recovery from data corruption

I have several TBs of very valuable personal data in a zpool which I can not access due to data corruption. The pool was originally set up back in 2009 or so on a FreeBSD 7.2 system running inside a ...
21
votes
10answers
4k views

I just did a chmod -x chmod

So I did a chmod -x chmod. How I can fix this problem? How do I give execute rights back to chmod?
15
votes
4answers
4k views

How do you manage and deploy FreeBSD's ports in a large environment?

I'm curious to how people are deploying FreeBSD's ports in their environment. I assume that most people using FreeBSD are indeed using Ports (and often portupgrade for upgrading with binaries). I am ...
14
votes
4answers
1k views

Historical Question: Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole ...
13
votes
3answers
1k views

Log every command executed from root

I want to give access to my root server to an external system administrator, but i want to be sure to double check what he is doing to my server, e.g. copying data i don't want them to do and so on. I ...
10
votes
6answers
2k views

OpenBSD, FreeBSD: your update philosophy?

I've used FreeBSD for about 5 years - server/Desktop - and I've tended to take my apt-get/yum upgrade everything habits along with me ( I admin Debian/RHEL/Cent boxes as well -- I know, I know ...
10
votes
7answers
4k views

Cloud Providers that support FreeBSD? [closed]

NOTE: Even though I've accepted an answer for this, if you have a better one, please put it below. Thanks! I'm looking for recommendations from the wise and all-knowing Server Fault community on ...
10
votes
1answer
2k views

How can I get FreeNAS and pfSense to report more using SNMP?

I have two servers which run variants of FreeBSD: One is a pfSense router and one is a FreeNAS 8 server. Both these servers run SNMP, and I am collecting and graphing their information using a third ...
10
votes
1answer
165 views

FreeBSD link aggregation no faster than single link

We're trying to use FreeBSD's link aggregation feature in LACP mode to decrease the time it takes to mirror 8 to 16 TiB of data from a master file server to 2-4 clones in parallel. We've got the ...
8
votes
3answers
695 views

FreeBSD 8.2, deleted /bin/sh, can't boot

I made a really bad decision on one of my servers. I deleted /bin/sh. I restarted the server and the server won't run because it needs /bin/sh to start the rc scripts. I can't access single user mode ...
8
votes
4answers
9k views

ZFS Sync over unreliable, slow WAN. ZFS replication, or rsync?

I've been tasked with making an off-site backup work over the WAN. Both storage boxes are FreeBSD based NAS boxes running ZFS. Once or twice a week, 15-60 gigs of photography data gets dumped to the ...
8
votes
2answers
733 views

zfs and future expandability

I want to build a server using freebsd 9 and zfs. I have some old hardware (intel quad core with 8 gb ram) lying around, and I am willing to purchase two or three 1 TB disks. I also have a dlink RAID ...
8
votes
2answers
1k views

Is it safe to replicate from Solaris ZFS to FreeBSD ZFS?

Is it safe to replicate from a Solaris 10 ZFS v22 to a FreeBSD 8.3 ZFS v28? Are there someone that have done this with specific versions of ZFS, where it worked perfectly?
7
votes
5answers
2k views

Where is the central ZFS website now?

Oracle dumped OpenSolaris in Fall 2010, and it is unclear if Oracle will continue to publicly release updates to ZFS, except maybe after they release their next major version of Solaris. FreeBSD now ...
7
votes
4answers
1k views

ZFS and non Sun OS's

Is there any other Unix like distros that can read and write to ZFS filesystems. I know its currently unstable in FreeBSD :( The reason I am asking is I love ZFS but don't get on so well with Solaris. ...
7
votes
4answers
2k views

Why can't I ping an address on the loopback device under FreeBSD?

From Wikipedia: The most commonly used IP address on the loopback device is 127.0.0.1 for IPv4, although any address in the range 127.0.0.0 to 127.255.255.255 is mapped to it. This is not ...
7
votes
9answers
8k views

Simple web-frontend for remote svn administration? [closed]

We run a SVN repository. Some of our more advanced users need to be able to perform some SVN administration without relying on the system administrator. They need to be able to do things like create ...
7
votes
5answers
6k views

FreeBSD jails vs virtualization performance

I'll soon buy myself a nice server (something like the quad-cpu HP DL585) for personal use (home related stuff, data-mining projects, web server and some cron jobs), and I wonder how to separate all ...
7
votes
2answers
688 views

FreeBSD ports: remove build dependencies after installing port

Is there any way to remove build dependencies of the port after installing it? Many ports use exotic tools for building and these tools are not used anymore when port is builded and installed.
7
votes
1answer
690 views

zfs pool not automatically mounted

I recently installed freebsd 8 on a file server and created a raidz-pool from 4 drives. It works fine, except the filesystems are not mounted automatically on boot. zpool status and zfs list shows ...
7
votes
3answers
1k views

OpenBSD/FreeBSD Firewall w/ GUI that is compatible with Intel 82574L Gigabit LAN NICs

I recently purchased a server to run m0n0wall or pfSense but I've learned since then that both of these firewall products are based on versions of FreeBSD which weren't yet compatible with the NICs in ...
7
votes
2answers
1k views

cpulimit for FreeBSD

Does any one know of an equivalent of the GNU/Linux utility cpulimit for FreeBSD? I'm not talking about process niceness or setting limits on a user account, but actually limiting the percentage of ...
7
votes
2answers
516 views

Does speed of ZFS snapshot rollback depend on number of files?

I have tested a 10Gbit connection between two hosts to be able to read a 10GB file from host1 and write it to host2 using netcat, where the speed was 410MB/s. When I ZFS send/receive again with ...
7
votes
1answer
967 views

Why change net.inet.tcp.tcbhashsize in FreeBSD?

In virtually every FreeBSD network tuning document I can find: # /boot/loader.conf net.inet.tcp.tcbhashsize=4096 This is usually paired with some unhelpful statement like "TCP control-block hash ...
7
votes
2answers
796 views

FreeBSD Host ZFS on Root Running VirtualBox with Windows Server 2003 Guests Very Slow HD Speeds

Here is my setup: I am running a Dual Quad Core Xeon 2.0Ghz with 16GB of Ram and 2 x 2TB WD Green drives with FreeBSD 7 that has ZFS on root. The Hard Drives are in a ZFS Mirror. I am running ...
7
votes
2answers
2k views

Xen vs KVM: Which will have likely better support (read:bugfixes) in the future?

I don't care about GUI or tools, but I do care about stability and performance. If I'm running a FreeBSD firewall and a Opensolaris file server as guests, will I get better stability or performance ...
7
votes
1answer
106 views

Disk size addressable by the OS

I have a 3ware 9550SXU-12 storage controller and 750G disks connected to it. The disks are configured as single units (not JBOD). I've been running some performance tests, mainly to see the impact of ...
7
votes
2answers
207 views

FreeBSD's ng_nat stopping pass the packets periodically

I have FreeBSD router: #uname 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Jan 18 16:20:47 YEKT 2013 It's a powerful computer with a lot of memory #top -S last pid: 45076; load averages: 1.54, 1.46, ...
7
votes
3answers
1k views

“zpool replace” hangs and locks up the pool

Given my four disk RAIDZ1, one disk has become physically noisy, not producing errors yet, but not sounding healthy either. So I've chosen to pre-emptively replace it. I have done: zpool offline ...
7
votes
3answers
424 views

Permissions are not taking effect with Kerberised NFSv4 on FreeBSD

I'm currently trying to set up an NFSv4 server on FreeBSD. I have extensive experience with doing this on other Unices (Solaris and Linux), but I'm fairly new to FreeBSD. My goal is to achieve the ...
6
votes
6answers
5k views

How to Find a file in FreeBSD

I'm trying to locate all copies of example.filename on my FreeBSD server. What's the best / easiest / most efficient way to do this?
6
votes
4answers
1k views

ZFS on top of Hardware Mirroring, or just mirror in ZFS?

I have an IBM x346 with dual 3.2Ghz Xeons and 2x36GB 15k SCSI disks. I'm running an entirely ZFS-based install of FreeBSD 8.1. I can configure the bios to mirror the two disks, and then put ZFS on ...
6
votes
2answers
552 views

What does zfs receive -F do?

When I read man zfs for zfs receive I see -F Force a rollback of the file system to the most recent snap- shot before performing the receive operation. If receiving an ...
6
votes
1answer
1k views

Does ZFS replace the need for hardware/software RAID?

I want to provide protection against data loss on my servers. Typically, I'd use hardware RAID 1 or 5, but I've been reading up on ZFS. Is it correct that ZFS itself provides RAID 1 or 5 like data ...
6
votes
2answers
208 views

Conflicting information about the running kernel version in FreeBSD

I asked a related question about uname before and now want to ask from another angle, because the following simple yet obvious conflicting outputs may mean there is something many people did not think ...
6
votes
3answers
2k views

Possible to disable “You have new mail in /var/mail/root”?

I would like to disable the mailcheck in FreeBSD 9.1. My login shell is BASH, so I have tried to add unset MAILCHECK in /root/.bashrc and /root/.profile, but I still get those messages. Question ...
6
votes
3answers
2k views

FreeBSD ZFS RAID-Z2 performance issues

I'm trying to build my own network attached storage based on FreeBSD+ZFS+standard components, but there are strange performance issues. The hardware specs are: AMD Athlon II X2 240e processor ASUS ...
6
votes
1answer
243 views

How to start netcat in listening mode from another host?

I have a script where I would like to start nc in listening mode on 10.10.10.11, but I would like to do it from 10.10.10.10, where I have this script ssh -n 10.10.10.11 nc -l 8023 | mbuffer -s 128k ...
6
votes
2answers
377 views

Freebsd Secondary Group not allowing folder deletion

TLDR: I have a user that is a member to a group as a secondary group. This user can delete files with 664 perms as a secondary user, but not directories with perms of 775. Details: I have a user. ...
6
votes
3answers
2k views

How can I scroll back the output in FreeBSD's console without Scroll Lock?

I've installed FreeBSD inside a VM on a laptop. As it turns out, the laptop keyboard has no Scroll Lock key, which is used for scrolling the screen back in FreeBSD's console. How can I scroll back the ...
6
votes
1answer
2k views

Is there a tool for managing FreeBSD jails that knows about ZFS?

ZFS under FreeBSD lets one assign filesystems to a jail, such that an account in the jail with the appropriate privileges can access the filesystem, create new subordinate filesystems, and so forth. ...
6
votes
1answer
131 views

Freebsd jail for an small company - checklist - what shouldn't forget

Looking for an checklist for an "small company freebsd/jail server". Having pretty common starting point: FreeBSD jail (remote/headless) for the company: public web, email, ftp server, and private ...
6
votes
1answer
844 views

FreeBSD Jail with Loopback IP, IPFW, and natd - Outbound connections fail from jail

I've got a FreeBSD 9.0 server. It has several jails, but they all have this same issue. They can not initiate connections to the outside world. They communicate with each other and the host fine. ...
6
votes
3answers
573 views

Why is there less latency on loopback than on a carp interface?

Stack Overflow Careers is served up something like so: user -> internet -> our fw -> nginx -> haproxy -> web farm FreeBSD is the operating system in use no firewalling or QoS is in ...
6
votes
1answer
2k views

PXE Boot FreeBSD ISO from a Linux PXE server

I have a working PXE boot server running on CentOS 5.5 that works perfectly for any flavor of Linux. I'm trying to add FreeBSD to the install options as a ISO memdisk, but so far nothing is working ...
5
votes
2answers
1k views

Need to replace disk in zpool … confused

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows pool: raid-5x3 state: ONLINE scrub: scrub completed after 15h52m with 0 errors on Sun Mar 30 13:52:46 2014 config: ...
5
votes
13answers
7k views

Network monitoring tool for FreeBSD [closed]

I am using FreeBSD 6.1 as router. Now I looking for Network Traffic Monitoring software to see what's happening with internet link. I have two installed LAN cards in my system, one for lan and other ...