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.
|
||
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. 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/.) |
||
Copyright © 2007-2023 Finnbarr P. Murphy. All Rights Reserved |