Description of problem: [root@taft-04 ~]# pvscan PV /dev/sdb2 VG linear_4_176 lvm2 [136.23 GB / 0 free] PV /dev/sdb1 VG linear_4_176 lvm2 [136.23 GB / 0 free] PV /dev/sdc2 VG linear_4_176 lvm2 [136.23 GB / 0 free] PV /dev/sdc1 VG linear_4_176 lvm2 [136.23 GB / 84.00 MB free] PV /dev/sdd2 VG linear_4_176 lvm2 [930.89 GB / 0 free] PV /dev/sdd1 VG linear_4_176 lvm2 [930.89 GB / 0 free] Total: 6 [2.35 TB] / in use: 6 [2.35 TB] / in no VG: 0 [0 ] [root@taft-04 ~]# vgscan Reading all physical volumes. This may take a while... Found volume group "linear_4_176" using metadata type lvm2 [root@taft-04 ~]# vgsplit linear_4_176 split_862 /dev/sdb1 Logical Volume linear_4_1760 split between Volume Groups Seems to imply that it did indeed split [root@taft-04 ~]# echo $? 5 [root@taft-04 ~]# vgscan Reading all physical volumes. This may take a while... Found volume group "linear_4_176" using metadata type lvm2 [root@taft-04 ~]# lvscan inactive Original '/dev/linear_4_176/linear_4_1760' [2.35 TB] inherit inactive Snapshot '/dev/linear_4_176/snap0' [76.00 MB] inherit [root@taft-04 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Devices linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdd2(0) linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdd1(0) linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdb2(0) linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdb1(0) linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdc2(0) linear_4_1760 linear_4_176 owi--- 2.35T /dev/sdc1(0) snap0 linear_4_176 swi--- 76.00M linear_4_1760 /dev/sdc1(34835) The message could be improved to say something like: "This operation would cause the LV to be split across 2 VGs, can't proceed" Version-Release number of selected component (if applicable): [root@taft-04 ~]# rpm -q lvm2 lvm2-2.02.06-6.0.RHEL4
QE ack for 4.5.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Created attachment 143002 [details] patch against upstream cvs agk - are you ok with this simple change? I have a patch against upstream I can post then to rhel4.
Posted patch to lvm-devel
In Version 2.02.18 - 11th January 2007
Fix verified in lvm2-2.02.19-1.el4.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0287.html