You can try to check which folder is full by: stack@DevStackOSDomU:~$ sudo du -sh /opt/stack/data If /opt/stack/data is very large, there may be some os images in it .
*Best Regards!* *Chao Yan--------------**My twitter:Andy Yan @yanchao727 <https://twitter.com/yanchao727>* *My Weibo:http://weibo.com/herewearenow <http://weibo.com/herewearenow>--------------* 2014-06-16 23:35 GMT+08:00 Sisu Xi <xis...@gmail.com>: > Hi, Bob: > > But when I port image into nova, I need to get it into DevStackOSDomU, > right? > > I just don't know why the disk is full. Here is the process: > 1. port self-build image using glance image-create; > 2. shutdown machine > 3. boot machine up, the disk space is gone, and I don't know how to free > it. > > Thanks. > > Sisu > > > > > > On Mon, Jun 16, 2014 at 4:43 AM, Bob Ball <bob.b...@citrix.com> wrote: > >> 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-requ...@lists.xenserver.org [mailto: >> xs-devel-requ...@lists.xenserver.org] *On Behalf Of *Sisu Xi >> *Sent:* 14 June 2014 23:19 >> *To:* xs-de...@lists.xenserver.org; openstack@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@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@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 >> >> >> >> >> >> -- >> >> >> >> *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 >> > > > > -- > > > *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 > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack