Skip to content

Instantly share code, notes, and snippets.

Olivier Lambert olivierlambert

Block or report user

Report or block olivierlambert

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
olivierlambert /
Created Jan 31, 2018
Manual mount multi-disks LVM



  • On Debian: libvhdi-utils package
  • On Fedora:
sudo dnf install
sudo dnf install libvhdi-tools
olivierlambert /
Last active Jan 28, 2018
unlock coalesce

Find if coalesce

px axf | grep coalesce

If nothing, rescan SR and repeat the ps

Force it

If still said lock active, remove the lock:

olivierlambert /
Created Jul 26, 2017
Quick instructions to use Xen on gluster mount

In order to have your VM disk hosted on a Gluster share, you need:

  • to install Gluster client
  • mount your Gluster share
  • create your VM disks on the share and use the path in your domU config file

Install Gluster client

Pre req

olivierlambert /
Created Jan 16, 2016
A modern admin Dashboard

How-to is here to help you to create a nice dashboard with:

  • centralized logs
  • perfs counters
olivierlambert /
Last active May 10, 2018 — forked from eraserewind/ IPv6 in Debian virtual machines
View IPv6 in Debian virtual machines

Without this annoying dribbler thing.


  • RANGE = /64
  • EXT_IF = external interface
  • IPV6 = Any IPv6 in RANGE
  • DUID = dhcp client id. Find it in

FAT stuff

  1. dd if=/dev/zero of=test.img bs=1M count=10 (image generation of 10MB file)
  2. mkfs.fat test.img (create filesystem inside)
  3. head -c 512 test.img exctract the first 512 bytes


  • create a buffer of 10MB

VFAT disk

  1. apt-get install dosfstools
  2. mkfs.vfat /dev/xvdx



olivierlambert /
Last active Aug 29, 2015
iSCSI process in XAPI

The iSCSI process for XAPI

Step 1: find the iSCSI IQN on a target

# xe sr-probe type=lvmoiscsi device-config:target=

It returns an error:

View test_es.json
"title": "Logs",
"services": {
"query": {
"list": {
"0": {
"query": "",
"alias": "",
"color": "#7EB26D",
"id": 0,
olivierlambert / n.sls
Last active Aug 29, 2015
Salt Formula for 'n'
View n.sls
- installed
- pkgs:
- curl
- name: 'curl -o /usr/local/bin/n'
- unless: which n
You can’t perform that action at this time.