Skip to content

Instantly share code, notes, and snippets.

@2510
2510 / ucarp-nfs-test.py
Created Jan 11, 2016
Test Script for ucarp+nfs
View ucarp-nfs-test.py
#!/usr/local/bin/python2.7
import os
import subprocess
import sys
import time
path = '/glusterfs/test.dat'
addresses = [ '10.0.0.1', '10.0.0.2', '10.0.0.127' ]
@2510
2510 / Windows 10 Disable Services.bat
Last active Dec 8, 2021
Disable unused services (for me) on Windows 10
View Windows 10 Disable Services.bat
REM Windows Search
sc config WSearch start=disabled
REM SSDP Discovery
sc config SSDPSRV start=disabled
REM Geolocation Service
sc config lfsvc start=disabled
REM ActiveX Installer
sc config AXInstSV start=disabled
REM AllJoyn Router Service
sc config AJRouter start=disabled
@2510
2510 / iscsi-zfs
Created May 28, 2016
FreeBSD rc.script for activating ZFS pool over iSCSI
View iscsi-zfs
#!/bin/sh
# PROVIDE: iscsi-zfs
# REQUIRE: iscsid iscsictl mountcritlocal var
# BEFORE: xtreemfs-osd
. /etc/rc.subr
name="iscsi-zfs"
start_cmd="iscsi_zfs_start"