can not find virtual volume disk when i use fdisk in vm

Asked by shu, xinxin

recently i install grizzly-2013.1 and make a new raw image of ubuntu-12.04 image, create an instance from this ubuntu-12.04 image, when i attach a volume to this instance, i can find the status of this volume has been changed to "in-use", but when i log into this vm and use "fdisk" to check the virtual disk, i can not find the attached volume disk, there is no error log in nova-compute.log and cinder-volume.log. when i reboot this vm, then execute "fdisk", i can find the attached volume disk. any one can tell me why this happenned. any tip will be appreciated

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
shu, xinxin
Solved:
Last query:
Last reply:
Revision history for this message
shu, xinxin (xinxin-shu) said :
#1

when i boot from an old image and attach a volume, it can get virtual volume disk by fdisk

Revision history for this message
drolfe (drolfe) said :
#2

when you attached the volume and it doesn't seem to be working can you run the below on the instance

run the below while attaching:

watch 'dmesg | tail -50'

after the attach run the below:

cat /proc/partitions

ls /dev/vd*

Revision history for this message
shu, xinxin (xinxin-shu) said :
#3

i have solved this problem, i am sorry about forgetting to close this question, i did not load the "acpiphp" to support hot plug