LVM and device-mapper instalation- Help
HI
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 Linux-2.4.21-0.13mdk]# patch -p1 < /mnt/share/WinShare/LVM/LVM-2.0
but it didn't work. see below exactly what I had done.
THX TO YOU ALL
[root@localhost patches]# man patch
[root@localhost patches]# pwd
/mnt/share/WinShare/LVM/LVM-2.0-stable.tgz/device-mapper.1.00.
[root@localhost patches]# ls -la
total 508
drwxr-xr-x 3 root wheel 4096 Sep 1 12:22 ./
drwxr-xr-x 11 root wheel 4096 Oct 28 17:35 ../
drwxr-xr-x 2 root wheel 4096 Sep 1 12:22 common
-rw-r--r-- 1 root wheel 236988 Sep 1 12:07 linux-
-rw-r--r-- 1 root wheel 6470 Mar 26 2003 linux-
-rw-r--r-- 1 root wheel 233123 Sep 1 12:07 linux-
-rw-r--r-- 1 root wheel 9350 Jul 4 15:38 linux-
-rw-r--r-- 1 root wheel 7267 Jul 4 15:38 linux-
[root@localhost patches]# patch -n linux-2.4.21-devmapper-ioct
[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,
I count on you folks
thx 1 more time
|