Random tips from reading

Red Hat Storage Server 3.3

JBOD configurations support up to 36 disks per node with dispersed volumes and three-way replication.

廣告

pfSense DNS forward for intranet with private (LAN) domains

Trying to get pfSense’s DNS forwarder to resolve internal DNS using LAN DNS servers, I found that pfSense could resolve internal LAN domains but DNS client always get NOERROR without getting a proper A record from pfSense. Public IP DNS resolve without any issue.

The issue lies in pfSense’s default command line in launching dnsmasq

--stop-dns-rebind

which would cause the DNS forwarder to be filtered out.

Add the following custom options:

Preparing a disk in FreeNAS using geom commands

Working on disk /dev/da0:

# gpart create -s gpt /dev/da0
# gpart add -t freebsd-swap -b 128 -s 2147483648b da0
# gpart add -t freebsd-zfs -b 4194432 -s 7999415652352b da0

Note: Size (-s) is given in bytes (b)

Operations can be verified

# gpart list da0

Further notes:

  1. Swap partition starts from 128th 512-byte block (beginning of 64kB boundary)
  2. Swap size is 4096*1024*512-byte (4194304 blocks)