Created
October 28, 2015 01:04
-
-
Save RicardoACS/b6f8810f0206e08d9837 to your computer and use it in GitHub Desktop.
Creación Discos LVM
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
Instalación LVM vía CLI | |
1) Incorporar disco en la máquina | |
2) Particionar disco | |
fdisk /dev/sdb | |
8e Linux lvm | |
3) Crearlo como PV | |
pvcreate /dev/sdb1 | |
4) Generar un VG | |
vgcreate vg_nombre /dev/sdb1 | |
5) Crear un VG | |
lvcreate -n lv_nombre -L 3G vg_nombre | |
6) Dare formato al LV con el comando lvscan | |
mkfs.ext4 /dev/vg_nombre/lv_nombre | |
7) Montar el disco | |
mount /dev/vg_nombre/lv_nombre /mnt | |
8) Incorporarlo en el fstab | |
vi /etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment