Translate

Archives

Adding and Removing Disks From VMware RHEL7 Guests Without Rebooting

In this post, I show you how to quickly add or delete a virtual disk in a running Red Hat or CentOS guest VM, running on VMware Workstation or VMware Player, without rebooting the guest.

Find Hard Disks on System

Assuming you have a Linux 2.6 kernel, there are a number of places where you can find information about the hard disks on your computer without using any utilities such as fdisk, gdisk or lshw, or by checking log files. All disks and partitions are listed in /proc/partitions. Each disk also has an entry under /sys/block. Under /dev, you can find disks and partitions by serial number (/dev/disk/by-id/), by UUID (/dev/disk/by-uuid), by filesystem label (/dev/disk/by-label/) or by hardware bus (/dev/disk/by-path/.)