RHEL 5.8 and RHEV 4.1

Latest response

We've migrated a RHEL 5.8 from VMware to a RHEV 4.1 environment. We've also added a disks to this VM but it is not showing up on the OS. Is there a way to get the new disk to show up without a reboot?

I've tried the following
/etc/init.d/ovirt-guest-agent restart
rescan-scsi-bus.sh

for i in virtio_console virtio_net virtio_blk virtio_pci virtio_ring virtio; do modprobe ${i}; done

modprobe acpiphp

-- I didn't think running 'rescan-iscsi-bus.sh' since the there are no disks attached to the scsi controller--in fact, there is no scsi controller since the migration to RHEV

There is nothing under '/sys/class/scsi_host'
Thank you,

Responses

RHEL 5 can't hotplug these devices, you'll need to reboot.

The virtio-blk device isn't a SCSI device, it's its own block device on the virtio bus, and the virtio bus is a PCI device.

This is abstracted out a lot better in RHEL 6 onwards, which do support hotplug of virtio-blk devices.

OK. Yeah, I knew the virtio devices weren't SCSI and apparently I can't add the virtio-scsi controller since it predates RHEL 6.4 but I was hoping there was another way. Thank you for the reply

UPDATE: I executed the following procedure and it worked, even through a reboot. So it is possible to hot-add disks in RHEL 5 Thank you,

https://access.redhat.com/solutions/37774

Nice, I didn't realise this existed either!

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.