<div dir="auto"><div>Will "lvchange -a y lvname" activate it?</div><div dir="auto"><br></div><div dir="auto">If not, considering that you're using Pike on Centos, there's a chance you may be using the cinder-volumes backed by a loopback file. I guess both packstack & tripleo will configure this by default if you don't change the configuration. At least tripleo won't configure this loopback device to be activated automatically on boot. An option would be to include lines like the following in /etc/rc.d/rc.local:</div><div dir="auto"><br></div><div dir="auto">losetup /dev/loop0 /var/lib/cinder/cinder-volumes</div><div dir="auto">vgscan</div><div dir="auto"><br></div><div dir="auto">Last but not least, if this is actually the case, I wouldn't recommend using loopback devices for LVM SCSI driver. In fact, if you can use any other driver capable of delivering HA, it'd be better (unless this is some POC or an environment without tight SLAs). </div><div dir="auto"><div data-smartmail="gmail_signature" dir="auto"><br>Vagner Farias<br><br></div><br><div class="gmail_quote" dir="auto"><div dir="ltr">Em ter, 20 de mar de 2018 21:24, Father Vlasie <fv@spots.school> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is the output of lvdisplay:<br>
<br>
[root@plato ~]# lvdisplay<br>
--- Logical volume ---<br>
LV Name cinder-volumes-pool<br>
VG Name cinder-volumes<br>
LV UUID PEkGKb-fhAc-CJD2-uDDA-k911-SIX9-1uyvFo<br>
LV Write Access read/write<br>
LV Creation host, time plato, 2018-02-01 13:33:51 -0800<br>
LV Pool metadata cinder-volumes-pool_tmeta<br>
LV Pool data cinder-volumes-pool_tdata<br>
LV Status NOT available<br>
LV Size 9.50 TiB<br>
Current LE 2490368<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-8f4a5fff-749f-47fe-976f-6157f58a4d9e<br>
LV Name volume-8f4a5fff-749f-47fe-976f-6157f58a4d9e<br>
VG Name cinder-volumes<br>
LV UUID C2o7UD-uqFp-3L3r-F0Ys-etjp-QBJr-idBhb0<br>
LV Write Access read/write<br>
LV Creation host, time plato, 2018-02-02 10:18:41 -0800<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 1.00 GiB<br>
Current LE 256<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-6ad82e98-c8e2-4837-bffd-079cf76afbe3<br>
LV Name volume-6ad82e98-c8e2-4837-bffd-079cf76afbe3<br>
VG Name cinder-volumes<br>
LV UUID qisf80-j4XV-PpFy-f7yt-ZpJS-99v0-m03Ql4<br>
LV Write Access read/write<br>
LV Creation host, time plato, 2018-02-02 10:26:46 -0800<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 1.00 GiB<br>
Current LE 256<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-ee107488-2559-4116-aa7b-0da02fd5f693<br>
LV Name volume-ee107488-2559-4116-aa7b-0da02fd5f693<br>
VG Name cinder-volumes<br>
LV UUID FS9Y2o-HYe2-HK03-yM0Z-P7GO-kAzD-cOYNTb<br>
LV Write Access read/write<br>
LV Creation host, time plato.spots.onsite, 2018-02-12 10:28:57 -0800<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 40.00 GiB<br>
Current LE 10240<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-d6f0260d-21b5-43e7-afe5-84e0502fa734<br>
LV Name volume-d6f0260d-21b5-43e7-afe5-84e0502fa734<br>
VG Name cinder-volumes<br>
LV UUID b6pX01-mOEH-3j3K-32NJ-OHsz-UMQe-y10vSM<br>
LV Write Access read/write<br>
LV Creation host, time plato.spots.onsite, 2018-02-14 14:24:41 -0800<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 40.00 GiB<br>
Current LE 10240<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-a7bd0bc8-8cbc-4053-bdc2-2eb9bfb0f147<br>
LV Name volume-a7bd0bc8-8cbc-4053-bdc2-2eb9bfb0f147<br>
VG Name cinder-volumes<br>
LV UUID T07JAE-3CNU-CpwN-BUEr-aAJG-VxP5-1qFYZz<br>
LV Write Access read/write<br>
LV Creation host, time plato.spots.onsite, 2018-03-12 10:33:24 -0700<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 4.00 GiB<br>
Current LE 1024<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/cinder-volumes/volume-29fa3b6d-1cbf-40db-82bb-1756c6fac9a5<br>
LV Name volume-29fa3b6d-1cbf-40db-82bb-1756c6fac9a5<br>
VG Name cinder-volumes<br>
LV UUID IB0q1n-NnkR-tx5w-BbBu-LamG-jCbQ-mYXWyC<br>
LV Write Access read/write<br>
LV Creation host, time plato.spots.onsite, 2018-03-14 09:52:14 -0700<br>
LV Pool name cinder-volumes-pool<br>
LV Status NOT available<br>
LV Size 40.00 GiB<br>
Current LE 10240<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
<br>
--- Logical volume ---<br>
LV Path /dev/centos/root<br>
LV Name root<br>
VG Name centos<br>
LV UUID nawE4n-dOHs-VsNH-f9hL-te05-mvGC-WoFQzv<br>
LV Write Access read/write<br>
LV Creation host, time localhost, 2018-01-22 09:50:38 -0800<br>
LV Status available<br>
# open 1<br>
LV Size 50.00 GiB<br>
Current LE 12800<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 8192<br>
Block device 253:0<br>
<br>
--- Logical volume ---<br>
LV Path /dev/centos/swap<br>
LV Name swap<br>
VG Name centos<br>
LV UUID Vvlni4-nwTl-ORwW-Gg8b-5y4h-kXJ5-T67cKU<br>
LV Write Access read/write<br>
LV Creation host, time localhost, 2018-01-22 09:50:38 -0800<br>
LV Status available<br>
# open 2<br>
LV Size 8.12 GiB<br>
Current LE 2080<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 8192<br>
Block device 253:1<br>
<br>
--- Logical volume ---<br>
LV Path /dev/centos/home<br>
LV Name home<br>
VG Name centos<br>
LV UUID lCXJ7v-jeOC-DFKI-unXa-HUKx-9DXp-nmzSMg<br>
LV Write Access read/write<br>
LV Creation host, time localhost, 2018-01-22 09:50:39 -0800<br>
LV Status available<br>
# open 1<br>
LV Size 964.67 GiB<br>
Current LE 246956<br>
Segments 1<br>
Allocation inherit<br>
Read ahead sectors auto<br>
- currently set to 8192<br>
Block device 253:2<br>
<br>
<br>
> On Mar 20, 2018, at 4:51 PM, Remo Mattei <Remo@Italy1.com> wrote:<br>
><br>
> I think you need to provide a bit of additional info. Did you look at the logs? What version of os are you running? Etc.<br>
><br>
> Inviato da iPhone<br>
><br>
>> Il giorno 20 mar 2018, alle ore 16:15, Father Vlasie <fv@spots.school> ha scritto:<br>
>><br>
>> Hello everyone,<br>
>><br>
>> I am in need of help with my Cinder volumes which have all become unavailable.<br>
>><br>
>> Is there anyone who would be willing to log in to my system and have a look?<br>
>><br>
>> My cinder volumes are listed as "NOT available" and my attempts to mount them have been in vain. I have tried: vgchange -a y<br>
>><br>
>> with result showing as: 0 logical volume(s) in volume group "cinder-volumes" now active<br>
>><br>
>> I am a bit desperate because some of the data is critical and, I am ashamed to say, I do not have a backup.<br>
>><br>
>> Any help or suggestions would be very much appreciated.<br>
>><br>
>> FV<br>
>> _______________________________________________<br>
>> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>> Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank" rel="noreferrer">openstack@lists.openstack.org</a><br>
>> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank" rel="noreferrer">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div></div></div>