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.<br>
<br><br><div class="gmail_quote">On 2 March 2011 00:53, James Robnett <span dir="ltr"><<a href="mailto:jrobnett@aoc.nrao.edu">jrobnett@aoc.nrao.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
   Thanks for the reply.  I saw the "Restoring the File system from a<br>
snapshot" docs and its reference to --reformat.  It wasn't clear from<br>
the context whether that was destructive.<br>
<br>
   Anyway I'll give that a shot.  Looks like I was doing the right<br>
thing modulo the ldiskfs step and deleting last_rcvd. This is our<br>
test system so if I goof it's only annoying to me.<br>
<font color="#888888"><br>
James<br>
</font><div><div></div><div class="h5"><br>
> Actually one correction to my earlier post you need to use --reformat<br>
> option<br>
> with tunefs.lustre like this:<br>
><br>
> tunefs.lustre --reformat --fsname=<fsname> --writeconf<br>
> /dev/<block_device_name><br>
><br>
> This is safe and no data will be lost, --reformat is just to force the<br>
> fsname change<br>
><br>
> BTW the rename procedure is in the manual but hidden under the "Restoring<br>
> the File System From a Snapshot" chapter<br>
><br>
> Cheers<br>
><br>
> Wojciech<br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Wojciech Turek<br><br>Senior System Architect<br><br>High Performance Computing Service<br>University of Cambridge<br>Email: <a href="mailto:wjt27@cam.ac.uk" target="_blank">wjt27@cam.ac.uk</a><br>
Tel: (+)44 1223 763517 <br>