cinder delete xx 计时

当前适用openstack f版,使用cinder创建300G块存储,然后删除。

删除300G的块存储需要1.04小时,如果删除1000G那么应该需要3个多小时。

刚删除日志:
2013-11-14 12:57:51 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgt-admin --delete iqn.2010-10.org.openstack:volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75 execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 12:57:51 DEBUG cinder.volume.manager [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] volume volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75: deleting delete_volume /usr/lib/python2.6/site-packages/cinder/volume/manager.py:194
2013-11-14 12:57:51 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvdisplay cinder-volumes/volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75 execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 12:57:51 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvdisplay --noheading -C -o Attr cinder-volumes/volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75 execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 12:57:52 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf dd count=0 if=/dev/zero of=/dev/mapper/cinder--volumes-volume--0c7643cc--7a94--4637--925e--fa6a4fe2ec75 iflag=direct oflag=direct execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 12:57:52 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Result was 1 execute /usr/lib/python2.6/site-packages/cinder/utils.py:180
2013-11-14 12:57:52 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf dd if=/dev/zero of=/dev/mapper/cinder--volumes-volume--0c7643cc--7a94--4637--925e--fa6a4fe2ec75 count=307200 bs=1M execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
完成删除日志:
2013-11-14 14:02:04 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf dmsetup remove -f /dev/mapper/cinder--volumes-volume--0c7643cc--7a94--4637--925e--fa6a4fe2ec75 execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 14:02:04 DEBUG cinder.utils [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove -f cinder-volumes/volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75 execute /usr/lib/python2.6/site-packages/cinder/utils.py:163
2013-11-14 14:02:04 DEBUG cinder.quota [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] Created reservations ['fe0abf6f-9b79-45ce-bf2e-2d3ff5d8c418', 'a0ae5657-1b49-47d7-bb59-4864a24482b3'] reserve /usr/lib/python2.6/site-packages/cinder/quota.py:663
2013-11-14 14:02:04 DEBUG cinder.volume.manager [req-78cfb496-f69b-4ff1-8a0f-b2ffdb2621d0 f3e41f4e448a4ca7a9a65eb2384c5133 b5788aec6c3647aba27deb9afc60f2f9] volume volume-0c7643cc-7a94-4637-925e-fa6a4fe2ec75: deleted successfully delete_volume /usr/lib/python2.6/site-packages/cinder/volume/manager.py:217

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值