devstack instance disk storage issue

asked 2019-10-18 04:37:30 -0600

Awais Shah gravatar image

Hi,

I have 256gb sda and 256gb sdb volumes available on my hdd. I have deployed openstack using devstack and created an instance with 80gb virtual disk space but the instance can not practically use more than 16.5gb disk space although the disk has space available and I can see that virtual disk has been created with 80gb space. When i try to copy a file it stops working after 16.5 gb and the openstack stops working and can not create a new instance and gives disk write error. Does anyone know how to resolve this issue?

edit retag flag offensive close merge delete

Comments

What do you mean by "the openstack stops working"?

Most probably you do NOT have enough disk space. Is the instance disk a volume or ephemeral storage? Can you run df on the virtual disk and report the result?

Bernd Bausch gravatar imageBernd Bausch ( 2019-10-18 09:04:39 -0600 )edit

ubuntu@agent:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 798M 636K 798M 1% /run /dev/vda1 78G 21G 57G 27% / tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /ru

Awais Shah gravatar imageAwais Shah ( 2019-10-20 08:52:48 -0600 )edit

The physical drives have enough space. I deployed OpenSTack using Devstack on a fresh VM created on a VMWare server. OpenStack instance is created using m1.large setting which allows 80gb disk space. Unfortunately when i tried to write a file of 30gb on the instance, the writing stopped at 21.3gb

Awais Shah gravatar imageAwais Shah ( 2019-10-20 08:56:47 -0600 )edit

output of dmesg: [ 498.207912] print_req_error: I/O error, dev vda, sector 2344136 [ 498.212087] Aborting journal on device vda1-8. [ 498.215855] EXT4-fs error (device vda1) in ext4_do_update_inode:5273: Journal has aborted [ 498.239705] print_req_error: I/O error, dev vda, sector 227328

Awais Shah gravatar imageAwais Shah ( 2019-10-20 08:59:08 -0600 )edit

I would analyze storage space on the Devstack server (i.e. Vmware guest) and on the Vmware host. The error in the instance's message buffer indicates that there is not enough space for the instance's root disk. Is there any relevant kernel message on the Devstack server?

Bernd Bausch gravatar imageBernd Bausch ( 2019-10-20 16:41:17 -0600 )edit