We had to do this once using Lustre 1.4. The details will have changed slightly 
for 1.6 no doubt but the basics are:

1) replace/reformat the bad RAID and mount/add to LustreFS
     * you will now have lots of "0" byte files on your filesystem
2) generate a list of all files that were on the OST using "lfs find --obd 
ost1d_UUID /mnt/lustre"
3) feed this list to "cpio" or similar to copy the files from your backup over 
the "0-byte" files - they will be written to the empty OST

You'll need to flesh out the details from the manual depending on Lustre 
1.4/1.6. With 1.6 you probably have to set the ost index manually to match the 
old one in the mkfs.lustre command to stop it just adding a new OST.

Regards,

Daire


----- "Andrew Lundgren" <[EMAIL PROTECTED]> wrote:
> _______________________________________________
> Lustre-discuss mailing list
> [email protected]
> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to