<div>Hi...<br>The initrd nash script &#39;init&#39; actually scans for logical volumes as follows:<br>&nbsp;</div>
<div>..... code snippet from &#39;init&#39; script ............<br>echo Scanning logical volumes<br>lvm vgscan --ignorelockingfailure<br>echo Activating logical volumes<br>lvm vgchange -ay --ignorelockingfailure *&lt;fixed volgroup name&gt;*<br>
....... end of code snippet .....<br>&nbsp;</div>
<div>The volgroup name is fixed, it is written in the script itself.<br>How to change this script in order to activate the logical volume name<br>output of the &#39;vgscan&#39; command?<br>Nash is not the same as bash and I don&#39;t know how to do something like this:</div>

<div>------------------------------------------------------------------------</div>
<div>volgroup_name=<font size="4">`</font>lvm vgscan --ignorelockingfailure<font size="4">`</font></div>
<div>lvm vgchange -ay --ignorelockingfailure $volgroup_name<br>------------------------------------------------------------------------</div>
<div>&nbsp;</div>
<div>Have you some suggestion ? ....</div>
<div><br>Thank you<br>&nbsp;</div>