[Openstack] [xs-devel] Delete the imported VM image to release space -- Sisu
Bob Ball
bob.ball at citrix.com
Mon Jun 16 09:43:51 UTC 2014
Nothing should be downloading files to DevStackOSDomU; they get downloaded straight into dom0 when you create an image.
Why do you think the missing disk space is related to mysql, or to /var?
Bob
From: xs-devel-request at lists.xenserver.org [mailto:xs-devel-request at lists.xenserver.org] On Behalf Of Sisu Xi
Sent: 14 June 2014 23:19
To: xs-devel at lists.xenserver.org; openstack at lists.openstack.org
Subject: [xs-devel] Delete the imported VM image to release space -- Sisu
Hi, all:
I am using OpenStack with XenServer. I am using a pre-build image found in:
http://downloads.vmd.citrix.com/OpenStack/
The image file is devstack-havana.xva.
This image has a disk size of 40G, I tried to import a self-build 15G image, it worked just fine.
When I reboot the machine, the previously imported 15G image is gone (which is expected).
stack at DevStackOSDomU:~$ glance image-list
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| 22bcc4ed-c412-495d-995c-bdfc571e0991 | cirros-0.3.0-x86_64-disk | vhd | ovf | 9220018 | active |
| 93aefd5f-3e75-4969-a013-e49e9c85163d | cirros-0.3.1-x86_64-uec | ami | ami | 25165824 | active |
| 4d63a0d5-91e0-4fcb-944c-9fa25e7549e8 | cirros-0.3.1-x86_64-uec-kernel | aki | aki | 4955792 | active |
| d8c961b7-5fe1-4520-8fa3-8bba97729eeb | cirros-0.3.1-x86_64-uec-ramdisk | ari | ari | 3714968 | active |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
However, the disk-space is not released. And I cannot find the previously imported image.
---------result of df-ah---------
root at DevStackOSDomU:/var/lib/mysql# df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 38G 33G 3.1G 92% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
none 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /sys/kernel/debug
none 0 0 0 - /sys/kernel/security
udev 1.5G 4.0K 1.5G 1% /dev
devpts 0 0 0 - /dev/pts
tmpfs 300M 288K 300M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.5G 0 1.5G 0% /run/shm
none 0 0 0 - /proc/xen
I checked the /var/lib/mysql, and also tried to use "du -a /var | sort -n -r | head -n 10" to find the top 10 files, but still cannot find any file larger than 1G.
Can anyone help me with this?
Thanks very much!
Sisu
--
[https://dl.dropboxusercontent.com/u/268069/Sisu_Contact.jpeg]
Sisu Xi, PhD Candidate
http://www.cse.wustl.edu/~xis/
Department of Computer Science and Engineering
Campus Box 1045
Washington University in St. Louis
One Brookings Drive
St. Louis, MO 63130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140616/c726a28c/attachment.html>
More information about the Openstack
mailing list