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

File path for zfs scripts are too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.10.6
    • None
    • 3
    • 9223372036854775807

    Description

      I've added test commit top of 2.10.7_rc1 tag for test. at the end, tar filename is a bit longer. (lustre-2.10.7_RC1.tar.gz vs lustre-2.10.7_RC1_1_g8c8ff5f.tar.gz) and there are some file path are longer than limitation below.

      # sh ./autogen.sh;  ./configure --enable-dist; make dist
      - snip - 
      
      test -n "" \
      || find "lustre-2.10.7_RC1_1_g8c8ff5f" -type d ! -perm -755 \
              -exec chmod u+rwx,go+rx {} \; -o \
        ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
        ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
        ! -type d ! -perm -444 -exec /bin/sh /scratch/lustre-release/config/install-sh -c -m a+r {} {} \; \
      || chmod -R a+r "lustre-2.10.7_RC1_1_g8c8ff5f"
      tardir=lustre-2.10.7_RC1_1_g8c8ff5f && tar --format=ustar -chf - "$tardir" | GZIP=--best gzip -c >lustre-2.10.7_RC1_1_g8c8ff5f.tar.gz
      tar: lustre-2.10.7_RC1_1_g8c8ff5f/contrib/lbuild/lustre-2.10.7_RC1/zfs/scripts/zpios-test/4th-1024rc-4rs-1cs-4off.sh: link name is too long; not dumped
      tar: lustre-2.10.7_RC1_1_g8c8ff5f/contrib/lbuild/lustre-2.10.7_RC1/zfs/scripts/zpios-test/1x256th-65536rc-4rs-1cs-4off.sh: link name is too long; not dumped
      tar: lustre-2.10.7_RC1_1_g8c8ff5f/contrib/lbuild/lustre-2.10.7_RC1/zfs/scripts/zpios-test/16th-8192rc-4rs-1cs-4off.sh: link name is too long; not dumped
      tar: lustre-2.10.7_RC1_1_g8c8ff5f/contrib/lbuild/lustre-2.10.7_RC1/zfs/scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh: link name is too long; not dumped
      tar: lustre-2.10.7_RC1_1_g8c8ff5f/contrib/lbuild/lustre-2.10.7_RC1/zfs/cmd/zed/zed.d/resilver_finish-notify.sh: link name is too long; not dumped
      tar: Exiting with failure status due to previous errors
      make[1]: Leaving directory `/scratch/lustre-release'
      if test -d "lustre-2.10.7_RC1_1_g8c8ff5f"; then find "lustre-2.10.7_RC1_1_g8c8ff5f" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "lustre-2.10.7_RC1_1_g8c8ff5f" || { sleep 5 && rm -rf "lustre-2.10.7_RC1_1_g8c8ff5f"; }; else :; fi
      

      this tarball gets broken whtn it extracts.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              sihara Shuichi Ihara
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: