Bug#496020: lvm2: Workaround for missing fsadm
Markus
maillist at piirakka.com
Sat Apr 11 20:21:48 UTC 2009
Package: lvm2
Version: 2.02.39-6
Followup-For: Bug #496020
Hi
I also ran in to the missing fsadm problem. I have not found any explanation
why Debians lvm2-deb is missing this command. It is not just some script
that one needs only in some special cases but in my opinion it's a very
important script which is called by the main commands that resize logical
volumes.
Of course you can manually run resize_reiserfs etc. but why do that when you
can automatically resize the fs in question with one extra switch. I'm glad
to say that I found a workaround for this problem.
Get the fsadm-script and man-page from the source tree of lvm2.
Below are the needed commands. You can copypaste them right to the console
and then you got the working fsadm and (lvextend) -r option.
-------cut here-------
cd /usr/src/ && apt-get source lvm2 && cp lvm2-2.02.39/scripts/fsadm.sh \
/usr/local/sbin/fsadm && chmod +x /usr/local/sbin/fsadm && cp \
lvm2-2.02.39/man/fsadm.8 /usr/local/man/man8/
-------cut here-------
Signed by
Debian admin and frequent user of lvm2
-- System Information:
Debian Release: 5.0
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages lvm2 depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.27-4 The Linux Kernel Device Mapper use
ii libreadline5 5.2-3.1 GNU readline and history libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages lvm2 recommends:
ii dmsetup 2:1.02.27-4 The Linux Kernel Device Mapper use
lvm2 suggests no packages.
-- no debconf information
More information about the pkg-lvm-maintainers
mailing list