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
8
votes
5 answers

How do I non-interactively update FreeBSD system (and ports)?

Essentially, I am looking for a fully silent, non-interactive version of freebsd-update fetch freebsd-update install and portsnap fetch update
oberstet
  • 319
  • 1
  • 4
  • 14
8
votes
6 answers

Identify Disks on SuperMicro server running FreeBSD

I am running on a SuperMicro 2U server with 6 disks in a ZPool. I want to identify each drive bay using the Drive Carrier LED from running a command from a tool in FreeBSD. Is there a way to do this? I know if the drives were running on top of a…
Timothy C. Quinn
  • 299
  • 1
  • 2
  • 10
8
votes
3 answers

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 following: Files served from the FreeBSD system The…
Elias Mårtenson
  • 329
  • 1
  • 4
  • 12
8
votes
2 answers

recursively mounting ZFS filesystems?

I'm aware this more of a beginners question, but manpages, google and FreeBSD Handbook provided no solution. I'm using ZFS Version 28 on a 8.2 Stable FreeBSD and my problem is the following: When I mount a ZFS filesystem (zfs mount ) the filesystem…
flexy
  • 81
  • 1
  • 2
8
votes
1 answer

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 table tuning" or "Set this to a reasonable value."…
sh-beta
  • 6,838
  • 7
  • 47
  • 66
8
votes
2 answers

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes between the subnets and things like ssh host-A.wifi…
Erik Tjernlund
  • 261
  • 3
  • 8
8
votes
2 answers

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 server with two 1 tb disks already in it that I…
user85116
  • 227
  • 2
  • 6
8
votes
3 answers

"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 tank0 ad6 Shutdown, remove and replace disk zpool…
tomfanning
  • 3,378
  • 7
  • 34
  • 34
8
votes
3 answers

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 either because sh is needed. Is there any easy…
jon
  • 81
  • 2
8
votes
2 answers

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?
Louise Hoffman
  • 476
  • 2
  • 6
  • 12
8
votes
4 answers

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 my new server. The SuperMicro server that I…
Zen Master
  • 131
  • 2
  • 6
8
votes
3 answers

PAM: Execute a command before pam_mkhomedir?

When a user logs into a system and there is no home directory, we would like to to create the user's home directory using pam_mkhomedir. This is a common practice. Here's a quick description of pam_mkhomedir: The pam_mkhomedir PAM module will…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
8
votes
1 answer

FreeBSD `freebsd-update` automation?

freebsd-update command prints updating entries after it downloaded. But it shows them with more. So I have to press some spaces to continue. Is there a way to avoid this behavior? I want to execute update fully automated manner.
Eonil
  • 10,459
  • 16
  • 36
  • 54
8
votes
5 answers

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 has ZFS v28 available for testing. But where did…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
8
votes
3 answers

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 place on this box nginx handles our SSL termination haproxy…
Michael Gorsuch
  • 2,378
  • 1
  • 21
  • 24