[linux-lvm] Bug in 1.0.8

AJ Lewis alewis at redhat.com
Tue Mar 2 10:25:03 UTC 2004


On Tue, Mar 02, 2004 at 09:22:42AM -0600, Steven Lembark wrote:
> 
> LVM-1.0.8 was installed with prefix of /lvm, can't find
> pieces of itself. Seems that the --prefix should've udpated
> a #define somewhere...
> 
> # /lvm/sbin/e2fsadm -L4G /dev/vg00/lvol2
> e2fsck 1.32 (09-Nov-2002)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> /dev/vg00/lvol2: 13147/262144 files (4.8% non-contiguous), 454358/524288 
> blocks
> e2fsadm -- Sorry: 'lvextend' not found in any of /sbin /usr/sbin 
> /usr/local/sbin /bin /usr/bin
> e2fsadm -- ERROR: can't extend logical volume

Hrm...i think e2fsadm relies on $PATH to find the external binaries - is
this really a bug?  You should be able to fix it with a PATH=/lvm e2fsadm,
but that's a pretty ugly solution...maybe e2fsadm could be modified when
it's installed to check the --prefix location for binaries first...

-- 
AJ Lewis                                   Voice:  612-638-0500
Red Hat Inc.                               E-Mail: alewis at redhat.com
720 Washington Ave. SE, Suite 200
Minneapolis, MN 55414

Current GPG fingerprint = FE77 4B43 6A9B F982 A731  02FA 2BF5 7574 294A AA5A
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...
-----Begin Obligatory Humorous Quote----------------------------------------
cthread. cthread_fork(). Fork, thread, fork!
-----End Obligatory Humorous Quote------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040302/20cebbc0/attachment.sig>


More information about the linux-lvm mailing list