I can confirm that the patch works in some/maybe most instances, however
my setup requires a slight alteration to the sed line for the PVS part.
Jon's Patch Line:
if ! pvs=$(pvs | sed -r -e s| +/dev/mapper/([^ ]+) $vg
.*|\1|;tx;d;:x) ; then
My Altered Line:
if ! pvs=$(pvs | sed -r -e s| +/dev/mapper/([^ ]+)\s+$vg
.*|\1|;tx;d;:x) ; then
The reason being one space character between the PV column and the VG
column can't be guaranteed, so the \s+ will match any number of spaces.
Here's the output of my pvs currently, note the 2 spaces on the latter two
physical volumes:
PV VG Fmt Attr PSize PFree
/dev/mapper/sda5_crypt octopus lvm2 a- 232.64G 0
/dev/mapper/sdb1_crypt octopus lvm2 a- 698.63G 0
/dev/mapper/sdd_crypt octopus lvm2 a- 698.64G 0
/dev/mapper/sde_crypt octopus lvm2 a- 931.51G 33.92G
--
initrd on Karmic does not support multiple encrypted LVM physical volumes.
https://bugs.launchpad.net/bugs/490917
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs