DISK Add New Volume from VMWare host: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 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 | ||
=== 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> | ||
# 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>'''# 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 | # 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 | # Follow the [[LVM Install a New Physical Volume|PV Install]] Procedure | ||
=== Windows === | === Windows === | ||
Line 16: | Line 17: | ||
== 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]] | [[Category:Windows]] |
Latest revision as of 17:26, 15 November 2021
Installation of a New Physical Volume
- Create and allocate the disk to the Linux guest on the VMWare Host
Linux
- On the Linux guest, rescan the SCSI Bus
- # echo '- - -' > /sys/class/scsi_host/host#/scan
- 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
- Review the messages log for the new device name of the disk
- # tail /var/log/messages
- Follow the PV Install Procedure