DISK Add New Volume from VMWare host: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
# Create and allocate the disk to the Linux guest on the VMWare Host.
# Create and allocate the disk to the Linux guest on the VMWare Host.
=== Linux ===
=== Linux ===
# On the Linux guest, rescan the scsi bus.
# On the Linux guest, rescan the SCSI Bus.
## <tt>'''# echo '- - -' > /sys/class/scsi_host/host#'''</tt>
## <tt>'''# echo '- - -' > /sys/class/scsi_host/host#'''</tt>
'''OR'''
# If you do not know the host, just scan the entire SCSI Bus.
## <tt>'''# echo "scsi add-single-device" 0 0 X 0 > /proc/scsi/scsi'''</tt>
## <tt>'''# echo 'scsi add-single-device' 0 0 X 0 > /proc/scsi/scsi'''</tt>
### X is the Next SCSI ID.
### X is the Next SCSI ID.


Line 18: Line 18:


[[Category:Linux]]
[[Category:Linux]]
[[Category:Windows]]

Revision as of 14:17, 1 August 2014

Installation of a New Physical Volume

  1. Create and allocate the disk to the Linux guest on the VMWare Host.

Linux

  1. On the Linux guest, rescan the SCSI Bus.
    1. # echo '- - -' > /sys/class/scsi_host/host#
  2. If you do not know the host, just scan the entire SCSI Bus.
    1. # echo 'scsi add-single-device' 0 0 X 0 > /proc/scsi/scsi
      1. X is the Next SCSI ID.
  1. Review the messages log for the new device name of the disk.
    1. # tail /var/log/messages
  2. Follow the PV Install Procedure.

Windows

Further Reading

  1. VMWare/Linux - Add a New Hard Disk without Rebooting