Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I found out lately about LVM, but I have trouble to installing on linux Mandrake 9.1. It is such a pain in bum. I download the LVM stable ver. wtih the device-mapper to /mnt/share/WinShare/LVM dir, this is example : file:/mnt/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.05/patches
you can fingure / so so where everything that I am talking about is store right?
Ok,
Then I ran the command in device-mapper cause device-mapper must be install 1st on Linux if it wasn't before, so in the device-mapper dir i ran the command
./configure ----kernel-source-dir---=file:/usr/src/Linux-2.4.21-0.13mdk and it ran some processes/executions and stop. Then I kept reading the INSTALL file in device-mapper folder, was telling me to install patches i ran the patches with command something like
[root@localhost patches]# pwd
/mnt/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.05/patches
[root@localhost patches]# cd /
[root@localhost /]# cd usr
[root@localhost usr]# cd src
[root@localhost src]# ls
Linux-2.4.21-0.13mdk/ RPM/
[root@localhost src]# cd Linux-2.4.21-0.13mdk
[root@localhost Linux-2.4.21-0.13mdk]# patch -p1 < /mnt/share/WinShare/LVM/LVM-2.0
-stable.tgz/device-mapper.1.00.05/patches/linux-2.4.20-devmapper-ioctl.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.4.20/Documentation/Configure.help Fri Jan 10 16:33:55 2003
|+++ linux-2.4.20-dm-release4/Documentation/Configure.help Mon Sep 1 16:33:4
6 2003
--------------------------
File to patch:
[root@localhost Linux-2.4.21-0.13mdk]# pwd
/usr/src/Linux-2.4.21-0.13mdk
[root@localhost Linux-2.4.21-0.13mdk]# ls
kernel-source-2.4.21-0.13mdk.i586.rpm*
[root@localhost Linux-2.4.21-0.13mdk]# patch -p1 < /mnt/share/WinShare/LVM/LVM-2.0
-stable.tgz/device-mapper.1.00.05/patches//mnt/share/WinShare/LVM/LVM-2.0-stable.t
gz/device-mapper.1.00.05/patches/linux-2.4.20-devmapper-ioctl.patch
bash: /mnt/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.05/patches//mn t/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.05/patches/linux-2.4.20 -devmapper-ioctl.patch: No such file or directory
[root@localhost Linux-2.4.21-0.13mdk]# patch -p1 < /mnt/share/WinShare/LVM/LVM-2.0
[root@localhost Linux-2.4.21-0.13mdk]# pwd
/usr/src/Linux-2.4.21-0.13mdk
[root@localhost Linux-2.4.21-0.13mdk]# ls
kernel-source-2.4.21-0.13mdk.i586.rpm*
[root@localhost Linux-2.4.21-0.13mdk]# patch -p < /usr/src/device-mapper.1.00.05/patches//m
nt/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.05/patches/linux-2.4.20-devmapp
er-ioctl.patch
bash: /usr/src/device-mapper.1.00.05/patches//mnt/share/WinShare/LVM/LVM-2.0-stable.tgz/dev
ice-mapper.1.00.05/patches/linux-2.4.20-devmapper-ioctl.patch: No such file or directory
[root@localhost Linux-2.4.21-0.13mdk]# patch -p < /usr/src/device-mapper.1.00.05/patches/li
nux-2.4.21-devmapper-ioctl.patch
patch: option requires an argument -- p
patch: Try `patch --help' for more information.
[root@localhost Linux-2.4.21-0.13mdk]# patch -help
patch: invalid option -- h
patch: Try `patch --help' for more information.
I realy have no idea what I am doing, the README fiele sucks doen't tell you details,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.