[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Bug in 1.0.8

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 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------------------------------------------

Attachment: pgp00000.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]