Yes --reformat option is not very reassuring. However I dug out some three years old notes (this is when I have rename file system last time) and they have the same option and this was done on one of the production FS but of course always best to test it on small loop dev Lustre FS.
On 2 March 2011 00:53, James Robnett <[email protected]> wrote: > > Thanks for the reply. I saw the "Restoring the File system from a > snapshot" docs and its reference to --reformat. It wasn't clear from > the context whether that was destructive. > > Anyway I'll give that a shot. Looks like I was doing the right > thing modulo the ldiskfs step and deleting last_rcvd. This is our > test system so if I goof it's only annoying to me. > > James > > > Actually one correction to my earlier post you need to use --reformat > > option > > with tunefs.lustre like this: > > > > tunefs.lustre --reformat --fsname=<fsname> --writeconf > > /dev/<block_device_name> > > > > This is safe and no data will be lost, --reformat is just to force the > > fsname change > > > > BTW the rename procedure is in the manual but hidden under the "Restoring > > the File System From a Snapshot" chapter > > > > Cheers > > > > Wojciech > > > > -- Wojciech Turek Senior System Architect High Performance Computing Service University of Cambridge Email: [email protected] Tel: (+)44 1223 763517
_______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
