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

lfs and ls failed as: Argument list too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.8.0
    • None
    • client and server: lustre-master #3226 RHEL7
    • 3
    • 9223372036854775807

    Description

      Not sure if there is any limitation here but running lfs and ls failed

      [root@onyx-27 lustre]# lfs getstripe -M /mnt/lustre/other_dir/* |grep 1
      1
      1
      1
      1
      [root@onyx-27 lustre]# lfs getstripe -M /mnt/lustre/other_dir/* |grep 0
      0
      0
      0
      [root@onyx-27 lustre]# lfs getstripe -M /mnt/lustre/migrate_dir/* |grep 0
      -bash: /bin/lfs: Argument list too long
      [root@onyx-27 lustre]# 
      [root@onyx-27 lustre]# ls /mnt/lustre/migrate_dir/* |grep 1
      -bash: /bin/ls: Argument list too long
      [root@onyx-27 lustre]# lfs df -i
      UUID                      Inodes       IUsed       IFree IUse% Mounted on
      lustre-MDT0000_UUID      1000184         332      999852   0% /mnt/lustre[MDT:0]
      lustre-MDT0001_UUID      1000184      522379      477805  52% /mnt/lustre[MDT:1]
      lustre-MDT0002_UUID      1000184         236      999948   0% /mnt/lustre[MDT:2]
      lustre-MDT0003_UUID      1000184         236      999948   0% /mnt/lustre[MDT:3]
      lustre-OST0000_UUID       131072      131072           0 100% /mnt/lustre[OST:0]
      lustre-OST0001_UUID       131072      131072           0 100% /mnt/lustre[OST:1]
      lustre-OST0002_UUID       131072      131072           0 100% /mnt/lustre[OST:2]
      lustre-OST0003_UUID       131072      131072           0 100% /mnt/lustre[OST:3]
      
      filesystem summary:       523183      523183           0 100% /mnt/lustre
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            sarah Sarah Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: