[linux-lvm] 1.0.1-rc2 lvcreate segfaults, pvcreate, vgcreate ok
Jim Cromie
jcromie at divsol.com
Wed Sep 26 18:38:59 UTC 2001
John Marquart wrote:
> I think you are running into a problem i had. look in the archives for
> mails from/to jomarqua at indiana.edu - but i think the problem is your
> inline functions that lvcreate uses.
>
> There is a patch that was recommended to me - should fix your problem i
> think - it is at:
>
> http://incandescent.mp3revolution.net/lvm/inline_fix.diff
>
> -j
yup, that did it.
after flailing with patch rejects against unknown sources,
backed up and re-did tar xvfz
then the patch applied w/o rejects,
compiled w/o errors,
and lvcreate worked !
[root at groucho 1.0.1-rc2]# lvcreate -L1500 -nVL_test VG_test
lvcreate -- doing automatic backup of "VG_test"
lvcreate -- logical volume "/dev/VG_test/VL_test" successfully created
[root at groucho 1.0.1-rc2]# lvscan
lvscan -- ACTIVE "/dev/VG_test/VL_test" [1.46 GB]
lvscan -- 1 logical volumes with 1.46 GB total in 1 volume group
lvscan -- 1 active logical volumes
[root at groucho 1.0.1-rc2]# lvdisplay /dev/VG_test/VL_test
--- Logical volume ---
LV Name /dev/VG_test/VL_test
VG Name VG_test
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 1.46 GB
Current LE 375
Allocated LE 375
Allocation next free
Read ahead sectors 120
Block device 58:0
More information about the linux-lvm
mailing list