Skip to content

Instantly share code, notes, and snippets.

@lemenkov
Created September 7, 2013 15:51
Show Gist options
  • Save lemenkov/6476720 to your computer and use it in GitHub Desktop.
Save lemenkov/6476720 to your computer and use it in GitHub Desktop.
How to add new harddisk to LVM
umount /media
pvcreate /dev/sdi
vgextend video /dev/sdi
lvextend -l +100%FREE /dev/mapper/video-video
systemctl start media.mount
xfs_growfs /media
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment