Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux 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.


  Search this Thread
Old 10-29-2003, 10:56 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
LVM and device-mapper instalation- Help


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?

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.

[root@localhost patches]# man patch
[root@localhost patches]# pwd
[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
[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
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/ Fri Jan 10 16:33:55 2003
|+++ linux-2.4.20-dm-release4/Documentation/ Mon Sep 1 16:33:4
6 2003
File to patch:
[root@localhost Linux-2.4.21-0.13mdk]# pwd
[root@localhost Linux-2.4.21-0.13mdk]# ls
[root@localhost Linux-2.4.21-0.13mdk]# patch -p1 < /mnt/share/WinShare/LVM/LVM-2.0
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
[root@localhost Linux-2.4.21-0.13mdk]# ls
[root@localhost Linux-2.4.21-0.13mdk]# patch -p < /usr/src/device-mapper.1.00.05/patches//m
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
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Mandrake 10.1 has device mapper? edccorp Mandriva 2 03-20-2005 08:51 AM
installing device-mapper aaronj Linux - Software 1 10-02-2004 02:00 AM
device mapper failure booting SuSE 9.1 Joseph Schiller Linux - Distributions 2 08-18-2004 07:54 AM
LVM problems, device-mapper missing dworkin Linux - Newbie 3 03-22-2004 04:54 PM
lvm 2 device-mapper Kroenecker Linux - Newbie 4 12-29-2003 11:19 AM

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration