[Lustre-discuss] [Lustre-Discuss]-

Sze Chuan sze.chuan at gmail.com
Tue Nov 23 01:02:45 PST 2010


Thanks people. Got it to work.

On Tue, Nov 23, 2010 at 3:46 PM, Alexey Lyashkov <
alexey.lyashkov at clusterstor.com> wrote:

> anyway.
> if package consists tools from different package you have two ways to make
> it work correctly.
> 1) divide package to sort of
> 2) add "Obsolete" line in spec file.
>
> In that situation - "Obsoletes" line best way (same way as used on RHEL6).
> >>>
> # e4fsprogs was a parallel ext4-capable package in RHEL5.x
> %if 0%{?rhel} > 0
> Obsoletes: e4fsprogs < %{version}-%{release}
> Provides: e4fsprogs = %{version}-%{release}
> %endif
> >>>
>
> On Nov 23, 2010, at 07:54, Oleg Drokin wrote:
>
> > Actually note that it is conflicting with existing ext4progs, not ext2,
> so should not be all that hard.
> > Besides, lustre-enabled ext2 should have all the stuff that's already in
> ext4progs I would imagine.
> >
> > On Nov 22, 2010, at 11:05 PM, Alexey Lyashkov wrote:
> >
> >> removing e2fsprogs from live system is difficult, because have many
> dependences.
> >> in that case better to check if e2fsprogs-devel package installed, and
> use force update for both package - e2fsprogs / e2fsprogs-devel (if need).
> >> but root case of that problem - Oracle use bad name for that package.
> >>
> >> 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.
> >>
> >>
> >> On Nov 23, 2010, at 06:29, Kevin Van Maren wrote:
> >>
> >>> Because of the naming convention, it doesn't recognize the Lustre one
> as an "upgrade".
> >>>
> >>> Remove the redhat one with "rpm -e" first (or less desirably, use
> --force to install over the top of the redhat one)
> >>>
> >>> Kevin
> >>>
> >>>
> >>> On Nov 22, 2010, at 7:49 PM, Sze Chuan <sze.chuan at gmail.com> wrote:
> >>>
> >>>> I couldn't install e2fsprogs using the rpm from the lustre website.
> Any idea to go about doing it?
> >>>>
> >>>> Here's my output:
> >>>>
> >>>> rpm -Uvh e2fsprogs-1.41.12.2.ora1-0redhat.oel5.x86_64.rpm
> >>>> Preparing...
>  ########################################### [100%]
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>        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
> >>>>
> >>>>
> >>>> On Mon, Nov 22, 2010 at 7:45 PM, Alexey Lyashkov <
> alexey.lyashkov at clusterstor.com> wrote:
> >>>> is you install e2fsprogs from lustre site?
> >>>> looks not.
> >>>>
> >>>> On Nov 22, 2010, at 12:15, Sze Chuan wrote:
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> I'm new to Lustre and had trouble creating a MGS/MDT filesystem on
> the block device. I entered the following command "mkfs.lustre
> --fsname=lustre  --mdt --mgs /dev/VolGroup00/MDS" but got the following
> error at the output.
> >>>>>
> >>>>> I'm running Lustre 2.0 on OEL 5.4 x86_64.
> >>>>>
> >>>>> Output:
> >>>>>
> >>>>> Permanent disk data:
> >>>>> Target:     lustre-MDTffff
> >>>>> Index:      unassigned
> >>>>> Lustre FS:  lustre
> >>>>> Mount type: ldiskfs
> >>>>> Flags:      0x75
> >>>>>              (MDT MGS needs_index first_time update )
> >>>>> Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
> >>>>> Parameters:
> >>>>>
> >>>>> checking for existing Lustre data: not found
> >>>>> device size = 4096MB
> >>>>> formatting backing filesystem ldiskfs on /dev/VolGroup00/MDS
> >>>>>        target name  lustre-MDTffff
> >>>>>        4k blocks     1048576
> >>>>>        options        -J size=160 -i 4096 -I 512 -q -O
> dir_index,dirdata,uninit_bg -F
> >>>>> 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
> >>>>>   Invalid filesystem option set: dir_index,dirdata,uninit_bg
> >>>>>
> >>>>> mkfs.lustre FATAL: Unable to build fs /dev/VolGroup00/MDS (256)
> >>>>>
> >>>>> mkfs.lustre FATAL: mkfs failed 256
> >>>>>
> >>>>> Thank you.
> >>>>>
> >>>>> Sze Chuan
> >>>>> _______________________________________________
> >>>>> Lustre-discuss mailing list
> >>>>> Lustre-discuss at lists.lustre.org
> >>>>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Lustre-discuss mailing list
> >>>> Lustre-discuss at lists.lustre.org
> >>>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
> >>
> >> _______________________________________________
> >> Lustre-discuss mailing list
> >> Lustre-discuss at lists.lustre.org
> >> http://lists.lustre.org/mailman/listinfo/lustre-discuss
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20101123/2b9123cd/attachment.htm>


More information about the lustre-discuss mailing list