LVM2 strange behaviour
Happy new year all,
I am new to the mailing list and a new user of Linux LVM although i have been using similar technologies for years on Solaris and AIX.
I have some strange behaviour i am encountering on a newly installed machine.
$> lvm version
LVM version: 2.00.08 (2003-11-14)
Library version: 1.00.17-ioctl (2004-04-19)
Driver version: 4.3.0
$>
The machine is newly installed with Gentoo linux 2004.3, latest version. I installed according to
http://gentoo-wiki.com/index.php?title=HOWTO_Gentoo_Install_on_Software_RAID_mirror_and_LVM2_on_top_of_RAID
and seems to work fine. The RAID-1 partitions work perfectly but the LVM volumes behave weird.
When i reboot the machine using `shutdown -r' the volumes do not come online because during boot the vgscan fails with a segfault. I have to manually do a vgscan and reboot again, then things work ok. Same things happen when i reboot now: vgscan segfaults, manual vgscan, reboot --> all ok.
What could be the problem?
Thanks,
Fred
Fred Donck <[email protected]>
wrote at Sun, Jan 02, 2005 at 01:18:05PM +0100:
Quoted 6 lines
Happy new year all,
I am new to the mailing list and a new user of Linux LVM although i have been using similar technologies for years on Solaris and AIX.
Quoted 9 lines
I have some strange behaviour i am encountering on a newly installed machine.
$> lvm version
LVM version: 2.00.08 (2003-11-14)
Library version: 1.00.17-ioctl (2004-04-19)
Driver version: 4.3.0
$>
I forgot:
$> uname -a
Linux music 2.6.9-gentoo-r13 #2 SMP Thu Dec 30 11:05:38 UTC 2004 i686 Intel(R) Celeron(R) CPU 2.80GHz GenuineIntel GNU/Linux $> df
Filesystem 1K-blocks Used Available Use% Mounted on/dev/md2 1003932 50568 953364 6% //dev/vg/usr 10485436 1858748 8626688 18% /usr
/dev/vg/var 10485436 58412 10427024 1% /var /dev/vg/tmp 4194172 32840 4161332 1% /tmp /dev/vg/opt 4194172 32840 4161332 1% /opt /dev/vg/home 4194172 32968 4161204 1% /home /dev/vg/music 419417596 18097476 401320120 5% /music /dev/vg/backup 104854396 32840 104821556 1% /backup none 248792 0 248792 0% /dev/shm
$> vgdisplay
--- Volume group ---
VG Name vg
System ID
Format lvm2 Metadata Areas 3 Metadata Sequence No 11 VG Access read/write VG Status resizable MAX LV 255 Cur LV 7 Open LV 0 Max PV 255 Cur PV 3 Act PV 3 VG Size 696.62 GB PE Size 4.00 MB Total PE 178335 Alloc PE / Size 136192 / 532.00 GB Free PE / Size 42143 / 164.62 GB
VG UUID YECo93-H43t-51ST-0mzk-A6OD-QtGh-5dz147
$>
Machine contains 4x250Gb
hda and hdi are mirrored as /dev/md[0-3]/dev/md3 is part of volumegroup "vg" including /dev/hde and /dev/hdk
If more info is needed, let me know
--- End of [email protected]'s quote ---
Cheers,
Signature · 1 line
Fred
Quoted 5 lines · Fred Donck
$> lvm version
LVM version: 2.00.08 (2003-11-14)
Library version: 1.00.17-ioctl (2004-04-19)
Driver version: 4.3.0
$>
Very funny, I made the same mistake like you. Please upgrade your LVM2 to the newest version. B-)
Read the thread 'Very long startup times of the lv*-tools'[1][2] for further details.
[1]https://www.redhat.com/archives/linux-lvm/2004-December/msg00124.html [2]https://www.redhat.com/archives/linux-lvm/2004-December/msg00126.html
Signature · 1 line
So long... Fuzz
Erik Wasser <[email protected]>
wrote at Sun, Jan 02, 2005 at 02:30:14PM +0100:
Quoted 10 lines · Fred Donck
Quoted 6 lines
$> lvm version
LVM version: 2.00.08 (2003-11-14)
Library version: 1.00.17-ioctl (2004-04-19)
Driver version: 4.3.0
$>Very funny, I made the same mistake like you. Please upgrade your LVM2 to the newest version. B-)
$> ACCEPT_KEYWORDS="~x86" emerge lvm2
<snip all compiles>
$> lvm version
LVM version: 2.00.25 (2004-09-29)
Library version: 1.00.17-ioctl (2004-04-19)
Driver version: 4.3.0
$>
Quoted 15 lines
Read the thread 'Very long startup times of the lv*-tools'[1][2] for further details.
[1]https://www.redhat.com/archives/linux-lvm/2004-December/msg00124.html [2]https://www.redhat.com/archives/linux-lvm/2004-December/msg00126.html
Signature · 7 lines
So long... Fuzz _______________________________________________ linux-lvm mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--- End of [email protected]'s quote ---
After reboot all looks wel.
vgscan doesnt segfault anymore
cheers,
Signature · 1 line
Fred