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
9
votes
0 answers

Unix nslcd login with sAMAccountName and/or userPrincipalName from Active Directory

I'm trying to setup authentication from Active Directory in FreeBSD 10.0 using nslcd (nss-pam-ldapd-sasl package) and would like to allow both sAMAccountName and userPrincipalName as valid login attributes in the server. I don't know if it's…
Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95
9
votes
2 answers

strange ZFS disk space usage report for a ZVOL

We have a 100G ZVOL on a FreeBSD 10.0-CURRENT host which claims to use 176G of disk space: root@storage01:~ # zfs get all zroot/DATA/vtest NAME PROPERTY VALUE SOURCE zroot/DATA/vtest type …
Alex
  • 7,939
  • 6
  • 38
  • 52
9
votes
3 answers

ZFS: How can I stop a zpool replace that's currently in progress?

A few days ago, I noticed that the ZFS pool on my home server had started reslivering a disk by itself but was no longer making any progress. The disk had some SMART errors (but did not consider itself failed), so I decided to replace it with a…
Kaypro II
  • 302
  • 1
  • 4
  • 11
9
votes
6 answers

Recommendations on ZFS on FreeBSD as a NAS box?

Please note that the answers on this page are from 2009, and should not be relied on as gospel. If you have a specific question about zfs then please click the Ask a Question button and ask a specific question. I was thinking of building a home…
grieve
  • 1,547
  • 3
  • 17
  • 18
9
votes
4 answers

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 that "single" drive, or I can mirror the drives…
Paul McMillan
  • 1,219
  • 1
  • 8
  • 17
9
votes
1 answer

Finding which process is reading from disk constantly on FreeBSD

EDIT: This ended up being a scrub process. Run zpool status -v and read the scan status for your pool clearly. I have a TrueNAS server running FreeBSD and this morning at 12 AM the disks started to be read from constantly. I thought this was some…
8
votes
1 answer

File-sharing over Infiniband on FreeBSD

I have a pair of servers, which I'd like to connect to each other directly -- rather than through the switch shared by the rest of the network. I expect to benefit from lower latency and higher bandwidth afforded by the direct connection (including…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
8
votes
1 answer

Offline uncorrectable sectors in SSDs being used for ZFS L2ARC?

I have two enterprise-grade SSDs that I've been using for L2ARC in an OpenZFS pool for a few years. Workflow during this time has been fairly heavy, with lots of reads and writes, serving up video to clients for video post-production. Recently, got…
user260467
  • 375
  • 2
  • 13
8
votes
2 answers

Is there a way to set multiple ZFS filesystem properties at once?

My normal ZFS filesystem build process may look something like: zpool create vol1 -o autoexpand=on -o autoreplace=on mirror nvme0n1 nvme1n1 -f zfs set compression=lz4 vol1 zfs set atime=off vol1 zfs set xattr=sa vol1 zfs set acltype=posixacl…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
8
votes
1 answer

ZFS vdevs accumulate checksum errors, but individual disks do not

I'm running a vendor-specific derivative of FreeNAS 9.3. My trouble started when I installed a new JBOD chassis to add two new vdevs into my pool, and the chassis had a bad board. During this time, I was seeing SAS power errors on the drives on the…
user260467
  • 375
  • 2
  • 13
8
votes
1 answer

ELK Stack (Logstash, Elasticsearch and Kibana) with concurrent remote syslog server?

I'm building a log analyser service to start monitoring mainly our pfSense Firewalls, XenServer Hypervisors, FreeBSD/Linux servers and Windows servers. There's a lot of documentation on the internet about the ELK stack and how to make it work…
Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95
8
votes
4 answers

How to flush DNS resolver cache on Linux (and FreeBSD)

I am admin for several Linux and FreeBSD servers and here is a problem I have: The servers run a tool that does a lot of DNS queries every minute for the entire network. When it does a query, the result gets cached system-wide. If a DNS entry…
Boda Cydo
  • 405
  • 2
  • 7
  • 14
8
votes
2 answers

Where are zfs settings written?

On FreeBSD 10.0, when one creates zfs partitions and configures where they are mounted (permissions, etc.), where is this information stored? /etc/fstab is largely empty. i.e.: $ zfs mount zpool0/ROOT/default / zpool0/home …
ericx
  • 416
  • 1
  • 4
  • 10
8
votes
1 answer

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. The entire smb.conf file is the default except…
Peter
  • 123
  • 1
  • 1
  • 7
8
votes
2 answers

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 netcat over the same dedicated 10Gbit connection, I…
Sandra
  • 10,303
  • 38
  • 112
  • 165