managing disks and using lvm (and other tools)

Just a collection of some links that I found nifty, dealing with disks on Linux: fdisk -l or parted -l, lsblk (aka list block devices)List all hard disks connected to a CentOS system – lshwCheck for hard disk errors / signs of failure on CentOS ServerCentOS / RHEL : How to extend Physical Volume in… Continue Reading managing disks and using lvm (and other tools)

LVM Cheatsheet

Just for me to remember the most basic commands: pvdisplay List physical devices.vgdisplay List volume groups.lvdisplay List logical volumes. lvmdiskscan List devices that may be used as physical volumes lvextend Extend logical volume (by percent, up to specified size or by amount)resize2fs Resize file system after extending a logical volume pvcreate Create physical volumevgcreate Create… Continue Reading LVM Cheatsheet