[root@controller ~]# cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | controller | nova | enabled | up | 2022-02-17T13:11:20.000000 | - |
| cinder-volume | compute@lvm | nova | enabled | down | 2022-02-17T13:01:36.000000 | - |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
[root@compute ~]# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <87.00g 4.00m
cinder-volumes 1 0 0 wz--n- <100.00g <100.00g
[root@compute ~]# systemctl restart openstack -cinder-volume.service
systemctl: invalid option -- 'c'
[root@compute ~]# systemctl restart openstack-cinder-volume.service
[root@compute ~]# systemctl status openstack-cinder-volume.service
● openstack-cinder-volume.service - OpenStack Cinder Volume Server
Loaded: loaded (/usr/lib/systemd/system/openstack-cinder-volume.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-02-17 08:16:38 EST; 10s ago
Main PID: 5093 (cinder-volume)
Tasks: 2
CGroup: /system.slice/openstack-cinder-volume.service
├─5093 /usr/bin/python2 /usr/bin/cinder-volume --config-file /usr/sha...
└─5113 /usr/bin/python2 /usr/bin/cinder-volume --config-file /usr/sha...
Feb 17 08:16:43 compute sudo[5279]: cinder : TTY=unknown ; PWD=/ ; USER=root...ol
Feb 17 08:16:44 compute sudo[5285]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:44 compute sudo[5291]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:44 compute sudo[5297]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:44 compute sudo[5304]: cinder : TTY=unknown ; PWD=/ ; USER=root...ol
Feb 17 08:16:44 compute sudo[5310]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:45 compute sudo[5316]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:45 compute sudo[5322]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Feb 17 08:16:45 compute sudo[5329]: cinder : TTY=unknown ; PWD=/ ; USER=root...ol
Feb 17 08:16:45 compute sudo[5335]: cinder : TTY=unknown ; PWD=/ ; USER=root...es
Hint: Some lines were ellipsized, use -l to show in full.
[root@controller ~]# cinder service-list
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | controller | nova | enabled | up | 2022-02-17T13:26:40.000000 | - |
| cinder-volume | compute@lvm | nova | enabled | up | 2022-02-17T13:26:45.000000 | - |
+------------------+-------------+------+---------+-------+----------------------------+-----------------+



