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.
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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
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@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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein borepstein@gmail.com 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 tnjulius@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@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@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
On 11/04/2015 10:27 AM, Mauricio Tavares wrote:
On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein borepstein@gmail.com 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.
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 zgreenfelder@gmail.com wrote:
On 11/04/2015 10:27 AM, Mauricio Tavares wrote:
On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein borepstein@gmail.com
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
Hi,
I think, this is possible with scsi disks
http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-g...
Eero 4.11.2015 4.32 ip. "Boris Epstein" borepstein@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@centos.org https://lists.centos.org/mailman/listinfo/centos
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-g...
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?
On Wed, Nov 4, 2015 at 11:03 AM, Jonathan Billings billings@negate.org 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-g...
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 billings@negate.org _______________________________________________ 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.
On 11/04/2015 11:05 AM, Boris Epstein wrote:
On Wed, Nov 4, 2015 at 11:03 AM, Jonathan Billings billings@negate.org 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-g...
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 billings@negate.org _______________________________________________ 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?
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.
It should work fine. What esxi version you are using?
Eero 4.11.2015 6.27 ip. "Boris Epstein" borepstein@gmail.com 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
On Wed, Nov 4, 2015 at 11:29 AM, Eero Volotinen eero.volotinen@iki.fi wrote:
It should work fine. What esxi version you are using?
Eero 4.11.2015 6.27 ip. "Boris Epstein" borepstein@gmail.com kirjoitti:
Eero,
I know. It is EXSi 5.5
Thanks.
Boris.
@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 borepstein@gmail.com:
On Wed, Nov 4, 2015 at 11:29 AM, Eero Volotinen eero.volotinen@iki.fi wrote:
It should work fine. What esxi version you are using?
Eero 4.11.2015 6.27 ip. "Boris Epstein" borepstein@gmail.com kirjoitti:
Eero,
I know. It is EXSi 5.5
Thanks.
Boris.
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
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.