Difference between revisions of "Recognize new virtual disks added to Linux VMs without reboot"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb> =Recognize new virtual disks added to Linux VMs without reboot= It is possible that when a...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Recognize new virtual disks added to Linux VMs without reboot]]
=Recognize new virtual disks added to Linux VMs without reboot=


It is possible that when a new virtual disk is added to a Linux VM, the same is not visible ('<tt>fdisk -l</tt>') in the VM.  To recognize new virtual disks without reboot use:
It is possible that when a new virtual disk is added to a Linux VM, the same is not visible ('<tt>fdisk -l</tt>') in the VM.  To recognize new virtual disks without reboot use:
Line 10: Line 9:


Refer [[CentOS 7.x adding or removing FC multipath disks without reboot]]
Refer [[CentOS 7.x adding or removing FC multipath disks without reboot]]
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Recognize new virtual disks added to Linux VMs without reboot]]

Latest revision as of 08:30, 7 April 2022

Home > VMWare platform > VMWare vSphere or ESXi > Recognize new virtual disks added to Linux VMs without reboot

It is possible that when a new virtual disk is added to a Linux VM, the same is not visible ('fdisk -l') in the VM. To recognize new virtual disks without reboot use:

echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan

Refer CentOS 7.x adding or removing FC multipath disks without reboot



Home > VMWare platform > VMWare vSphere or ESXi > Recognize new virtual disks added to Linux VMs without reboot