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

5
votes
1answer
311 views

Block Google requests to 16k using pf firewall

I'd like to block access to Google search using PF after the threshold of 17500 requests (connection established) in 24h, from a host running FreeBSD 9. What I came up with, after reading pf-faq is ...
3
votes
3answers
948 views

What's the difference between BSD-style and Unix-style command line options?

I tried to google it but to no avail. Can anybody help me with this?
-1
votes
1answer
309 views

link aggregation in esxi5 + aggregation on the switch + freebsd9 = an aggregated link that do not work

i have a 6 port intel server nic. under the settings on ESXi5, i aggregated 4 of the ports. i have ZFSGuru running on the VM, which is based off of FreeBSD 9, iirc. this VM has two interfaces, an ...
4
votes
2answers
99 views

executing a command again once it stops (rsync, FreeBSD)

I started doing backups via rsync to a remote server. This works all fine and good but 40 gig take their time and as I get a dynamic IP it gets interrupted every day. So every morning when I wake up I ...
1
vote
1answer
179 views

FreeBSD Serial IO card installation

I am trying to install a PCI serial IO card on a FreeBSD 9.1 (Prerelease) box. I had no success during hours of work. I recompiled kernel using puc and COM_MULTIPORT options. No success. This is ...
3
votes
1answer
940 views

top process state column under FreeBSD

When running top interactively, I can see various words in the state column : nanslp, biord, select, uwait, lockf, pause, kqread, piperd, sbwait ... Some like nanslp or kqread are self ...
3
votes
1answer
437 views

Does NFSv3 respect ZFS ACL's?

NFSv3 of course doesn't support ZFS ACL's, but what will happen if I have the following setup?: +-----------------------------------------+ +-------------+ | FreeBSD ZFS serv1 ...
2
votes
1answer
176 views

Why is ZFS replication single threaded?

On my 8 core NAS I see only one core maxed out when ZFS replication over SSH is running. I would expect that transferring a snapshot would scale perfectly with the number or cores, as the snapshot ...
3
votes
1answer
121 views

Migrating ZFS from using partitions to using the entire disk

I have a simple ZFS setup that I've been running for a few years now. When I originally set it up, I created a number of partitions and created a zpool from a partition on each of my two drives, and ...
2
votes
1answer
133 views

Is there a way to make a 32-bit variant of port under an amd64 system?

Is there a way to make a 32-bit package variant of mysql-client, for example ? Because I need some libraries for some binary software, and it would be good to maintain them from ports instead of ...
1
vote
1answer
194 views

FreeBSD 9 (amd64) reboot/shutdown process is very slow

I have a Dell Poweredge 2900 III with FreeBSD 9 (amd64), the server uses mfi wich handles a raid10, I had to reboot the server, but notice that either when rebooting or shutting down the server, ...
0
votes
1answer
72 views

How can I make an alias expand to a list of recipients returned by a command?

I have an rarely used /etc/aliases entry vmailusers: :include:/usr/local/etc/vmailusers The /usr/local/etc/vmailusers file is generated by a cronjob executing ls /home/vmail | grep -v lists > ...
2
votes
4answers
502 views

SSH connection closes as shell fails to load

I have FreeBSd running with OpenSSH. I set up everything and the connection via SSH worked perfectly. Then I decided to get rid of some not used ports and I obviously uninstalled one that was used by ...
-3
votes
2answers
611 views

How much overhead does ZFS have? [closed]

Adding a file system to a raw device of course takes up some overhead. The question is how many percent does ZFS take? And does overhead differ depending on the ZFS raid set? Update The purpose is ...
5
votes
1answer
1k views

Why won't FreeBSD reboot after a kernel crash?

Once in a while I get my server running FreeBSD 8.0 amd64 fail due to bad memory (incompatible with motherboard) modules. Each time it happens, the box stalls with the last note saying that it will ...
1
vote
2answers
277 views

Windows 2008 NFS, find command not working recursively on unix client

I have a Windows 2008 Storage server configured for NFS service. I am using a FreeBSD client to mount share from the storage server. Every thing works fine like copying, deleting files etc. However, ...
2
votes
0answers
218 views

Can't remove zfs log device from pool

I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5. I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
1
vote
1answer
269 views

How can I list when was all my installed FreeBSD ports built?

I have a FreeBSD 8.2-RELEASE system which I now upgrading to 9.0-RELEASE. In this process I need to rebuild all my ports installed. How can I list the date of last build for each installed port, to be ...
1
vote
2answers
1k views

FreeBSD Listen Queue Overflows - can't increase max queue size

I have a decently high trafficked FreeBSD Nginx server, and I'm starting to get a large number of listen queue overflows: [root@svr ~]# netstat -sp tcp | fgrep listen 80361931 listen queue overflows ...
1
vote
4answers
141 views

solution for an offline server

I'm trying to setup a development server at work that will ideally be able to test drive a couple of projects in PHP, Rails, or Django (not always running at the same time). I develop the apps locally ...
1
vote
1answer
452 views

Mounting fuse sshfs fails when invoked by Cron on FreeBSD 9.0

I have a remote server filesystem that I'm attempting to mount locally on a FreeBSD 9 machine via FUSE sshfs, and Cron for a backup routine. I have ssh keys between the boxes setup to allow for ...
0
votes
1answer
929 views

Mpd as pppoe server with authorisation by freeradius2

I install freeradius2, add to raddb/users: test Cleartext-Password := "test1" Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 10.36.0.2, Framed-IP-Netmask = ...
2
votes
4answers
153 views

Uninstall last n of ports/packages

While compiling some port, I realized that it depends on 1000+ of other ports and will install forever until I die or my disk is full (my hdd is really small). I interrupted make install clean. How ...
1
vote
1answer
159 views

FreeNas 7.x - Create user via SSH

Hello i'm using FreeNas 7.x I need to access my webadmin-interface but i can't login with my credentials (that works with SSH). I've SSH Access, is it possibile to create a user (with access to ...
1
vote
1answer
232 views

recursive grep started at / hangs

I have used following grep search pattern on multiple platforms: grep -r -I -D skip 'string_to_match' / For example on FreeBSD 8.0, FreeBSD 6.4 and Debian 6.0(squeeze). Command does a recursive ...
2
votes
1answer
438 views

php5.4 + freebsd8.3+nginx can't get errors

I have a confusing behaviour. I can't get any error into log file or screen. I made a file index.php with content like this: "<?php a();".Normally, I will get message like this: "Call to ...
2
votes
1answer
471 views

How to put freebsd configuration under Revision Control?

I heard once that in linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
0
votes
1answer
164 views

FreeBSD 8.3 LATCH. After a few minutes, that connects the Internet

I installed FreeBSD 8.3 DISC1 production in VirtualBox. I'm trying to install xorg, Or another package: pkg_add -r xorg or cd usr/ports/x11/xorg && make install clean It starts the download, ...
0
votes
1answer
98 views

RAID 10 — still a little unclear on the concept [duplicate]

Possible Duplicate: What are the different widely used RAID levels and when should I consider them? I haven't had any trouble building mental images of the simpler RAID forms, but for some ...
1
vote
1answer
332 views

Is there FreeBSD-based equivalent of SmartOS or opennode? [closed]

Both SmartOS and opennode seem to do the same thing: take a kernel and basic OS installation add OS-level virtualization possiblity add true virtualization possibility add management SmartOS is ...
0
votes
2answers
272 views

Shell script to fix bad filenames? [closed]

I'm IT at my small firm; and, despite my dire warnings, everyone puts files on the server with awful names, including leading & trailing spaces, bad characters (including \ ; / + . < > - ...
0
votes
2answers
2k views

choose the outgoing interface for a default route

I have a FreeBSD 8.0 virtual box with two ethernet interfaces, em0 and em1. em0 is 192.168.1.99 and em1 is 192.168.1.100. Both are "Attached to: Bridged Adapter". When both are up, if I say # route ...
5
votes
2answers
1k views

FreeBSD: How to know real file size on zfs with compression on?

I'm using zfs on my FreeBSD 9.0 x64 and pretty happy with it, but I find it hard to count directory real, not compressed, size. Surely I can walk over the directory and count every file size with ...
1
vote
2answers
2k views

How to monitor ZFS with SNMP in FreeBSD?

I'd like to monitor these with SNMP: zpool iostat -v 1 Per drive and sum. zpool status Scrubbing as 1 and not scrubbing as 0. zpool status -x Monitor $? (return value). Send trap when value ...
2
votes
1answer
350 views

How can I make exim deliver a single incoming mail to multiple local maildirs?

I'm maintaining an IMAP server running FreeBSD which uses exim 4.80 as its MTA. Right now I try to create an email alias so that I can address all users of the system for informing them about ...
0
votes
1answer
224 views

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a ...
1
vote
0answers
151 views

Should I consolidate multiple identical VMs into BSD jails?

We run a number of Openfire XMPP/Jabber servers. Due to the way Openfire works, we cannot easily run multiple Openfire instances on one server, so I have 5 identical VMware ESXi VMs, each with CentOS, ...
5
votes
1answer
1k views

Does kern.hz still have any relevance in FreeBSD if “dynamic tick mode” is enabled?

I'm running a FreeBSD 9.0 setup as a virtual machine in a KVM setup. In previous versions of FreeBSD it was common to force the kern.hz setting to a lower value so that the virtual machine does not ...
1
vote
2answers
627 views

Has anybody tried to create a really big storage with ZFS and plain SAS controllers? [closed]

I'm considering to build one with something like this: http://www.supermicro.com/products/chassis/4U/847/SC847E26-R1400U.cfm (a chasis with two dual port multipath expanders) ...
3
votes
2answers
994 views

linux : netstat listeting queue length

Is there a way to view queue length on listening socket under linux, the same way as netstat -L outputs for freebsd? I.e. you can see X/Y/Z in netstat -L output, but netstat under linux doesn't ...
6
votes
1answer
126 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 ...
4
votes
2answers
516 views

Snmpd update interface counters slowly or something like this

I update one my freebsd box to 9-stable (totally new installation) and install net-snmp for monitoring. uname -r 9.1-PRERELEASE pkg_info net-snmp-5.7.1_7 Information for net-snmp-5.7.1_7: ...
0
votes
4answers
317 views

How to make proxy on nginx?

How would I set my webservers to work in way described below? Http request: mypublic.com ---> handled normally by nginx as it is set up already (listen 80;) Http request: myprivate.com ---> handled ...
2
votes
7answers
853 views

Changed root's shell to non-existing path

I just made a bit of a mistake: Fresh install of FreeBSD 8.2 logged in as root installed bash from ports created users, setting bash as shell vipw (edit passwd file) changed root's shell from ...
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 ...
0
votes
2answers
159 views

Debian mirror syncing error

I'm running the Debian mirror syncing tool 'ftpsync' on a FreeBSD 8.2 system. I changed the script a bit only to adapt to the FreeBSD system (e.g., path of bash). And I followed the steps from ...
2
votes
1answer
230 views

How to apply patches to phantomjs port in FreeBSD 9?

I have installed FreeBSD 9 and I need to install phantomjs. It is available in /usr/ports/lang/phantomjs but the version is 1.0 while I need a more recent version. There is a patch to update to ...
1
vote
1answer
178 views

ZFS for offline backups

I'm thinking of using ZFS to backups files to single drives that are going to be kept mostly offline. Does anyone know if the FreeBSD ZFS implementation still uses memory if a dedupped pool is ...
0
votes
1answer
445 views

FreeBSD 9-RELEASE-p3, vlan over lagg trunk (bce)

I have a Dell Server with 2 onboard bce(4) NICs. Those two are trunked together using LACP to lagg0 on a EX2200 Juniper Switch. Over lagg0 i have 2 vlans. Everything works fine when i only have one ...
1
vote
1answer
189 views

Machine boots GENERIC kernel after freebsd-update install

The last two times I ran freebsd-update install the machine (re)booted from the GENERIC kernel instead of my custom kernel. As suggested by Freebsd Update (section 25.2.2) I have a GENERIC kernel in ...