Questions tagged [freebsd]

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, and userland utilities such as shells.

FreeBSD includes many modern OS features including advanced IP stacks and networking, Virtualization, hardened security, and high availability techniques.
For more information about FreeBSD, see their website (FreeBSD.org).

Questions are welcome here on Server Fault, the Unix and Linux Stack Exchange or the FreeBSD Forums.

Additionally Wikipedia has en entry on FreeBSD and the original BSD OS.

1537 questions
7
votes
3 answers

How do I recover from a faulted zpool where one device is OK, but was temporarily offline?

I have a zpool with 4 2TB USB disks in a raidz config: [root@chef /mnt/Chef]# zpool status farcryz1 pool: farcryz1 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM farcryz1 ONLINE 0 0 …
Josh
  • 9,190
  • 28
  • 80
  • 128
7
votes
2 answers

Reducing ZFS stream size for offsite backup

NOTE: My understanding of this question has changed significantly since I first asked it (see Edit 2 below) but I've left the original version intact. We've put together an offsite backup system (still testing in-house) that does its data transfer…
eaj
  • 443
  • 2
  • 4
  • 17
7
votes
3 answers

FreeBSD server - certified compatible hardware?

I am looking for recommendations for hardware that is "certified" with FreeBSD (8+) I suspect I am looking for a small server manufacturer that will build me a server that "just works". I have read…
lifeisstillgood
  • 183
  • 1
  • 5
7
votes
5 answers

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives fail. This is because the machine runs without a…
Aatch
  • 173
  • 4
7
votes
4 answers

FreeBSD Hypervisor?

is there any possibility to have FreeBSD running virtual guests (Linux and Windows) apart from VirtualBox? Didn't find any recent information yet.
CyberOptic
  • 307
  • 3
  • 13
7
votes
3 answers

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 M4A78LT-M LE mainboard 2GiB Kingston ECC DDR3 (two…
Axel Gneiting
  • 253
  • 3
  • 8
7
votes
2 answers

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 (network and disk i/o) if I switch to KVM? …
user57766
7
votes
2 answers

How to set up two-factor authentication with OTP on FreeBSD?

I have a FreeBSD server that I like to be able to get to from anywhere. Normally I use SSH publickey to log in, or if I don't have my SSH private key available then I might use regular password over SSH. However, when logging in from an untrusted…
Greg Hewgill
  • 6,849
  • 3
  • 30
  • 26
7
votes
4 answers

PXE boot FreeBSD iso from pxelinux server

I'm using FOG as a TFTP / PXE server and would like to be able to boot a FreeBSD LiveCD (specifically pfSense, but it could be any LiveCD, really); I've found HOWTOs for booting a "netboot" BSD but they all seem to use a BSD server. So: Is it…
Andrew
  • 8,002
  • 3
  • 36
  • 44
7
votes
1 answer

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 nothing wrong but I have to do a zpool export and…
Console
  • 447
  • 1
  • 6
  • 11
6
votes
1 answer

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: Fixed Direct Access SPC-3 SCSI device da0: 300.000MB/s transfers da0:…
larsemil
  • 299
  • 1
  • 3
  • 9
6
votes
3 answers

ZFS dataset doesn't automatically mount

Running on a FreeBSD 12.0 system, a dataset (my home directory) does not mount automatically at system boot. Manually mounting it (i.e. via zfs mount zroot/usr/home/username) works correctly. This dataset originally was on a different disk and was…
ctuffli
  • 302
  • 1
  • 4
  • 11
6
votes
5 answers

How to find out the memory cost of each mysql connection?

I want to find out the memory cost of each mysql process. Right now, I have 800+ mysql connections but I have no idea when will the system start swapping. I use FreeBSD.
James Sa
6
votes
2 answers

Migrate FreeBSD Jails to Linux

we are running some jails in FreeBSD 10 and the decision has been made to decommission the FreeBSD server and migrate all the jails to Linux environment Red Hat 6 or 7. Is there a straight forward way of migrating BSD jails to linux -- as containers…
sandeep.s85
  • 2,119
  • 1
  • 18
  • 27
6
votes
0 answers

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, direction OUT and a gateway defined does not work…
Monstieur
  • 536
  • 3
  • 15