Thanks people. Got it to work.<br><br><div class="gmail_quote">On Tue, Nov 23, 2010 at 3:46 PM, Alexey Lyashkov <span dir="ltr">&lt;<a href="mailto:alexey.lyashkov@clusterstor.com">alexey.lyashkov@clusterstor.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">anyway.<br>
if package consists tools from different package you have two ways to make it work correctly.<br>
1) divide package to sort of<br>
2) add &quot;Obsolete&quot; line in spec file.<br>
<br>
In that situation - &quot;Obsoletes&quot; line best way (same way as used on RHEL6).<br>
&gt;&gt;&gt;<br>
# e4fsprogs was a parallel ext4-capable package in RHEL5.x<br>
%if 0%{?rhel} &gt; 0<br>
Obsoletes: e4fsprogs &lt; %{version}-%{release}<br>
Provides: e4fsprogs = %{version}-%{release}<br>
%endif<br>
<div><div></div><div class="h5">&gt;&gt;&gt;<br>
<br>
On Nov 23, 2010, at 07:54, Oleg Drokin wrote:<br>
<br>
&gt; Actually note that it is conflicting with existing ext4progs, not ext2, so should not be all that hard.<br>
&gt; Besides, lustre-enabled ext2 should have all the stuff that&#39;s already in ext4progs I would imagine.<br>
&gt;<br>
&gt; On Nov 22, 2010, at 11:05 PM, Alexey Lyashkov wrote:<br>
&gt;<br>
&gt;&gt; removing e2fsprogs from live system is difficult, because have many dependences.<br>
&gt;&gt; in that case better to check if e2fsprogs-devel package installed, and use force update for both package - e2fsprogs / e2fsprogs-devel (if need).<br>
&gt;&gt; but root case of that problem - Oracle use bad name for that package.<br>
&gt;&gt;<br>
&gt;&gt; Kevin - can you please add that issue in bugzilla and assign to Brian to fix it? this should be trivial fix in spec file + lbuild.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Nov 23, 2010, at 06:29, Kevin Van Maren wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Because of the naming convention, it doesn&#39;t recognize the Lustre one as an &quot;upgrade&quot;.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Remove the redhat one with &quot;rpm -e&quot; first (or less desirably, use --force to install over the top of the redhat one)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Kevin<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Nov 22, 2010, at 7:49 PM, Sze Chuan &lt;<a href="mailto:sze.chuan@gmail.com">sze.chuan@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I couldn&#39;t install e2fsprogs using the rpm from the lustre website. Any idea to go about doing it?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Here&#39;s my output:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; rpm -Uvh e2fsprogs-1.41.12.2.ora1-0redhat.oel5.x86_64.rpm<br>
&gt;&gt;&gt;&gt; Preparing...        ########################################### [100%]<br>
&gt;&gt;&gt;&gt;    file /sbin/fsck.ext4 from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /sbin/fsck.ext4dev from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /sbin/mkfs.ext4 from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /sbin/mkfs.ext4dev from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /usr/share/man/man8/fsck.ext4.8.gz from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /usr/share/man/man8/fsck.ext4dev.8.gz from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /usr/share/man/man8/mkfs.ext4.8.gz from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;    file /usr/share/man/man8/mkfs.ext4dev.8.gz from install of e2fsprogs-1.41.12.2.ora1-0redhat.x86_64 conflicts with file from package e4fsprogs-1.41.5-3.el5.x86_64<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Mon, Nov 22, 2010 at 7:45 PM, Alexey Lyashkov &lt;<a href="mailto:alexey.lyashkov@clusterstor.com">alexey.lyashkov@clusterstor.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; is you install e2fsprogs from lustre site?<br>
&gt;&gt;&gt;&gt; looks not.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Nov 22, 2010, at 12:15, Sze Chuan wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m new to Lustre and had trouble creating a MGS/MDT filesystem on the block device. I entered the following command &quot;mkfs.lustre --fsname=lustre --mdt --mgs /dev/VolGroup00/MDS&quot; but got the following error at the output.<br>


&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;m running Lustre 2.0 on OEL 5.4 x86_64.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Output:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Permanent disk data:<br>
&gt;&gt;&gt;&gt;&gt; Target:   lustre-MDTffff<br>
&gt;&gt;&gt;&gt;&gt; Index:   unassigned<br>
&gt;&gt;&gt;&gt;&gt; Lustre FS: lustre<br>
&gt;&gt;&gt;&gt;&gt; Mount type: ldiskfs<br>
&gt;&gt;&gt;&gt;&gt; Flags:   0x75<br>
&gt;&gt;&gt;&gt;&gt;       (MDT MGS needs_index first_time update )<br>
&gt;&gt;&gt;&gt;&gt; Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro<br>
&gt;&gt;&gt;&gt;&gt; Parameters:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; checking for existing Lustre data: not found<br>
&gt;&gt;&gt;&gt;&gt; device size = 4096MB<br>
&gt;&gt;&gt;&gt;&gt; formatting backing filesystem ldiskfs on /dev/VolGroup00/MDS<br>
&gt;&gt;&gt;&gt;&gt;    target name lustre-MDTffff<br>
&gt;&gt;&gt;&gt;&gt;    4k blocks   1048576<br>
&gt;&gt;&gt;&gt;&gt;    options    -J size=160 -i 4096 -I 512 -q -O dir_index,dirdata,uninit_bg -F<br>
&gt;&gt;&gt;&gt;&gt; mkfs_cmd = mke2fs -j -b 4096 -L lustre-MDTffff -J size=160 -i 4096 -I 512 -q -O dir_index,dirdata,uninit_bg -F /dev/VolGroup00/MDS 1048576<br>
&gt;&gt;&gt;&gt;&gt;  Invalid filesystem option set: dir_index,dirdata,uninit_bg<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; mkfs.lustre FATAL: Unable to build fs /dev/VolGroup00/MDS (256)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; mkfs.lustre FATAL: mkfs failed 256<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Thank you.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Sze Chuan<br>
&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; Lustre-discuss mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
&gt;&gt;&gt;&gt;&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Lustre-discuss mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Lustre-discuss mailing list<br>
&gt;&gt; <a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
&gt;&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;<br>
<br>
</div></div></blockquote></div><br>