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

ls -la on striped directories displays multiple '.' and '..' entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.6.0
    • None
    • 3
    • 4,715
    • 13389

    Description

      Testing DNE2 on a Lustre 2.5.57 build.

      ls -la is listing a '.' and '..' entry for each stripe.

      [ec2-user@client2 test]$ lfs getdirstripe 8dir
      8dir
      lmv_stripe_count: 8
      lmv_stripe_offset: 1
      mdtidx		 FID[seq:oid:ver]
           1		 [0x440000400:0x1:0x0]		
           2		 [0x480000400:0x1:0x0]		
           3		 [0x4c0000400:0x1:0x0]		
           4		 [0x500000400:0x1:0x0]		
           5		 [0x540000400:0x1:0x0]		
           6		 [0x580000400:0x1:0x0]		
           7		 [0x5c0000400:0x1:0x0]		
           8		 [0x600000400:0x1:0x0]		
      
      [ec2-user@client2 test]$ ls -la 8dir
      total 64
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 2 ec2-user ec2-user 32768 Apr  2 17:33 .
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      drwxr-xr-x 5 ec2-user ec2-user  4096 Apr  2 17:45 ..
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              rread Robert Read
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: