I am running into a problem with lvm and a 2.4.19
install. I have built a 2.4.19 box w/ lvm 1.1-rc2. When I run a
vgscan, it core dumps. When I run pvcreate on a lvm partition, I get a
warning message saying that I need to run it w/ -ff. Apparently it thinks
the partition is in use with an existing volume group. However, none are
defined / created. The debug shows it working on
a VG - rootvg. However, that vg doesn't exist. At least not on this
install. It used to exist on the previous install. However, the
system still thinks it exists somehow.
Here's the debug of the vgscan prior to
core:
<22> vg_read_with_pv_and_lv -- CALLED for
rootvg
<333> vg_check_name -- CALLED with VG: rootvg <4444> lvm_check_chars -- CALLED with name: "rootvg" <4444> lvm_check_chars -- LEAVING with ret: 0 <333> vg_check_name -- LEAVING with ret: 0 <333> vg_read -- CALLED <4444> vg_check_name -- CALLED with VG: rootvg <55555> lvm_check_chars -- CALLED with name: "rootvg" <55555> lvm_check_chars -- LEAVING with ret: 0 <4444> vg_check_name -- LEAVING with ret: 0 <4444> pv_read_all_pv_of_vg -- CALLED with vg_name: "rootvg" <55555> vg_check_name -- CALLED with VG: rootvg <666666> lvm_check_chars -- CALLED with name: "rootvg" <666666> lvm_check_chars -- LEAVING with ret: 0 <55555> vg_check_name -- LEAVING with ret: 0 <4444> pv_read_all_pv_of_vg -- LEAVING with ret: 0 <4444> vg_read_from_pv -- CALLED <55555> pv_check_name -- CALLED with "/dev/sdb2" <666666> lvm_check_chars -- CALLED with name: "/dev/sdb2" <666666> lvm_check_chars -- LEAVING with ret: 0 <55555> pv_check_name -- LEAVING with ret: 0 <55555> pv_read -- CALLED with /dev/sdb2 <666666> pv_check_name -- CALLED with "/dev/sdb2" <7777777> lvm_check_chars -- CALLED with name: "/dev/sdb2" <7777777> lvm_check_chars -- LEAVING with ret: 0 <666666> pv_check_name -- LEAVING with ret: 0 <55555> pv_read -- going to read /dev/sdb2 <666666> lvm_malloc -- CALLED with size 468 <7777777> lvm_realloc -- CALLED with pointer 0, size 468 <7777777> lvm_realloc -- LEAVING with pointer 81538F0 <666666> lvm_malloc -- LEAVING with pointer 81538F0 <666666> lvm_check_dev -- CALLED <7777777> lvm_check_partitioned_dev -- CALLED <88888888> lvm_get_device_type called <88888888> lvm_get_device_type leaving with 1 <7777777> lvm_check_partitioned_dev -- LEAVING with ret: TRUE <666666> lvm_check_dev -- LEAVING with ret: 1 <666666> pv_copy_from_disk -- CALLED <7777777> lvm_malloc -- CALLED with size 516 <88888888> lvm_realloc -- CALLED with pointer 0, size 516 <88888888> lvm_realloc -- LEAVING with pointer 8153AC8 <7777777> lvm_malloc -- LEAVING with pointer 8153AC8 <666666> pv_copy_from_disk -- LEAVING ret = 0x8153ac8 <666666> lvm_free -- CALLED with pointer 81538F0 <666666> lvm_free -- LEAVING <666666> pv_create_name_from_kdev_t -- CALLED with 8:18 <7777777> lvm_check_dev -- CALLED <88888888> lvm_check_partitioned_dev -- CALLED <999999999> lvm_get_device_type called <999999999> lvm_get_device_type leaving with 1 <88888888> lvm_check_partitioned_dev -- LEAVING with ret: TRUE <7777777> lvm_check_dev -- LEAVING with ret: 1 <7777777> lvm_dir_cache -- CALLED <7777777> lvm_dir_cache -- LEAVING with ret: 47 <666666> pv_create_name_from_kdev_t -- LEAVING with dev_name: /dev/sdb2 <666666> system_id_check_exported -- CALLED <666666> system_id_check_exported -- LEAVING with ret: 0 <55555> pv_read -- LEAVING with ret: 0 <55555> lvm_malloc -- CALLED with size 188 <666666> lvm_realloc -- CALLED with pointer 0, size 188 <666666> lvm_realloc -- LEAVING with pointer 8153CD0 <55555> lvm_malloc -- LEAVING with pointer 8153CD0 <55555> vg_copy_from_disk -- CALLED <666666> lvm_malloc -- CALLED with size 2484 <7777777> lvm_realloc -- CALLED with pointer 0, size 2484 <7777777> lvm_realloc -- LEAVING with pointer 8153D90 <666666> lvm_malloc -- LEAVING with pointer 8153D90 Segmentation fault (core dumped) |