Skip to content

Instantly share code, notes, and snippets.

View bedecarroll's full-sized avatar

Bede Carroll bedecarroll

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bedecarroll on github.
  • I am bedecarroll (https://keybase.io/bedecarroll) on keybase.
  • I have a public key ASDGseYGyGXTWNckdPiaJhsGU3_lsw9S9o-hH48X7vZIyQo

To claim this, I am signing this object:

@bedecarroll
bedecarroll / install_host_client_vib.yml
Created December 6, 2015 05:52
Ansible playbook to install the VMware ESXi Embedded Host Client. Requires the VIB (esxui-signed.vib) to be in the folder as the playbook. Will install or upgrade as required.
---
- hosts: esxi
tasks:
- name: Get list of installed VIBs
shell: esxcli software vib get -n "esx-ui"
register: vibs
changed_when: false
ignore_errors: yes
@bedecarroll
bedecarroll / 0_reuse_code.js
Last active August 29, 2015 14:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@bedecarroll
bedecarroll / gist:ca04a80f52cbfebb1135
Created January 27, 2015 13:28
FreeNAS P16 Dell HBA Cross Flash Before Adapter Information
# sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 14.00.00.00 (2012.07.04)
Copyright (c) 2008-2012 LSI Corporation. All rights reserved
Adapter Selected is a LSI SAS: SAS2008(B2)
Controller Number : 0
Controller : SAS2008(B2)
PCI Address : 00:41:00:00
@bedecarroll
bedecarroll / gist:ddf7bb4a797846ee23b9
Created January 27, 2015 13:27
FreeNAS P16 Dell HBA Cross Flash After Adapter Information
# sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 14.00.00.00 (2012.07.04)
Copyright (c) 2008-2012 LSI Corporation. All rights reserved
Adapter Selected is a LSI SAS: SAS2008(B2)
Controller Number : 0
Controller : SAS2008(B2)
PCI Address : 00:41:00:00
@bedecarroll
bedecarroll / gist:de2e570955a407252c44
Created January 27, 2015 13:25
FreeNAS P16 Dell HBA Cross Flash In OS Attempt
# sas2flash -o -f /tmp/9200-8e.bin -b /tmp/mptsas2.rom
LSI Corporation SAS2 Flash Utility
Version 14.00.00.00 (2012.07.04)
Copyright (c) 2008-2012 LSI Corporation. All rights reserved
Advanced Mode Set
Adapter Selected is a LSI SAS: SAS2008(B2)
Executing Operation: Flash Firmware Image
@bedecarroll
bedecarroll / gist:e49ce6ef95e6a1524929
Created January 27, 2015 13:21
VMware LSI Flash Output
/tmp # /opt/lsi/bin/sas2flash -o -f /tmp/9207-8.bin -b /tmp/mptsas2.rom
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Advanced Mode Set
Adapter Selected is a LSI SAS: SAS2308_2(D1)
Executing Operation: Flash Firmware Image
@bedecarroll
bedecarroll / gist:d291f3650024c7b7d875
Created January 27, 2015 13:16
VMware LSI Status Before Flash
/tmp # /opt/lsi/bin/sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Adapter Selected is a LSI SAS: SAS2308_2(D1)
Controller Number : 0
Controller : SAS2308_2(D1)
PCI Address : 00:08:00:00
@bedecarroll
bedecarroll / gist:ed85542ac3251c80e1c7
Last active August 29, 2015 14:14
VMware LSI Status After Flash
/tmp # /opt/lsi/bin/sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Adapter Selected is a LSI SAS: SAS2308_2(D1)
Controller Number : 0
Controller : SAS2308_2(D1)
PCI Address : 00:08:00:00
@bedecarroll
bedecarroll / 2 VDEV
Created January 27, 2015 02:54
ZFS 2 VDEV layout
# zpool status tank
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/ ONLINE 0 0 0