If you add a new disk to a Linux VM system and you don't want to reboot it, you must rescan the SCSI bus to detect it.
Here you can find a bash script that will do this task for you:
http://www.garloff.de/kurt/linux/
Thanks to garloff.
If you add a new disk to a Linux VM system and you don't want to reboot it, you must rescan the SCSI bus to detect it.
Here you can find a bash script that will do this task for you:
http://www.garloff.de/kurt/linux/
Thanks to garloff.
Here is a good article that explains how to use iSCSI on a VMware esx 3.5:
There is also a similar document for vSphere (esx 4):
From VMware Knowledge Base:
When you log into the ESX 3.x host service console, you see the message:
Configuration changes were not saved successfully during previous shutdown.
Note: This message is stored in /etc/motd and is generated by the /etc/init.d/vmware script when esxcfg-boot -r returns an error when executed during a shutdown of the ESX host.
The log file /var/log/messages may show the following error messages:
ERROR: Execution of '/sbin/vmware-mkinitrd -r -f -v /tmp/vmware.1.tmp '2.4.21-37.0.2.ELvmnix'' failed. See log messages above.
ERROR: Could not write out new initrds.
You need to recreate the initrd image file.
T o recreate the initrd image file:
Log in as a user with administrative privileges.
Run the commands:
esxcfg-boot -b
esxcfg-boot -p
esxcfg-boot -r
The message does not appear on the next ESX host reboot.
Note: A screenshot is shown below: