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

posix.sh needs to check for zfs on servers rather than clients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 2.10.0, Lustre 2.12.0, Lustre 2.13.0
    • full group zfs configs (el7+el7+zfs & el7+el7+zfs+dne)
    • 3
    • 9223372036854775807

    Description

      Here's a recent example of posix being skipped on a zfs config:

      https://testing.hpdd.intel.com/test_sessions/f38b5926-8503-4f08-9e4b-9f7cd561db9d

      It looks like the script is checking for zfs on the client:

        18 if [[ $(facet_fstype $SINGLEMDS) = zfs ]]; then
        19         BASELINE_FS=zfs
        20         ! which $ZFS $ZPOOL >/dev/null 2>&1 &&
        21                 skip_env "need $ZFS and $ZPOOL commands" && exit 0
      

      Line 20 should return false if run on servers, but not on clients:

      From MDS/OST:

      1. which zfs zpool
        /usr/sbin/zpool
        /usr/sbin/zfs

      From clients:

      1. which zfs zpool
        /usr/bin/which: no zfs in ($PATH)
        /usr/bin/which: no zpool in ($PATH)

      Attachments

        Activity

          People

            jamesanunez James Nunez (Inactive)
            jcasper James Casper
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: