Skip to content

Instantly share code, notes, and snippets.

View FAAAAT's full-sized avatar

FAAAAT

View GitHub Profile
@WeebDataHoarder
WeebDataHoarder / Z_dpdk_fm10k.example.conf
Last active September 12, 2022 01:42
Sets up DPDK + Silicom FM10K patches and Open vSwitch withd DPDK support, with inline Switch Managers that supports, between others, Silicom PE3100G2DQiRM-QX4 cards.
# Tell how many PF ports are bound in DPDK.
# Driver will check the number when initializes.
dpdk.bind.pf.number int 4
# Set external port speed, 40 means 40G, 100 means 100G.
extern.port.speed int 40
@rikka0w0
rikka0w0 / pxe_win10_winpe.md
Last active March 27, 2024 13:59
Boot Windows 10 and WinPE from PXE (IPXE)

Pre-requests:

  1. TFTP server
  2. IPXE Make sure ipxe.lkrn is in the TFTP root.
  3. iSCSI target (Server) Assume we have an iSCSI target "1:net.cszombie.au:windows" that is ready to be connected. 1 is LUN id, "net.cszombie.au:windows" is the target name.
  4. HTTP server (To speed up loading boot.wim, http is faster than tftp, http is supported by IPXE, however this is optional)

1. Download wimboot to the root of the TFTP server

2. Create scripts:

@dadatuputi
dadatuputi / zfs_smart.sh
Last active February 12, 2024 16:13
Run SMART tests on a ZFS pool
#!/bin/bash
usage() { echo "Usage: $0 -p <POOL> (-s|-l)" 1>&2; exit 1; }
while getopts ":p:sl" o; do
case "${o}" in
p)
p=${OPTARG}
;;
s)