Last active
September 24, 2016 19:27
-
-
Save MOZGIII/30312a15ac99053881836e35d2686115 to your computer and use it in GitHub Desktop.
CAC disk size extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pvcreate /dev/sda3 | |
vgextend localhost-vg /dev/sda3 | |
lvextend /dev/localhost-vg/root -l +100%FREE | |
resize2fs /dev/mapper/localhost--vg-root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment