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
 
(8 intermediate revisions by the same user not shown)
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
# On the Linux guest, rescan the scsi bus.
=== Linux ===
## <tt>'''# echo '- - -' > /sys/class/scsi_host/host#'''</tt>
# On the Linux guest, rescan the SCSI Bus
# Review the messages log for the new device name of the disk.
#: <tt>'''# echo '- - -' > /sys/class/scsi_host/host#/scan'''</tt>
## <tt>'''# tail /var/log/messages'''</tt>
# If you do not know the host, just scan the entire SCSI Bus
# Follow the [[LVM Install a New Physical Volume|PV Install]] Procedure.
#: <tt>'''# lsscsi -s'''</tt>
#: <tt>'''# echo 'scsi add-single-device' 0 0 X 0 > /proc/scsi/scsi'''</tt>
#:: X is the Next SCSI ID
 
# Review the messages log for the new device name of the disk
#: <tt>'''# tail /var/log/messages'''</tt>
# Follow the [[LVM Install a New Physical Volume|PV Install]] Procedure
 
=== Windows ===


== Further Reading ==
== Further Reading ==
# [http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html VMWare/Linux - Add a New Hard Disk without Rebooting]
# [http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html VMWare/Linux - Add a New Hard Disk without Rebooting]
# [http://unix-rootvg.blogspot.com/2011/09/redhat-linux-how-to-dynamically-add.html rootvg: Redhat Linux How to dynamically add LUNs to Qlogic HBA]


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

Latest revision as of 17:26, 15 November 2021

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
    # lsscsi -s
    # echo 'scsi add-single-device' 0 0 X 0 > /proc/scsi/scsi
    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