I've got a CentOS 5.6 guest running on 6.0 host.
Using virsh attach-disk, I attached a new raw file as vdc However, the guest does not detect this new disk.
In the past, I've used the following echo "0 0 0" > /sys/class/scsi_host/host#/scan
command to make a CentOS system scan for new drives.
However in the guest, there is no host in scsi_host so this isn't an option.
I can't seem to find any information on doing this any other way apart from a reboot. Does anybody know if there is any other way?
Partprobe
Sent from my iPad
On Sep 19, 2011, at 21:51, Emmanuel Noobadmin centos.admin@gmail.com wrote:
I've got a CentOS 5.6 guest running on 6.0 host.
Using virsh attach-disk, I attached a new raw file as vdc However, the guest does not detect this new disk.
In the past, I've used the following echo "0 0 0" > /sys/class/scsi_host/host#/scan
command to make a CentOS system scan for new drives.
However in the guest, there is no host in scsi_host so this isn't an option.
I can't seem to find any information on doing this any other way apart from a reboot. Does anybody know if there is any other way? _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
On 9/20/11, Ian Forde ianforde@gmail.com wrote:
Partprobe
Thanks for pointing this out, although due to time pressure I did the nasty in the end, kicked everybody off and rebooted the server. But I'll keep this in mind the next time I need to do this again, probably sooner than later.