Skip to contentSkip to conversation

XFS on Red Hat EL5

DISCUSSION Miakell Figueredo 3 participants 8 messages Feb 21, 2008 – Feb 25, 2008

lore
Share & tools
lore
#0 lore raw

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running "2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64 x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot mount the volume.

Regards,

Miakell

---
Miakell Figueredo
Network Administrator
The SCORE Group
305.662.5959 x.244
<mailto:[email protected]> [email protected]

[[HTML alternate version deleted]]

#1 lore raw

Eric makes some RPMs for them..

Quoted 33 lines · Miakell Figueredo

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running "2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64 x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot mount the volume.

Regards,

Miakell

---
Miakell Figueredo
Network Administrator
The SCORE Group
305.662.5959 x.244 <mailto:[email protected]> [email protected]

[[HTML alternate version deleted]]

#2 lore raw
Quoted 1 line · Justin Piszcz

Eric makes some RPMs for them..

Yep, take a look at http://sandeen.net/rhel5_xfs

They're a bit outdated at this point, though I'm not aware of any significant bugs.

Or, the centos distro has similar (if not the same) rpms.

RHEL does not support xfs, so using xfs may change whatever support agreements you have in place.

-Eric (speaking only for himself)

Quoted 10 lines · Miakell Figueredo
Quoted 9 lines

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running "2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64 x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot mount the volume.

#3 lore raw

Great! Thank you. I will attempt to install and mount our 10TB unit.

Thanks, Again!
Miakell

-----Original Message-----
From: Eric Sandeen [mailto:[email protected]]
Sent: Thursday, February 21, 2008 2:40 PM
To: Justin Piszcz
Cc: Miakell Figueredo; [email protected]
Subject: Re: XFS on Red Hat EL5

Quoted 1 line · Justin Piszcz

Eric makes some RPMs for them..

Yep, take a look at http://sandeen.net/rhel5_xfs

They're a bit outdated at this point, though I'm not aware of any significant bugs.

Or, the centos distro has similar (if not the same) rpms.

RHEL does not support xfs, so using xfs may change whatever support agreements you have in place.

-Eric (speaking only for himself)

Quoted 10 lines · Miakell Figueredo
Quoted 9 lines

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running "2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64 x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot mount the volume.

#4 lore raw
In reply to Eric Sandeen

Hi Eric:

I'm getting the following when rebuilding "kernel-module-xfs-2.6.17-1.2519.4.21.el5-0.2-1.src.rpm": (Any Ideas?)

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd xfs

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chown -Rhf root .

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chgrp -Rhf root .

+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .

+ echo 'Patch #0 (xfs-ootbuild.patch):'

Patch #0 (xfs-ootbuild.patch):

+ patch -p1 -s

+ echo 'Patch #1 (xfs-kernel-has-roundup.patch):'

Patch #1 (xfs-kernel-has-roundup.patch):

+ patch -p1 -s

+ echo 'Patch #2 (xfs-fix-mrinit.patch):'

Patch #2 (xfs-fix-mrinit.patch):

+ patch -p1 -s

+ echo 'Patch #3 (xfs-vfs-interface-fixes.patch):'

Patch #3 (xfs-vfs-interface-fixes.patch):

+ patch -p1 -s

+ echo 'Patch #4 (xfs-no-i_blksize.patch):'

Patch #4 (xfs-no-i_blksize.patch):

+ patch -p1 -s

+ echo 'Patch #5 (xfs-fail_migrate_page-header.patch):'

Patch #5 (xfs-fail_migrate_page-header.patch):

+ patch -p1 -s

+ cp /usr/src/redhat/SOURCES/config.xfs .

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15200

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd xfs

+ LANG=C

+ export LANG

+ unset DISPLAY

+ make 'TOPDIR=%{kernel_topdir}' modules

make -C %{kernel_topdir} OOT_BUILD=y SUBDIRS=/usr/src/redhat/BUILD/xfs modules

make: *** %{kernel_topdir}: No such file or directory. Stop.

make: *** [modules] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

RPM build errors:

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

-----Original Message-----
From: Eric Sandeen [mailto:[email protected]]
Sent: Thursday, February 21, 2008 2:40 PM
To: Justin Piszcz
Cc: Miakell Figueredo; [email protected]
Subject: Re: XFS on Red Hat EL5

Quoted 1 line · Justin Piszcz

Eric makes some RPMs for them..

Yep, take a look at http://sandeen.net/rhel5_xfs

They're a bit outdated at this point, though I'm not aware of any

significant bugs.

Or, the centos distro has similar (if not the same) rpms.

RHEL does not support xfs, so using xfs may change whatever support

agreements you have in place.

-Eric (speaking only for himself)

Quoted 12 lines · Miakell Figueredo
Quoted 10 lines

Hello:

Quoted 7 lines
Quoted 7 lines

Is there an RPM for XFS on Red Hat? Currently we are running

"2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64

x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot

mount the volume.

[[HTML alternate version deleted]]

#5 lore raw
Quoted 7 lines · Miakell Figueredo

Hi Eric:

I'm getting the following when rebuilding "kernel-module-xfs-2.6.17-1.2519.4.21.el5-0.2-1.src.rpm": (Any Ideas?)

how did you invoke the build, and did you have a matching kernel and kernel-devel rpm installed?

-Eric

Quoted 193 lines

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd xfs

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chown -Rhf root .

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chgrp -Rhf root .

+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .

+ echo 'Patch #0 (xfs-ootbuild.patch):'

Patch #0 (xfs-ootbuild.patch):

+ patch -p1 -s

+ echo 'Patch #1 (xfs-kernel-has-roundup.patch):'

Patch #1 (xfs-kernel-has-roundup.patch):

+ patch -p1 -s

+ echo 'Patch #2 (xfs-fix-mrinit.patch):'

Patch #2 (xfs-fix-mrinit.patch):

+ patch -p1 -s

+ echo 'Patch #3 (xfs-vfs-interface-fixes.patch):'

Patch #3 (xfs-vfs-interface-fixes.patch):

+ patch -p1 -s

+ echo 'Patch #4 (xfs-no-i_blksize.patch):'

Patch #4 (xfs-no-i_blksize.patch):

+ patch -p1 -s

+ echo 'Patch #5 (xfs-fail_migrate_page-header.patch):'

Patch #5 (xfs-fail_migrate_page-header.patch):

+ patch -p1 -s

+ cp /usr/src/redhat/SOURCES/config.xfs .

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15200

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd xfs

+ LANG=C

+ export LANG

+ unset DISPLAY

+ make 'TOPDIR=%{kernel_topdir}' modules

make -C %{kernel_topdir} OOT_BUILD=y SUBDIRS=/usr/src/redhat/BUILD/xfs modules

make: *** %{kernel_topdir}: No such file or directory. Stop.

make: *** [modules] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

RPM build errors:

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

-----Original Message-----
From: Eric Sandeen [mailto:[email protected]]
Sent: Thursday, February 21, 2008 2:40 PM
To: Justin Piszcz
Cc: Miakell Figueredo; [email protected]
Subject: Re: XFS on Red Hat EL5

Quoted 1 line · Justin Piszcz

Eric makes some RPMs for them..

Yep, take a look at http://sandeen.net/rhel5_xfs

They're a bit outdated at this point, though I'm not aware of any

significant bugs.

Or, the centos distro has similar (if not the same) rpms.

RHEL does not support xfs, so using xfs may change whatever support

agreements you have in place.

-Eric (speaking only for himself)

Quoted 19 lines · Miakell Figueredo
Quoted 18 lines

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running

"2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64

x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot

mount the volume.

#6 lore raw

rpmbuild --rebuild --define 'kernel 2.6.18-53.1.13.el5' kernel-module-xfs-2.6.17-1.2519.4.21.el5-0.2-1fc6.src.rpm

That is the command I used which matches my kernel "2.6.18-53.1.13.el5". I was able to build xfs-kmod-0.4-2.2.6.18_8.el5.src.rpm but not the kernel. Any suggestions?

Thanks,

Miakell

-----Original Message-----
From: Eric Sandeen [mailto:[email protected]]
Sent: Monday, February 25, 2008 12:04 PM
To: Miakell Figueredo
Cc: 'Justin Piszcz'; [email protected]
Subject: Re: XFS on Red Hat EL5

Quoted 8 lines · Miakell Figueredo

Hi Eric:

Quoted 5 lines

I'm getting the following when rebuilding

"kernel-module-xfs-2.6.17-1.2519.4.21.el5-0.2-1.src.rpm": (Any Ideas?)

how did you invoke the build, and did you have a matching kernel and

kernel-devel rpm installed?

-Eric

Quoted 334 lines

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd xfs

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chown -Rhf root .

++ /usr/bin/id -u

+ '[' 0 = 0 ']'

+ /bin/chgrp -Rhf root .

+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .

+ echo 'Patch #0 (xfs-ootbuild.patch):'

Patch #0 (xfs-ootbuild.patch):

+ patch -p1 -s

+ echo 'Patch #1 (xfs-kernel-has-roundup.patch):'

Patch #1 (xfs-kernel-has-roundup.patch):

+ patch -p1 -s

+ echo 'Patch #2 (xfs-fix-mrinit.patch):'

Patch #2 (xfs-fix-mrinit.patch):

+ patch -p1 -s

+ echo 'Patch #3 (xfs-vfs-interface-fixes.patch):'

Patch #3 (xfs-vfs-interface-fixes.patch):

+ patch -p1 -s

+ echo 'Patch #4 (xfs-no-i_blksize.patch):'

Patch #4 (xfs-no-i_blksize.patch):

+ patch -p1 -s

+ echo 'Patch #5 (xfs-fail_migrate_page-header.patch):'

Patch #5 (xfs-fail_migrate_page-header.patch):

+ patch -p1 -s

+ cp /usr/src/redhat/SOURCES/config.xfs .

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15200

+ umask 022

+ cd /usr/src/redhat/BUILD

+ cd xfs

+ LANG=C

+ export LANG

+ unset DISPLAY

+ make 'TOPDIR=%{kernel_topdir}' modules

make -C %{kernel_topdir} OOT_BUILD=y SUBDIRS=/usr/src/redhat/BUILD/xfs

modules

make: *** %{kernel_topdir}: No such file or directory. Stop.

make: *** [modules] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

RPM build errors:

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

user sandeen does not exist - using root

group sandeen does not exist - using root

Bad exit status from /var/tmp/rpm-tmp.15200 (%build)

-----Original Message-----

From: Eric Sandeen [mailto:[email protected]]

Sent: Thursday, February 21, 2008 2:40 PM

To: Justin Piszcz

Cc Miakell Figueredo; [email protected]

Subject: Re: XFS on Red Hat EL5

Quoted 1 line · Justin Piszcz

Eric makes some RPMs for them..

Yep, take a look at http://sandeen.net/rhel5_xfs

They're a bit outdated at this point, though I'm not aware of any

significant bugs.

Or, the centos distro has similar (if not the same) rpms.

RHEL does not support xfs, so using xfs may change whatever support

agreements you have in place.

Quoted 51 lines

-Eric (speaking only for himself)

Quoted 37 lines · Miakell Figueredo
Quoted 36 lines

Hello:

Is there an RPM for XFS on Red Hat? Currently we are running

"2.6.18-53.1.13.el5xen #1 SMP Mon Feb 11 13:41:50 EST 2008 x86_64 x86_64

x86_64 GNU/Linux" and installed "xfsprogs.i386-2.9.5-1.fc9" and I cannot

mount the volume.

[[HTML alternate version deleted]]

#7 lore raw
Quoted 8 lines · Miakell Figueredo

rpmbuild --rebuild --define 'kernel 2.6.18-53.1.13.el5' kernel-module-xfs-2.6.17-1.2519.4.21.el5-0.2-1fc6.src.rpm

That is the command I used which matches my kernel "2.6.18-53.1.13.el5". I was able to build xfs-kmod-0.4-2.2.6.18_8.el5.src.rpm but not the kernel. Any suggestions?

Are both kernel-2.6.18-53.1.13.el5 and kernel-devel-2.6.18-53.1.13.el5 installed?

then build as:

rpmbuild --rebuild --define 'kvariants ""' --define 'kversion 2.6.18-53.1.13.el5' xfs-kmod-0.4-2.2.6.18_8.el5.src.rpm

(note, kversion not kernel)

-Eric