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 →
Tag Archives: Ssh
Copying a ZFS volume across a server
Take a snapshot of the volume on source server: root@source# zfs snapshot zfs_dataset/volume@now Send the snapshot to the target server. Target zfs_dataset can be different: root@source# zfs send zfs_dataset/volume@now | ssh target zfs recieve zfs_dataset/volume@now Clone the snapshot with the supposed name of the new volume zfs clone zfs_dataset/volume@now zfs_dataset/clone Promote it, in effect switching … Read More →
Restore a FreeBSD installation through ZFS send/recieve
Boot into RescueCD onto receiving machine. Then create GPT partitioning scheme (If a new machine and assuming ad0 is the disk) gpart create -s gpt ad0 gpart add -t freebsd-boot -s 64K ad0 gpart add -t freebsd-swap -s 2G -l swap0 ad0 gpart add -t freebsd-zfs -l disk0 ad0 gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsboot … Read More →
Recent Comments