DISK Add New Volume from VMWare host: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Installation of a New Physical Volume ==
== Installation of a New Physical Volume ==
# 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#/scan'''</tt>
#: <tt>'''# echo '- - -' > /sys/class/scsi_host/host#/scan'''</tt>
# If you do not know the host, just scan the entire SCSI Bus.
# 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


# Review the messages log for the new device name of the disk.
# Review the messages log for the new device name of the disk
## <tt>'''# tail /var/log/messages'''</tt>
#: <tt>'''# tail /var/log/messages'''</tt>
# Follow the [[LVM Install a New Physical Volume|PV Install]] Procedure.
# Follow the [[LVM Install a New Physical Volume|PV Install]] Procedure


=== Windows ===
=== Windows ===

Revision as of 18:55, 1 March 2017

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
    # echo '- - -' > /sys/class/scsi_host/host#/scan
  2. If you do not know the host, just scan the entire SCSI Bus
    # 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
    # tail /var/log/messages
  2. Follow the PV Install Procedure

Windows

Further Reading

  1. VMWare/Linux - Add a New Hard Disk without Rebooting
  2. rootvg: Redhat Linux How to dynamically add LUNs to Qlogic HBA