Skip to content

Instantly share code, notes, and snippets.

View ganlub's full-sized avatar
🏠
Working from home

Albert Casanovas ganlub

🏠
Working from home
View GitHub Profile
@ganlub
ganlub / Readme.md
Last active August 25, 2018 11:10
Add disk to LVM
lvmdiskscan
vgdisplay
dd if=/dev/zero of=/dev/sda bs=512 count=1 
pvcreate /dev/sda
vgextend vg0 /dev/sda
lvresize -l +100%FREE --resizefs vg0/lv-0

Keybase proof

I hereby claim:

  • I am ganlub on github.
  • I am ganlub (https://keybase.io/ganlub) on keybase.
  • I have a public key whose fingerprint is 28F8 3C51 7C90 1437 C4E7 69F9 51B7 7775 637D C896

To claim this, I am signing this object:

@ganlub
ganlub / README.md
Created November 15, 2015 21:45 — forked from chrisjacob/README.md
Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result