Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Fri, Nov 6, 2015 at 9:56 AM, Boris Epstein wrote: > > > On Thu, Nov 5, 2015 at 8:23 AM, Tris Hoar wrote: > >> On 04/11/2015 20:59, John R Pierce wrote: >> >>> On 11/4/2015 12:52 PM, Boris Epstein wrote: >>> I don't get this for some reason... not even sure why. ESXi's default behaviour seems to be to allow hotplug, that does not seem to be deactivated. I am just not sure. Wonder if this could be the Centos 7 vs 6 - perhaps that is what I ought to test for. >>> >>> what virtual SCSI controller type are you using for these VM's? Mine are >>> 'paravirtual'. >>> >>> >> Also, what guest OS and VM hardware version is the guest running as? >> >> Tris >> >> >> * >> This email and any files transmitted with it are confidential >> and intended solely for the use of the individual or entity to whom they >> are addressed. If you have received this email in error please notify >> postmas...@bgfl.org >> >> The views expressed within this email are those of the individual, and >> not necessarily those of the organisation >> * >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > > Tris, John, > > Thanks! > > I blew away the original VM I was using for testing as it came time to do > the things for real in production - and, as much as I hated it, I just > added the disk and rebooted the production machine to make it "see" that > disk. > > However, I have then decided to investigate the matter further. So I > created a new one. It is running on an ESXi 5.5 server, VM Version 10, > VMware Paravirtual SCSI controller, configured for RedHat 6/64-bit OS, > running Centos 6/64 bit. And it worked perfectly when it came to "seeing" a > hotplugged disk drive. > > So I am not sure what to make of all of it - but it looks like freshly > created VM's are OK and it was indeed something to do with the VM settings. > > Cheers, > > Boris. > > Hello all, OK, looks like I have figured it out. It seems to be a matter of the SCSI bus emulation: things work fine with the Paravirtual but do not with the LSI Parallel. Good to know:) Thanks for all your help, everybody. Cheers, Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Thu, Nov 5, 2015 at 8:23 AM, Tris Hoar wrote: > On 04/11/2015 20:59, John R Pierce wrote: > >> On 11/4/2015 12:52 PM, Boris Epstein wrote: >> >>> I don't get this for some reason... not even sure why. ESXi's default >>> behaviour seems to be to allow hotplug, that does not seem to be >>> deactivated. I am just not sure. Wonder if this could be the Centos 7 >>> vs 6 >>> - perhaps that is what I ought to test for. >>> >> >> what virtual SCSI controller type are you using for these VM's? Mine are >> 'paravirtual'. >> >> > Also, what guest OS and VM hardware version is the guest running as? > > Tris > > > * > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > postmas...@bgfl.org > > The views expressed within this email are those of the individual, and not > necessarily those of the organisation > * > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Tris, John, Thanks! I blew away the original VM I was using for testing as it came time to do the things for real in production - and, as much as I hated it, I just added the disk and rebooted the production machine to make it "see" that disk. However, I have then decided to investigate the matter further. So I created a new one. It is running on an ESXi 5.5 server, VM Version 10, VMware Paravirtual SCSI controller, configured for RedHat 6/64-bit OS, running Centos 6/64 bit. And it worked perfectly when it came to "seeing" a hotplugged disk drive. So I am not sure what to make of all of it - but it looks like freshly created VM's are OK and it was indeed something to do with the VM settings. Cheers, Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On 04/11/2015 20:59, John R Pierce wrote: On 11/4/2015 12:52 PM, Boris Epstein wrote: I don't get this for some reason... not even sure why. ESXi's default behaviour seems to be to allow hotplug, that does not seem to be deactivated. I am just not sure. Wonder if this could be the Centos 7 vs 6 - perhaps that is what I ought to test for. what virtual SCSI controller type are you using for these VM's? Mine are 'paravirtual'. Also, what guest OS and VM hardware version is the guest running as? Tris * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation * ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On 11/4/2015 12:52 PM, Boris Epstein wrote: I don't get this for some reason... not even sure why. ESXi's default behaviour seems to be to allow hotplug, that does not seem to be deactivated. I am just not sure. Wonder if this could be the Centos 7 vs 6 - perhaps that is what I ought to test for. what virtual SCSI controller type are you using for these VM's? Mine are 'paravirtual'. -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
>> > vmware esxi 5.5.0 (free, using vsphere client to manage), vm is minimal > centos 7 64bit. I added a 16gb vdisk and immediately see this in dmesg... > > [155484.386792] vmw_pvscsi: msg type: 0x0 - MSG RING: 1/0 (5) > [155484.386796] vmw_pvscsi: msg: device added at scsi0:1:0 > [155484.388250] scsi 0:0:1:0: Direct-Access VMware Virtual disk > 1.0 PQ: 0 ANSI: 2 > [155484.391275] sd 0:0:1:0: [sdb] 33554432 512-byte logical blocks: (17.1 > GB/16.0 GiB) > [155484.391552] sd 0:0:1:0: [sdb] Write Protect is off > [155484.391556] sd 0:0:1:0: [sdb] Mode Sense: 61 00 00 00 > [155484.391593] sd 0:0:1:0: [sdb] Cache data unavailable > [155484.391595] sd 0:0:1:0: [sdb] Assuming drive cache: write through > [155484.396148] sdb: unknown partition table > [155484.396356] sd 0:0:1:0: [sdb] Attached SCSI disk > > and lsblk shows... > > # lsblk > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda 8:00 32G 0 disk > > sdb 8:16 0 16G 0 disk > ... > > so I can immediately... > > # mkfs.xfs /dev/sdb > meta-data=/dev/sdb isize=256agcount=4, agsize=1048576 > blks > . > # mount /dev/sdb /mnt > # > > (normally, I'd partition and lvm it, this is just for demo) > I'm using a paravirtual scsi controller, and have previously installed > open-vm-tools via yum. > > I then umounted it, and in vsphere deleted the vdisk and dmesg immediately > shows... > > [155820.730477] vmw_pvscsi: msg type: 0x1 - MSG RING: 2/1 (5) > [155820.730481] vmw_pvscsi: msg: device removed at scsi0:1:0 > [155820.754176] sd 0:0:0:0: Attached scsi generic sg0 type 0 > [155820.754247] sr 2:0:0:0: Attached scsi generic sg1 type 5 > > > I also did much the same with a CentOS 6.7 VM, also using a 'paravirtual > SCSI' vm on the same esxi host, when I added the vdisk, it immediately > shows... > > # dmesg > . > vmw_pvscsi: msg type: 0x0 - MSG RING: 1/0 (5) > vmw_pvscsi: msg: device added at scsi0:1:0 > scsi 2:0:1:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: > 2 > sd 2:0:1:0: Attached scsi generic sg2 type 0 > sd 2:0:1:0: [sdb] 33554432 512-byte logical blocks: (17.1 GB/16.0 GiB) > sd 2:0:1:0: [sdb] Write Protect is off > sd 2:0:1:0: [sdb] Mode Sense: 61 00 00 00 > sd 2:0:1:0: [sdb] Cache data unavailable > sd 2:0:1:0: [sdb] Assuming drive cache: write through > sd 2:0:1:0: [sdb] Cache data unavailable > sd 2:0:1:0: [sdb] Assuming drive cache: write through > sdb: unknown partition table > sd 2:0:1:0: [sdb] Cache data unavailable > sd 2:0:1:0: [sdb] Assuming drive cache: write through > sd 2:0:1:0: [sdb] Attached SCSI disk > > # lsblk > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sr0 11:01 1024M 0 rom > sda 8:00 16G 0 disk > ├─sda1 8:10 500M 0 part /boot > └─sda2 8:20 15.5G 0 part > ├─vg_svfisc6test5-lv_root (dm-0) 253:00 9.6G 0 lvm / > └─vg_svfisc6test5-lv_swap (dm-1) 253:10 5.9G 0 lvm [SWAP] > sdb 8:16 0 16G 0 disk > > and I note this VM is *not* running vmware tools > > NEITHER of these two VMs required rebooting or any echo "- - -" > >/sys/scsi/.. stuffs. > > > -- > john r pierce, recycling bits in santa cruz > > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > John, Thanks for your input. I don't get this for some reason... not even sure why. ESXi's default behaviour seems to be to allow hotplug, that does not seem to be deactivated. I am just not sure. Wonder if this could be the Centos 7 vs 6 - perhaps that is what I ought to test for. Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On 11/4/2015 11:36 AM, Boris Epstein wrote: Absolutely, I see your point. This was the starting point - you add the device on the ESXi server, you reboot the VM, the VM sees the device, no problem. Now, I ask - do I have to reboot the VM? Logically I hope there ought to be a way for me not to have to do that - but I have yet to figure out how to get there. vmware esxi 5.5.0 (free, using vsphere client to manage), vm is minimal centos 7 64bit. I added a 16gb vdisk and immediately see this in dmesg... [155484.386792] vmw_pvscsi: msg type: 0x0 - MSG RING: 1/0 (5) [155484.386796] vmw_pvscsi: msg: device added at scsi0:1:0 [155484.388250] scsi 0:0:1:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2 [155484.391275] sd 0:0:1:0: [sdb] 33554432 512-byte logical blocks: (17.1 GB/16.0 GiB) [155484.391552] sd 0:0:1:0: [sdb] Write Protect is off [155484.391556] sd 0:0:1:0: [sdb] Mode Sense: 61 00 00 00 [155484.391593] sd 0:0:1:0: [sdb] Cache data unavailable [155484.391595] sd 0:0:1:0: [sdb] Assuming drive cache: write through [155484.396148] sdb: unknown partition table [155484.396356] sd 0:0:1:0: [sdb] Attached SCSI disk and lsblk shows... # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:00 32G 0 disk sdb 8:16 0 16G 0 disk ... so I can immediately... # mkfs.xfs /dev/sdb meta-data=/dev/sdb isize=256agcount=4, agsize=1048576 blks . # mount /dev/sdb /mnt # (normally, I'd partition and lvm it, this is just for demo) I'm using a paravirtual scsi controller, and have previously installed open-vm-tools via yum. I then umounted it, and in vsphere deleted the vdisk and dmesg immediately shows... [155820.730477] vmw_pvscsi: msg type: 0x1 - MSG RING: 2/1 (5) [155820.730481] vmw_pvscsi: msg: device removed at scsi0:1:0 [155820.754176] sd 0:0:0:0: Attached scsi generic sg0 type 0 [155820.754247] sr 2:0:0:0: Attached scsi generic sg1 type 5 I also did much the same with a CentOS 6.7 VM, also using a 'paravirtual SCSI' vm on the same esxi host, when I added the vdisk, it immediately shows... # dmesg . vmw_pvscsi: msg type: 0x0 - MSG RING: 1/0 (5) vmw_pvscsi: msg: device added at scsi0:1:0 scsi 2:0:1:0: Direct-Access VMware Virtual disk 1.0 PQ: 0 ANSI: 2 sd 2:0:1:0: Attached scsi generic sg2 type 0 sd 2:0:1:0: [sdb] 33554432 512-byte logical blocks: (17.1 GB/16.0 GiB) sd 2:0:1:0: [sdb] Write Protect is off sd 2:0:1:0: [sdb] Mode Sense: 61 00 00 00 sd 2:0:1:0: [sdb] Cache data unavailable sd 2:0:1:0: [sdb] Assuming drive cache: write through sd 2:0:1:0: [sdb] Cache data unavailable sd 2:0:1:0: [sdb] Assuming drive cache: write through sdb: unknown partition table sd 2:0:1:0: [sdb] Cache data unavailable sd 2:0:1:0: [sdb] Assuming drive cache: write through sd 2:0:1:0: [sdb] Attached SCSI disk # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:01 1024M 0 rom sda 8:00 16G 0 disk ├─sda1 8:10 500M 0 part /boot └─sda2 8:20 15.5G 0 part ├─vg_svfisc6test5-lv_root (dm-0) 253:00 9.6G 0 lvm / └─vg_svfisc6test5-lv_swap (dm-1) 253:10 5.9G 0 lvm [SWAP] sdb 8:16 0 16G 0 disk and I note this VM is *not* running vmware tools NEITHER of these two VMs required rebooting or any echo "- - -" >/sys/scsi/.. stuffs. -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Wed, Nov 4, 2015 at 1:57 PM, wrote: > Boris Epstein wrote: > >> > >> My turn for a dumb question: from not paying a lot of attention to this > >> thread, the answer isn't clear to me: has the *host* recognized the > >> disk? If not, the guest's not going to see it. > > > > IMO your question is not dumb at all. Unfortunately, I don't have an > > answer to it. > > > > All I know is, you reboot the VM and it all works as expected. > > Ok, if rebooting the VM, and *only* the VM, fixes it in the VM, then the > host - the system the VM's running on - knows about the drive. You see > where I was going with that > >mark > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Mark, Absolutely, I see your point. This was the starting point - you add the device on the ESXi server, you reboot the VM, the VM sees the device, no problem. Now, I ask - do I have to reboot the VM? Logically I hope there ought to be a way for me not to have to do that - but I have yet to figure out how to get there. Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Boris Epstein wrote: >> >> My turn for a dumb question: from not paying a lot of attention to this >> thread, the answer isn't clear to me: has the *host* recognized the >> disk? If not, the guest's not going to see it. > > IMO your question is not dumb at all. Unfortunately, I don't have an > answer to it. > > All I know is, you reboot the VM and it all works as expected. Ok, if rebooting the VM, and *only* the VM, fixes it in the VM, then the host - the system the VM's running on - knows about the drive. You see where I was going with that mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
> > > My turn for a dumb question: from not paying a lot of attention to this > thread, the answer isn't clear to me: has the *host* recognized the disk? > If not, the guest's not going to see it. > > mark > > > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Mark, IMO your question is not dumb at all. Unfortunately, I don't have an answer to it. All I know is, you reboot the VM and it all works as expected. Cheers, Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Boris Epstein wrote: > 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. > My turn for a dumb question: from not paying a lot of attention to this thread, the answer isn't clear to me: has the *host* recognized the disk? If not, the guest's not going to see it. mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
> > > It usually works very nice here, > Have you added only the disk or by accident another scsi controller? > This happens (you probably know) if you select another bus while creating > the disc. > > VG Rainer > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Rainer, Thanks. It looks like I just created another disk on the same controller as I intended - and once I rebooted the VM it worked just fine - I got my disks (/dev/sda through /dev/sdd) accessible and functional. Cheers, Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Am 04.11.2015 um 17:26 schrieb Boris Epstein: It was a SCSI controller. It usually works very nice here, Have you added only the disk or by accident another scsi controller? This happens (you probably know) if you select another bus while creating the disc. VG Rainer ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
@Boris: If you have CentOS 6 + ESXi5.5, it should normally work fine. Have you retry the operation by adding another vDisk? monitor /var/log/messages Julius 2015-11-04 17:34 GMT+01:00 Boris Epstein : > On Wed, Nov 4, 2015 at 11:29 AM, Eero Volotinen > wrote: > > > It should work fine. What esxi version you are using? > > > > Eero > > 4.11.2015 6.27 ip. "Boris Epstein" kirjoitti: > > > > > Eero, > > I know. It is EXSi 5.5 > > Thanks. > > Boris. > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Wed, Nov 4, 2015 at 11:29 AM, Eero Volotinen wrote: > It should work fine. What esxi version you are using? > > Eero > 4.11.2015 6.27 ip. "Boris Epstein" kirjoitti: > > Eero, I know. It is EXSi 5.5 Thanks. Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
It should work fine. What esxi version you are using? Eero 4.11.2015 6.27 ip. "Boris Epstein" kirjoitti: > > > > > > > > was the controller you added the virtual disk to an IDE or scsi > controller? > > > > -- > > public gpg key id: 1362BA1A > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > https://lists.centos.org/mailman/listinfo/centos > > > > It was a SCSI controller. > > Boris. > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On 11/04/2015 11:05 AM, Boris Epstein wrote: > On Wed, Nov 4, 2015 at 11:03 AM, Jonathan Billings > wrote: > >> 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.html >> >> While 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 >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > Jonathan, > > Thanks, good point. I do have VMware tools running on the VM, though. > > Boris. > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos was the controller you added the virtual disk to an IDE or scsi controller? -- public gpg key id: 1362BA1A ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
> > > > was the controller you added the virtual disk to an IDE or scsi controller? > > -- > public gpg key id: 1362BA1A > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > It was a SCSI controller. Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Wed, Nov 4, 2015 at 11:03 AM, Jonathan Billings wrote: > 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.html > > While 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 > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Jonathan, Thanks, good point. I do have VMware tools running on the VM, though. Boris. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [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.html While 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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [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" 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@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Zep, Thanks - nothing insulting about asking questions. I did run this command as root as I would never run stuff like this as any other user (or, perhaps, I'd use sudo if so forced). dmesg did not seem to detect the device addition, no. Cheers, Boris. On Wed, Nov 4, 2015 at 10:32 AM, zep wrote: > > > On 11/04/2015 10:27 AM, Mauricio Tavares wrote: > > On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein > wrote: > >> 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. > >> > > Dumb question: did dmesg even bother to notice *something* was > attached? > > possibly dumb question, possibly unintentionally insulting your > intelligence... > you know that when he said "run # scsi-rescan" that meant 'type in > "scsi-rescan" as the root user', right? and not '#scsi-rescan'? > #anything will always appear to do nothing as the shell thinks you're > typing in a comment.I only ask because I've never seen anyone > respond with "I ran #command". > > > > > >> Cheers, > >> > >> Boris. > >> > > > > -- > public gpg key id: 1362BA1A > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On 11/04/2015 10:27 AM, Mauricio Tavares wrote: > On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein wrote: >> 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. >> > Dumb question: did dmesg even bother to notice *something* was attached? possibly dumb question, possibly unintentionally insulting your intelligence... you know that when he said "run # scsi-rescan" that meant 'type in "scsi-rescan" as the root user', right? and not '#scsi-rescan'? #anything will always appear to do nothing as the shell thinks you're typing in a comment.I only ask because I've never seen anyone respond with "I ran #command". > >> Cheers, >> >> Boris. >> > -- public gpg key id: 1362BA1A ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein wrote: > 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. > Dumb question: did dmesg even bother to notice *something* was attached? > Cheers, > > Boris. > > > On Wed, Nov 4, 2015 at 10:12 AM, Tnjulius 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 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@centos.org >> > https://lists.centos.org/mailman/listinfo/centos >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [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 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 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@centos.org > > https://lists.centos.org/mailman/listinfo/centos > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [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 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@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[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. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos