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

Apparent Negative free disk space and FreeBSD 12

Just curious as to what's happening here. This is just a non-prod VM that I have at home. Curious as to what leads to the 'negative' available diskspace. This is FreeBSD 12 running under VMWare ESXi 7. FreeBSD ssh1.rynhart.co.nz 12.0-RELEASE-p10…
Patrick Rynhart
  • 190
  • 1
  • 11
0
votes
0 answers

How to get custom option on client from ISC DHCP server

Over ISC-DHCP server I wanted to define a custom DHCP Option, for which I am using below config option imagefile code 224 = ip-address; subnet 192.168.29.0 netmask 255.255.255.0 { range 192.168.29.1 192.168.29.244; option imagefile…
0
votes
1 answer

pkg OSVERSION mismatches jail/host

I have a FreeBSD Host and some jails, the output of freebsd-version -u in the host and in the jail is 12.2-STABLE. In the host the output of uname -K and pkg -vv | grep OSVERSION matches 1202505 but within the jail I get OSVERSION = 1201512; I…
nbari
  • 558
  • 1
  • 9
  • 28
0
votes
1 answer

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block copies unavailable invalid format FreeBSD/x86…
0
votes
1 answer

i'm able to create raidz with diff sized of hard disk. where im missing?

i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? da0 0:107 12G zfs - - da1 0:109…
0
votes
1 answer

FreebSD ipfw: using not with multiple addresses

Any ideas why this rule won't parse? ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0 ipfw doesn't like and and says: ipfw: missing ")" I've tried other variants, for example, putting the not in front of…
pnadeau
  • 143
  • 4
0
votes
0 answers

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it with virtual-customize) but I could not customize…
Sheele
  • 16
  • 2
0
votes
2 answers

Can fsck on ufs cause data loss?

I'm on FreeBSD8. I have a problem with a partition. I can't mount it. It says "Operation not permitted." I run fsck -t ufs /dev/da0p1. After it finish the operation, I can mount it successfully. But there is no any data in the partition now. I don't…
teerapap
  • 101
  • 1
  • 4
0
votes
2 answers

Freebsd Jails alternatives on Debian/Centos

I am moving from FreeBSD/Freenas to Debian/Freenas Scale eventually, but the question is broader. What would be the equivalent for jails on Linux osses. Now most will recommend docker or some variant of that. I would agree but I really REALLY like…
0
votes
1 answer

Scheduling a script execution with cron in a jail on FreeNas

I have a jail on my FreeNAS server containing Plex, and I have at the root of this jail a script called PMS_Updater.sh which checks if a new version of Plex is available and install it if it is the case. To run the script manually, I do: (jail ID 1…
Mathieu
  • 101
  • 3
0
votes
1 answer

"service my_service stop" is deemed an error whenever a service is in the "stopped" condition already. How to move on despite an error?

I have a bunch of bash commands that are run via ssh: #!/bin/bash CMD=" set -e cmd1 cmd2 # ........ service my_service stop # ......... # some commands here...... # ......... service my_service start " ssh -t -A -q -C…
karneliy
  • 21
  • 1
  • 5
0
votes
0 answers

rsync broken pipe between two servers on different networks

I have two FreeBSD servers, both on different networks, with a firewall in between. I have no control over the firewall. Server 1: IP: 10.1.0.2 GW (firewall): 10.1.0.1 Server2: IP: 10.2.0.2 GW (firewall): 10.2.0.1 I am trying…
0
votes
0 answers

USB Drive at the same location on FreeBSD

I have a number of USB drives that are attached to a FreeNAS server. These are then used as offline backup targets. One problem is that the order that the drives are plugged into matters. On a Linux based system, I would use udev rules to ensure…
tl8
  • 131
  • 2
  • 4
0
votes
1 answer

Having trouble with tcp mode on HAProxy running on OPNsense

I'm trying to setup HAProxy to do simple tcp passthrough to different backends based on SNI. However, I have serious issues on my clients if I do so: Firefox: PR_END_OF_FILE_ERROR Brave/Chrome/Safari: ERR_CONNECTION_CLOSED (works after several…
TylerDurden
  • 191
  • 1
  • 3
  • 14
0
votes
1 answer

Configuring NUT for old serial connected UPS (Tripp-Lite)

I have an old Tripp-Lite UPS (SU2200RTXL2UA) which I need to communicate with via it's RS232 Port (this model doesn't have a USB port). I'm trying to figure out which Serial NUT driver would be most appropriate to receive communications from this…
Jason O
  • 159
  • 1
  • 2
  • 8