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

How to check if RAM is running in ECC mode?

I updated this post since I replaced the processor, but the core of my question (and unfortunately the results as well) are the same. I built my first FreeNAS box and wanted to use ECC RAM since I want to store critical data. Because I am on a…
comfreak
  • 1,501
  • 1
  • 21
  • 33
19
votes
6 answers

Backing up a MySQL database via ZFS snapshots

I've found a number of sites talking about doing exactly this, but I'm missing a few important details. The general steps are Run FLUSH TABLES WITH READ LOCK Take the ZFS snapshot Run UNLOCK TABLES Various sources report that InnoDB, which I'm…
Andy Shulman
  • 293
  • 3
  • 7
19
votes
6 answers

Need to identify disk in zpool ... how?

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows gptid/5fe33556-3ff2-11e2-9437-f46d049aaeca UNAVAIL 0 0 0 cannot open How do I find the serial # of that disk? More: glabel status gives: …
Dan
  • 959
  • 5
  • 14
  • 25
19
votes
4 answers

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 however interested in how you have this setup, as…
vpetersson
  • 861
  • 1
  • 11
  • 22
17
votes
3 answers

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 output without Scroll Lock?
Eugene Yarmash
  • 2,433
  • 5
  • 34
  • 54
17
votes
5 answers

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, so my dovecot.conf has userdb { driver =…
cigarman
  • 273
  • 1
  • 2
  • 7
16
votes
4 answers

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 Is there a way to get rid of those messages?
Sandra
  • 10,303
  • 38
  • 112
  • 165
16
votes
3 answers

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 would also like to take a track of whatever file…
cedivad
  • 690
  • 3
  • 13
  • 25
16
votes
5 answers

Can I change a user password in Linux from the command line with no interactivity?

I have a specific use case where I would really like to be able to change a user's password with a single command with no interactivity. This is being done in a safe fashion (over SSH, and on a system with only one user able to be logged in), so…
Paul Hoffman
  • 2,214
  • 5
  • 19
  • 23
15
votes
1 answer

FREENAS: Why isn't mv command instant within a RAIDZ1 volume?

I'm currently 'reorganizing' file structure within a RAIDZ1 volume. Moving directories from one dataset to another, which are both contained on the same volume. SSH'ed into the machine and did a good old fashioned: mv * destination Shouldn't this…
Ryan
  • 282
  • 3
  • 11
14
votes
7 answers

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT partition on the disk. When I try to import the…
squidpickles
  • 791
  • 1
  • 8
  • 12
14
votes
4 answers

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 disk: da0s1c c0d0s2 For example, the output of…
X-Istence
  • 752
  • 1
  • 8
  • 18
14
votes
1 answer

How to change default shell in FreeBSD?

The default shell in FreeBSD is sh and I really can't stand it: autocomplete is very limited, and rehash commands kill me. I feel like a one armed and one legged man... How can I change the shell globally to zsh or bash - for root and for all…
holms
  • 1,524
  • 7
  • 20
  • 37
14
votes
1 answer

How can I start a shell inside a jail on FreeBSD?

I have access to a a previously set up FreeBSD box with a number of jails on it. One of the jails is an SQL server, and does not have ssh enabled on it. How can I gain access to a shell on that jail from the host machine? (I have root rights on it.)
Redconnection
  • 297
  • 1
  • 3
  • 6
14
votes
7 answers

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?
Ian
  • 1,498
  • 4
  • 26
  • 32