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>

[r...@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.1...@o2ib mgsnode=10.10.1...@o2ib 
failover.node=10.10.10...@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.1...@o2ib mgsnode=10.10.1...@o2ib 
failover.node=10.10.10...@o2ib

exiting before disk write.


<after reformat and tunefs>

[r...@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.1...@o2ib mgsnode=10.10.1...@o2ib 
failover.node=10.10.10...@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.1...@o2ib mgsnode=10.10.1...@o2ib 
failover.node=10.10.10...@o2ib

exiting before disk write.


_______________________________________________
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to