As the nas zpool responsible for storing media and documents have been growing out of its space lately it was time to do something about it. This is how it looked previously. # zpool list san NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT san 3.62T 2.93T 710G 80% 1.00x ONLINE – # zpool status … Read More →
Category Archives: Freebsd
Chrooting FTP users
The builtin ftp daemon in FreeBSD is able to lock users in secured directories by using chroot and is really simple to setup. There is a standardgroup called ftp with the groupid 14. Let’s make another group called ftpchroot as well. pw groupadd ftpchroot -g 15 Then create a filearea where the user should be … Read More →
Installing FreeBSD 9.1 using root on ZFS and GPT disks
This is partly based on the excellent guide at http://daemon-notes.com/articles/system/install-zfs/begin. Boot with FreeBSD 9.1 installer and select Live CD when the installer starts. Identify the disks you want to install to. SATA disks are named /dev/adaX and USB pendrives and SCSI drives are named /dev/daX. dmesg|egrep (ada|da) Of which output could look like this: da0 … Read More →
Diskless /var
On root filesystems that’s served from flash memory it may be advisable to keep off heavy writes from them. By putting /var on a ramdrive you can greatly increase the expected lifetime of an ssd or a usb memorystick. Initial steps A snapshot of /var needs to be created. On true diskless systems FreeBSD ramdrive … Read More →
Setting up a PXE bootserver
Notes on installing a PXE bootserver that boots diskless terminalservers by use of nfsroot. Three machines have been set up for this: Name IP bootserver 192.168.65.1 ts1 192.168.65.11 ts2 192.168.65.12 bootserver A typical install of FreeBSD have been used. Only including base, generic kernel and lib32. After it’s installed, freebsd-update have been applied to fetch … Read More →
Recent Comments