Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88323 - lvm2 needs static linking if /usr is on lvm ( lvm doc needs update )
Summary: lvm2 needs static linking if /usr is on lvm ( lvm doc needs update )
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: LVM HOWTO (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 01:29 UTC by david martin
Modified: 2005-04-08 02:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david martin 2005-04-08 01:29:33 UTC
on boot while trying to mount my lvm i got a message saying
it cant find library libgpm.so ( of course it is in /usr/lib which is on a lv )
so it cannot mount all the fs on my lv ( /usr /tmp /var and /home )
/ and /boot are standard partition

SOLUTION : static link the library in sys-fs/lvm2
echo "sys-fs/lvm2 static" >> /etc/portage/package.use
emerge lvm2

static linking could also be mandatory in the ebuild


Reproducible: Always
Steps to Reproduce:
1.standard install with /usr on lvm 
2.emerge lvm2
3.reboot 

Actual Results:  
failed to mount all fs on lv
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-04-08 02:32:22 UTC
There's already a warning in the lvm2 guide:

"""
Warning: The LVM2 available on the 2005.0 installation CDs is erroneously linked dynamically against a library (libgpm) which resides in /usr. This means you cannot have your /usr in an LVM environment as well. Either install the latest version or version 2.0.33 (not -r1) which are built statically.
"""