Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11071

Support for Lustre Servers on Ubuntu 18.04 LTS

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • 9223372036854775807

    Description

      Ubuntu 18.04 LTS ships kernel 4.15, with the client support for 4.15 landed to master,

      Now we can add 4.15 server support.

      Note that the new e2fsprogs rebasing is still in progress, the testing has done with the current e2fsprogs 1.42.13.wc6

      Attachments

        Issue Links

          Activity

            [LU-11071] Support for Lustre Servers on Ubuntu 18.04 LTS
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33145/
            Subject: LU-11071 build: use --with-linux-obj for ubuntu
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f785fcaa7b7fe600bd29efe0ce509beea7ac2095

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33145/ Subject: LU-11071 build: use --with-linux-obj for ubuntu Project: fs/lustre-release Branch: master Current Patch Set: Commit: f785fcaa7b7fe600bd29efe0ce509beea7ac2095

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33626/
            Subject: LU-11071 build: add files to .gitignore
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b0797d7ed4e6551d229620b45295d9387b3202bd

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33626/ Subject: LU-11071 build: add files to .gitignore Project: fs/lustre-release Branch: master Current Patch Set: Commit: b0797d7ed4e6551d229620b45295d9387b3202bd

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33624/
            Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3abacdac1f016a696dd2e791c2b685b94aabe149

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33624/ Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3abacdac1f016a696dd2e791c2b685b94aabe149

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33322/
            Subject: LU-11071 build: kernel update Ubuntu 18.04
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 29029277088c39553081fe3464791b1eb5cf8924

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33322/ Subject: LU-11071 build: kernel update Ubuntu 18.04 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 29029277088c39553081fe3464791b1eb5cf8924

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33626
            Subject: LU-11071 build: add files to .gitignore
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 281dcbb842fb0d461cc2451ae5e58e4a51839034

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33626 Subject: LU-11071 build: add files to .gitignore Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 281dcbb842fb0d461cc2451ae5e58e4a51839034

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33624
            Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 25273c05afe93511160fa8e09f730e5b388d80b1

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33624 Subject: LU-11071 osd-ldiskfs: support bio integrity with Ubuntu 18 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 25273c05afe93511160fa8e09f730e5b388d80b1
            dongyang Dongyang Li added a comment - - edited

            We can remove the multilib stuff:

            # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
            %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64%ifarch %{multilib_arches}
            mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \
                  %{buildroot}%{_includedir}/ext2fs/ext2_types-%{_arch}.h
            mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types-wrapper.h \
                  %{buildroot}%{_includedir}/ext2fs/ext2_types.h
            %endif
            

            and simply use

            # Replace arch-dependent header file with arch-independent stub (when needed).
            %multilib_fix_c_header --file %{_includedir}/ext2fs/ext2_types.h
            

            but that means we will add a build dependency of multilib-rpm-config package from epel, which provides the multilib_fix_c_header macro.

            Happy to make the change but the build servers need to add epel repo and have multilib-rpm-config installed.

            Cheers

            DY

            dongyang Dongyang Li added a comment - - edited We can remove the multilib stuff: # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages: %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64%ifarch %{multilib_arches} mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types.h \ %{buildroot}%{_includedir}/ext2fs/ext2_types-%{_arch}.h mv -f %{buildroot}%{_includedir}/ext2fs/ext2_types-wrapper.h \ %{buildroot}%{_includedir}/ext2fs/ext2_types.h %endif and simply use # Replace arch-dependent header file with arch-independent stub (when needed). %multilib_fix_c_header --file %{_includedir}/ext2fs/ext2_types.h but that means we will add a build dependency of multilib-rpm-config package from epel, which provides the multilib_fix_c_header macro. Happy to make the change but the build servers need to add epel repo and have multilib-rpm-config installed. Cheers DY
            adilger Andreas Dilger added a comment - - edited

            Dongyang, do we even need that wrapper anymore? Looking in the RHEL6 .spec file, there is a comment like "remove arch wrapper", so maybe we should also remove it from the THEL6 .spec patch completely?

            adilger Andreas Dilger added a comment - - edited Dongyang, do we even need that wrapper anymore? Looking in the RHEL6 .spec file, there is a comment like "remove arch wrapper", so maybe we should also remove it from the THEL6 .spec patch completely?
            dongyang Dongyang Li added a comment -

            Hi Minh,

            to build e2fsprogs debs on ubuntu, we need to do this:

            sed -i 's/ext2_types-wrapper.h$//g' lib/ext2fs/Makefile.in
            dpkg-buildpackage -b -us -uc
            

            Also see https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116#BuildLustreMASTERwithLdiskfs&ZFSonUbuntu14.04/16.04fromGit-4.)(Optional)Buildingmodifiede2fsprogsforLDISKFSsupport

            dongyang Dongyang Li added a comment - Hi Minh, to build e2fsprogs debs on ubuntu, we need to do this: sed -i 's/ext2_types-wrapper.h$ //g' lib/ext2fs/Makefile.in dpkg-buildpackage -b -us -uc Also see https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116#BuildLustreMASTERwithLdiskfs&ZFSonUbuntu14.04/16.04fromGit-4.)(Optional)Buildingmodifiede2fsprogsforLDISKFSsupport

            People

              dongyang Dongyang Li
              lidongyang Li Dongyang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: