Multipath tool for 2.6.9 RHEL 4 U1
Thanks Christophe.
Are these upgrades in a single place on any site?
I tried upgrading the libdevmapper, but had inconsistencies with existing libdevmapper 1.0 (device-mapper-1.00.19-2).
I tried deleting the older one, but then I get dependencies on the following rpms.
- dmraid-1.0.0.rc5f-rhel4.1.i386
- lvm2-2.00.31-1.0.RHEL4.i386
- dmraid-1.0.0.rc5f-rhel4.1.i386
- lvm2-2.00.31-1.0.RHEL4.i386
If I choose 2nd option, the compilation goes through the initial level, but finally gets stuck at the following place:
/******************************************/ make[1]: Entering directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/kpartx' rm -f core *.o *.gz
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o bsd.o bsd.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o dos.o dos.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o kpartx.o kpartx.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o solaris.o solaris.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o unixware.o unixware.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o gpt.o gpt.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o crc32.o crc32.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o lopart.o lopart.c
In file included from lopart.c:29:/usr/include/linux/loop.h:31:2: #error "Wrong dev_t in loop.h" make[1]: *** [lopart.o] Error 1
make[1]: Leaving directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/kpartx'
make: *** [recurse] Error 2 /******************************************/
Are the required packages with appropriate version numbers documented anywhere, so that I can download them appropriately? If anyone in your team has faced similar issue, they should be able to suggest a resolution faster
- I guess.
Thanks in advance,
Nitin
-----Original Message-----
From: christophe varoqui [mailto:[email protected]]
Sent: Thursday, June 16, 2005 5:20 PM
To: Nitin Chandna
Subject: RE: Multipath tool for 2.6.9 RHEL 4 U1
You have 2 options : either upgrade your libdevmapper, or #define dm_task_no_open_count(a) to a noop like 'while(0){}'
Regards,
cvaroqui
Quoted 31 lines · Nitin Chandna
Hi,
I am working with testing of iSCSI Initiators and iSCSI targets in India and was wondering how would multipathing work with iSCSI disks.
I have the Red Hat's recent RHEL 4 U1 kernel available:
# uname -a Linux cnitin-linux-6 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/LinuxI understand that device-mapper is the kernel component and multipath-tools is the user space component. My understanding is that RHEL 4 U1 already has the device mapper integrated.
I downloaded multipath-tools-0.4.4.tar.bz2 from the URL:
http://christophe.varoqui.free.fr, but during compilation, I am getting the following error:
/****************************************************/ [root@cnitin-linux-6 multipath-tools-0.4.4]# make make[1]: Entering directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/libmultipath' rm -f core *.o *.gzcc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o memory.o memory.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o parser.o parser.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o vector.o vector.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o devmapper.o
devmapper.cdevmapper.c: In function `dm_prereq':
devmapper.c:24: warning: implicit declaration of function `dm_task_no_open_count'
Quoted 6 lines
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o callout.o callout.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o hwtable.o hwtable.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o blacklist.o
blacklist.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o util.outil.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o dmparser.o
dmparser.c
Quoted 4 lines
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o config.o config.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o structs.o structs.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o cache.o cache.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o discovery.o
Quoted 8 lines
discovery.ccc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o propsel.o propsel.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o dict.o dict.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o pgpolicies.o pgpolicies.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o debug.o debug.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o regex.o regex.c cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o defaults.o
defaults.c
Quoted 98 lines
ar rs libmultipath-glibc.a *.o
make[1]: Leaving directory/usr/src/iscsi/tools/multipath-tools-0.4.4/libmultipath' make[1]: Entering directory/usr/src/iscsi/tools/multipath-tools-0.4.4/libcheckers' rm -f core *.o *.gzcc -c -o readsector0.o readsector0.c cc -c -o tur.o tur.c cc -c -o selector.o selector.c cc -c -o emc_clariion.o emc_clariion.car rs libcheckers-glibc.a *.o
make[1]: Leaving directory/usr/src/iscsi/tools/multipath-tools-0.4.4/libcheckers' make[1]: Entering directory/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority' rm -f core *.o *.gz
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I../libmultipath -DDEBUG=0 -c -o pp_balance_units.opp_balance_units.ccc -opp_balance_unitspp_balance_units.o ../libmultipath/libmultipath-glibc.a -ldevmapper strip --strip-all -R .comment -R .notepp_balance_units
make[2]: Entering directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority/pp_emc' cc -opp_emcpp_emc.o
strip --strip-all -R .comment -R .notepp_emc
make[2]: Leaving directory/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority/pp_emc' make[2]: Entering directory/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority/pp_alua' cc -opp_aluamain.o rtpg.o
strip --strip-all -R .comment -R .notepp_alua
make[2]: Leaving directory/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority/pp_alua' make[1]: Leaving directory/usr/src/iscsi/tools/multipath-tools-0.4.4/path_priority' make[1]: Entering directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/devmap_name'
rm -f core *.o *.gz
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o devmap_name.odevmap_name.cdevmap_name.c: In function `dm_target_type':
devmap_name.c:31: warning: implicit declaration of function `dm_task_no_open_count'
cc -odevmap_namedevmap_name.o -ldevmapperdevmap_name.o(.text+0xb6): In function `dm_target_type':/usr/src/iscsi/tools/multipath-tools-0.4.4/devmap_name/devmap_name.c:31:
undefined reference to `dm_task_no_open_count'
collect2: ld returned 1 exit status
make[1]: *** [glibc] Error 1
make[1]: Leaving directory `/usr/src/iscsi/tools/multipath-tools-0.4.4/devmap_name'
make: *** [recurse] Error 2
[root@cnitin-linux-6 multipath-tools-0.4.4]# /****************************************************/How can I overcome this compilation issue? Please let me know if you will need any more information from me to resolve this issue?
Regards,
Nitin-----Original Message-----
From: christophe varoqui [mailto:[email protected]]
Sent: Friday, May 13, 2005 3:17 AM
To: Nitin Chandna
Subject: RE: Multipath tool for 2.6.9 RHEL 4 U1RedHat patches its kernels, so their 2.6.9 might have the adequate DM fonctionnality for 0.4.4 to compile and run.
Again, post the build log if you want this thread to go somewhere :)
Regards,
cvaroquiQuoted 22 lines · Nitin Chandna
0.4.4 was meant for 2.6.10 onwards, whereas I was aiming at 2.6.9 RHEL
4 U1 kernel, that's where the compilation seems to be failing for 0.4.4. Any clue which version would suite the mentioned kernel?Regards,
Nitin-----Original Message-----
From: Christophe Varoqui [mailto:[email protected]]
Sent: Thursday, May 12, 2005 6:13 PM
To: Nitin Chandna
Subject: Re: Multipath tool for 2.6.9 RHEL 4 U1Try the lastest stable release : 0.4.4
Multipath-tools are the userspace part of the Linux multipath implementation. The kernel part is a Device Mapper target module.
Regards,
cvaroqui
Quoted 8 lines
Quoted 5 lines · Nitin Chandna
Quoted 4 lines
Hi Christophe,
Will be able to suggest the appropriate version of multipath tools for
me?
Quoted 2 lines
Quoted 2 lines
I was also wondering if Device Mapper has the same functionality as multipath tools - though I am sure that is used for making RAID
systems.
Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
Regards,
Nitin-----Original Message-----
From: Nitin Chandna [mailto:[email protected]]
Sent: Thursday, May 05, 2005 10:58 AM
To: 'christophe varoqui'
Subject: RE: Multipath tool for 2.6.9 RHEL 4 U1Hi Christopher,
I am planning to test Linux LVM with alternate-path SW from RH Release
4 update 1 with Cisco iSCSI Targets. I was not sure whether the multipath tools are packaged as RPM in this kernel itself. If packaged, then under what name I can search them.
I would be grateful, if you can let me know or put me to the concerned person to determine the correct version recommended for Multipath tools by Red Hat.We are currently not trying to do any development on this.
Thanks and Regards,
Nitin-----Original Message-----
From: christophe varoqui [mailto:[email protected]]
Sent: Thursday, May 05, 2005 4:01 AM
To: [email protected]
Cc: [email protected]; 'Nitin Chandna'
Subject: Re: Multipath tool for 2.6.9 RHEL 4 U1On mer, 2005-05-04 at 18:17 +0530, Smitha Narayanaswamy (smithan)
Quoted 15 lines · wrote:
Quoted 15 lines
Quoted 15 lines
Quoted 6 lines
Hi,
Which is the version of the multipath tool to be used for 2.6.9 RHEL
4
U1 kernel?Depends on your objectives.
If you intend to do useful things with this server, you should stick with to tools version provided by RedHat.
On the other hand, if you want to help with the development, you should stick with upstream kernel+udm patches and upstream tools from kernel.org git repository.
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Regards,
--
christophe varoqui <[email protected]>--
christophe varoqui <[email protected]>
--
christophe varoqui <[email protected]>