[Lustre-discuss] sanity check

Mervini, Joseph A jamervi at sandia.gov
Wed May 26 12:18:26 PDT 2010


Hoping for a quick sanity check:

I have migrated all the files that were on a damaged OST and have recreated the software raid array and put a lustre file system on it.

I am now at the point where I want to re-introduce it to the scratch file system as if it was never
gone. I used:

tunefs.lustre --index=27 /dev/md4 to get the right index for the file system (the information is
below). I just want to make sure there is nothing else I need to do before I pull the trigger will
mounting it. (The things that have me concerned are the differences in the flags, and less so the
"OST first_time update.)



<pre rebuild>

[root at oss-scratch obdfilter]# tunefs.lustre /dev/md4
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata

  Read previous values:
Target:     scratch1-OST001b
Index:      27
Lustre FS:  scratch1
Mount type: ldiskfs
Flags:      0x2
             (OST )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=10.10.10.2 at o2ib mgsnode=10.10.10.5 at o2ib failover.node=10.10.10.10 at o2ib


  Permanent disk data:
Target:     scratch1-OST001b
Index:      27
Lustre FS:  scratch1
Mount type: ldiskfs
Flags:      0x2
             (OST )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=10.10.10.2 at o2ib mgsnode=10.10.10.5 at o2ib failover.node=10.10.10.10 at o2ib

exiting before disk write.


<after reformat and tunefs>

[root at oss-scratch obdfilter]# tunefs.lustre --dryrun /dev/md4
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata

  Read previous values:
Target:     scratch1-OST001b
Index:      27
Lustre FS:  scratch1
Mount type: ldiskfs
Flags:      0x62
             (OST first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=10.10.10.2 at o2ib mgsnode=10.10.10.5 at o2ib failover.node=10.10.10.10 at o2ib


  Permanent disk data:
Target:     scratch1-OST001b
Index:      27
Lustre FS:  scratch1
Mount type: ldiskfs
Flags:      0x62
             (OST first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=10.10.10.2 at o2ib mgsnode=10.10.10.5 at o2ib failover.node=10.10.10.10 at o2ib

exiting before disk write.





More information about the lustre-discuss mailing list