Hi...
The initrd nash script 'init' actually scans for logical volumes as follows:
 
..... code snippet from 'init' script ............
echo Scanning logical volumes
lvm vgscan --ignorelockingfailure
echo Activating logical volumes
lvm vgchange -ay --ignorelockingfailure *<fixed volgroup name>*
....... end of code snippet .....
 
The volgroup name is fixed, it is written in the script itself.
How to change this script in order to activate the logical volume name
output of the 'vgscan' command?
Nash is not the same as bash and I don't know how to do something like this:
------------------------------------------------------------------------
volgroup_name=`lvm vgscan --ignorelockingfailure`
lvm vgchange -ay --ignorelockingfailure $volgroup_name
------------------------------------------------------------------------
 
Have you some suggestion ? ....

Thank you