Boris Epstein
2015-Nov-04 14:31 UTC
[CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Hello all, Is there a way to recognize a hot-plugged disk (i.e., to get the system to recognize it and build the appropriate /dev/sd* device for the new device) without a reboot? Thanks. Boris.
Tnjulius
2015-Nov-04 15:12 UTC
[CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Hi Boris, Just rescan the scsi host. #scsi-rescan #if you have sg3_utils package #lsscsi Or #echo "- - -" > /sys/class/scsi_host/host[n]/scan Julius> On Nov 4, 2015, at 15:31, Boris Epstein <borepstein at gmail.com> wrote: > > Hello all, > > Is there a way to recognize a hot-plugged disk (i.e., to get the system to > recognize it and build the appropriate /dev/sd* device for the new device) > without a reboot? > > Thanks. > > Boris. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Boris Epstein
2015-Nov-04 15:22 UTC
[CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Hello Julius, Thanks - but it doesn't seem to work. I installed sg3_utils and ran #scsi-rescan but that seemed to have done nothing for some reason. Cheers, Boris. On Wed, Nov 4, 2015 at 10:12 AM, Tnjulius <tnjulius at gmail.com> wrote:> Hi Boris, > Just rescan the scsi host. > #scsi-rescan #if you have sg3_utils package > #lsscsi > Or > #echo "- - -" > /sys/class/scsi_host/host[n]/scan > > Julius > > > On Nov 4, 2015, at 15:31, Boris Epstein <borepstein at gmail.com> wrote: > > > > Hello all, > > > > Is there a way to recognize a hot-plugged disk (i.e., to get the system > to > > recognize it and build the appropriate /dev/sd* device for the new > device) > > without a reboot? > > > > Thanks. > > > > Boris. > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > https://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Eero Volotinen
2015-Nov-04 15:39 UTC
[CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Hi, I think, this is possible with scsi disks http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html Eero 4.11.2015 4.32 ip. "Boris Epstein" <borepstein at gmail.com> kirjoitti:> Hello all, > > Is there a way to recognize a hot-plugged disk (i.e., to get the system to > recognize it and build the appropriate /dev/sd* device for the new device) > without a reboot? > > Thanks. > > Boris. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Jonathan Billings
2015-Nov-04 16:03 UTC
[CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Wed, Nov 04, 2015 at 05:39:59PM +0200, Eero Volotinen wrote:> I think, this is possible with scsi disks > > http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.htmlWhile I believe that this URL has technically correct advice, it's basically doing a subset of the commands in the scsi-rescan script in the sg3_utils package. I wonder if you need to be running the vmware tools for the kernel to detect new devices? -- Jonathan Billings <billings at negate.org>
Possibly Parallel Threads
- getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
- getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
- getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
- getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
- getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device