GEOM Gate Code Reading

In this article, we go through the user-space code of GEOM Gate in FreeBSD, which is responsible of exporting block devices to other hosts. About GEOM Gate GEOM Gate is a mechanism to allow block devices on one host to appear on another.  It can do interesting things from sharing an optical disc drive to … Continue reading GEOM Gate Code Reading


Network Booting FreeBSD

Installing an operating system is easy for a computer or two.  What about installing for multiples of them?  In some situations, one wants to save money and time from buying that many boot devices and maintain the disk images separately.  Network boot comes handy.  It is relatively easy with FreeBSD, especially since we do not … Continue reading Network Booting FreeBSD

Network File System with Firewall in FreeBSD

Network file system nfs(8) in FreeBSD is built on top of rpc(3) infrastructure where rpcbind(8) daemon is responsible binding the services for the clients.  Together with the companion services rpc.lockd(8), rpc.statd(8), and mountd(8), providing the total service with a firewall is tricky since the ports are different all the time.  In addition, sometimes the services are better to … Continue reading Network File System with Firewall in FreeBSD

Simple Experiment with Jails and Resource Control

While it has been a good practise to have one computer doing one role, it has also been  asked if a computer can be split for multiple functions as if it is a group of computers.  One would immediately answer virtual machines, but it can be too heavy and complicated, say like having virtual machines … Continue reading Simple Experiment with Jails and Resource Control