Bug#291911: workaround for missing e2fsadm for lvm2: remove package
lvm10
ingo
ingo at schmiegel.net
Wed Aug 10 21:50:59 UTC 2005
Got the same error:
# lvextend -L +16.8G -r -v /dev/smvg/movies
Finding volume group smvg
Rounding up size to full physical extent 16.80 GB
Executing: fsadm check /dev/smvg/movies (null)
fsadm: execlp failed: No such file or directory
fsadm failed: 2
Even without using the -r option.
Workaround for me was to:
Remove package lvm10 (while leaving configuration files)
Then redo:
# lvextend -L +16.8G -v /dev/smvg/movies
Finding volume group smvg
Rounding up size to full physical extent 16.80 GB
Archiving volume group "smvg" metadata.
Extending logical volume movies to 316.80 GB
Creating volume group backup "/etc/lvm/backup/smvg"
Found volume group "smvg"
Found volume group "smvg"
Loading smvg-movies
Logical volume movies successfully resized
# e2fsck -f /dev/smvg/movies
e2fsck 1.37 (21-Mar-2005)
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/smvg/movies: 951/307200 files (6.2% non-contiguous), 39875158/78643200 blocks
# resize2fs /dev/smvg/movies 332188876K
resize2fs 1.37 (21-Mar-2005)
Resizing the filesystem on /dev/smvg/movies to 83047219 (4k) blocks.
The filesystem on /dev/smvg/movies is now 83047219 blocks long.
The lvm10 package got installed while webmin-lvm package was installed. Thought I might try a web based system configuration tool for a change and immediately regretted it :o)
I'm working with Debian "testing", package versions:
lvm-common 1.5.17
lvm10 1-1.0.8-8 (now removed)
lvm2 2.01.04-5
More information about the pkg-lvm-maintainers
mailing list