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

mds-survey dosen't work with one thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Blocker
    • None
    • Lustre 2.2.0, Lustre 2.3.0
    • None
    • 3
    • 6419

    Description

      running mds-survey with a single thread seems to fail and corrupt the MDT.

      # mkfs.lustre --reformat --fsname=survey --mdt --mgs --index=0 /dev/rsXX0
      
         Permanent disk data:
      Target:     survey-MDT0000
      Index:      0
      Lustre FS:  survey
      Mount type: ldiskfs
      Flags:      0x65
                    (MDT MGS first_time update )
      Persistent mount opts: user_xattr,errors=remount-ro
      Parameters:
      
      device size = 430074MB
      formatting backing filesystem ldiskfs on /dev/rsXX0
      	target name  survey-MDT0000
      	4k blocks     110098944
      	options        -J size=400 -I 512 -i 2048 -q -O dirdata,uninit_bg,dir_nlink,huge_file,flex_bg -E lazy_journal_init -F
      mkfs_cmd = mke2fs -j -b 4096 -L survey-MDT0000  -J size=400 -I 512 -i 2048 -q -O dirdata,uninit_bg,dir_nlink,huge_file,flex_bg -E lazy_journal_init -F /dev/rsXX0 110098944
      Writing CONFIGS/mountdata
      bin# mount -t lustre /dev/rsXX0 /mnt
      bin# dir_count=1 thrlo=1 thrhi=1 file_count=250000 sh mds-survey
      Mon Apr  9 15:15:40 CDT 2012 mds-survey from mds51.ls4.tacc.utexas.edu
      mdt 1 file  250000 dir    1 thr    1 create 35157.45 [30996.56,36061.95] lookup             ERROR md_getattr             ERROR setxattr             ERROR destroy             ERROR 
      program exited with error 
      bin# dir_count=1 thrlo=1 thrhi=1 file_count=250000 sh mds-survey
      Mon Apr  9 15:15:53 CDT 2012 mds-survey from mds51.ls4.tacc.utexas.edu
      error: test_mkdir: File exists
      ERROR: fail test_mkdir
      created directories on localhost:survey-MDT0000_ecc failed
      program exited with error 
      bin# 
      

      Attachments

        Activity

          People

            di.wang Di Wang
            rhenwood Richard Henwood (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: