Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2014 21:30
Show Gist options
  • Save anonymous/58193cac627c2644724c to your computer and use it in GitHub Desktop.
Save anonymous/58193cac627c2644724c to your computer and use it in GitHub Desktop.
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
root block1-vg -wi-ao 923.24g
swap_1 block1-vg -wi-ao 7.99g
@samilani
Copy link

samilani commented Jan 9, 2014

014-01-09 22:18:08.491 4664 DEBUG cinder.manager [-] Notifying Schedulers of capabilities ... _publish_service_capabilities /usr/lib/python2.7/dist-packages/cinder/manager.py:135
2014-01-09 22:18:08.491 4664 DEBUG cinder.openstack.common.rpc.amqp [-] Making asynchronous fanout cast... fanout_cast /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:640
2014-01-09 22:18:08.492 4664 DEBUG cinder.openstack.common.rpc.amqp [-] UNIQUE_ID is 1d4e4f4dd3b640a79ed3c90890c2a9fa. _add_unique_id /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:345
2014-01-09 22:18:08.494 4664 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/dist-packages/amqp/channel.py:88
2014-01-09 22:18:08.494 4664 DEBUG amqp [-] using channel_id: 1 init /usr/lib/python2.7/dist-packages/amqp/channel.py:70
2014-01-09 22:18:08.495 4664 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/dist-packages/amqp/channel.py:420
2014-01-09 22:18:08.495 4664 DEBUG cinder.openstack.common.periodic_task [-] Running periodic task VolumeManager._report_driver_status run_periodic_tasks /usr/lib/python2.7/dist-packages/cinder/openstack/common/periodic_task.py:176
2014-01-09 22:18:08.496 4664 INFO cinder.volume.manager [-] Updating volume status
2014-01-09 22:18:08.496 4664 DEBUG cinder.volume.drivers.lvm [-] Updating volume stats _update_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:350
2014-01-09 22:18:08.496 4664 DEBUG cinder.openstack.common.processutils [-] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C LANG=C vgs --noheadings --unit=g -o name,size,free,lv_count,uuid --separator : --nosuffix cinder-volumes1 execute /usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142

@samilani
Copy link

samilani commented Jan 9, 2014

This is host: block1 get_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:341

@samilani
Copy link

samilani commented Jan 9, 2014

22:28:55.222 1828 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/dist-packages/amqp/channel.py:88
2014-01-09 22:28:55.222 1828 DEBUG amqp [-] using channel_id: 1 init /usr/lib/python2.7/dist-packages/amqp/channel.py:70
2014-01-09 22:28:55.223 1828 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/dist-packages/amqp/channel.py:420
2014-01-09 22:28:55.223 1828 DEBUG cinder.openstack.common.periodic_task [req-833d36f9-1c58-4607-a420-c9b88ff5ebaa None None] Running periodic task VolumeManager._report_driver_status run_periodic_tasks /usr/lib/python2.7/dist-packages/cinder/openstack/common/periodic_task.py:176
2014-01-09 22:28:55.223 1828 INFO cinder.volume.manager [req-833d36f9-1c58-4607-a420-c9b88ff5ebaa None None] Updating volume status
2014-01-09 22:28:55.223 1828 DEBUG cinder.volume.drivers.lvm [req-833d36f9-1c58-4607-a420-c9b88ff5ebaa None None] This is host: block1 get_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:341
2014-01-09 22:28:55.224 1828 DEBUG cinder.volume.drivers.lvm [req-833d36f9-1c58-4607-a420-c9b88ff5ebaa None None] Updating volume stats _update_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:350
2014-01-09 22:28:55.224 1828 DEBUG cinder.openstack.common.processutils [req-833d36f9-1c58-4607-a420-c9b88ff5ebaa None None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C LANG=C vgs --noheadings --unit=g -o name,size,free,lv_count,uuid --separator : --nosuffix cinder-volumes1 execute /usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142
2014-01-09 22:29:55.290 1828 DEBUG cinder.openstack.common.periodic_task [-] Running periodic task VolumeManager._publish_service_capabilities run_periodic_tasks /usr/lib/python2.7/dist-packages/cinder/openstack/common/periodic_task.py:176
2014-01-09 22:29:55.291 1828 DEBUG cinder.manager [-] Notifying Schedulers of capabilities ... _publish_service_capabilities /usr/lib/python2.7/dist-packages/cinder/manager.py:135
2014-01-09 22:29:55.291 1828 DEBUG cinder.openstack.common.rpc.amqp [-] Making asynchronous fanout cast... fanout_cast /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:640
2014-01-09 22:29:55.291 1828 DEBUG cinder.openstack.common.rpc.amqp [-] UNIQUE_ID is b9a9a6e768a74d88b2cc0dc1e68282bd. _add_unique_id /usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py:345
2014-01-09 22:29:55.294 1828 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/dist-packages/amqp/channel.py:88
2014-01-09 22:29:55.294 1828 DEBUG amqp [-] using channel_id: 1 init /usr/lib/python2.7/dist-packages/amqp/channel.py:70
2014-01-09 22:29:55.295 1828 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/dist-packages/amqp/channel.py:420
2014-01-09 22:29:55.295 1828 DEBUG cinder.openstack.common.periodic_task [-] Running periodic task VolumeManager._report_driver_status run_periodic_tasks /usr/lib/python2.7/dist-packages/cinder/openstack/common/periodic_task.py:176
2014-01-09 22:29:55.295 1828 INFO cinder.volume.manager [-] Updating volume status
2014-01-09 22:29:55.296 1828 DEBUG cinder.volume.drivers.lvm [-] This is host: block1 get_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:341
2014-01-09 22:29:55.296 1828 DEBUG cinder.volume.drivers.lvm [-] Updating volume stats _update_volume_stats /usr/lib/python2.7/dist-packages/cinder/volume/drivers/lvm.py:350
2014-01-09 22:29:55.296 1828 DEBUG cinder.openstack.common.processutils [-] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C LANG=C vgs --noheadings --unit=g -o name,size,free,lv_count,uuid --separator : --nosuffix cinder-volumes1 execute /usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142

@samilani
Copy link

samilani commented Jan 9, 2014

vgs
VG #PV #LV #SN Attr VSize VFree
block1-vg 1 2 0 wz--n- 931.27g 44.00m
cinder-volumes1 1 1 0 wz--n- 10.91t 10.91t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment