>> Subject:
>> [Lustre-devel] 1.6 MGS changes
>> From:
>> "Felix, Evan J" <Evan.Felix@pnl.gov>
>> Date:
>> Mon, 08 May 2006 14:24:54 -0700
>> To:
>> lustre-devel@clusterfs.com
>>
>> To:
>> lustre-devel@clusterfs.com
>>
>>
>> I''ve been working with 1.6 for a little bit, and wanted to
re-create my
>> filesystem, so how do I tell the mgs that the filesystem
''test'' is gone?
>> I''d like to make a new one called test.
>>
>>
>>
> You can do this via a "writeconf" procedure (the name is
historical)
> on any of the targets for that fs:
>
> writeconf - wipe out all existing config files for a fs (logs will be
> regenerated as servers start.)
>
> 1. umount all servers using this fs
> 2. mdt> tunefs.lustre --writeconf /r/tmp/mdt
> 3. remount all servers, writeconf''ed one first
>
>
> Please let me know if you have any problems.
>
> If you want to erase all filesystems, you can simply reformat the MGS.
>
Oh, wait, I need to clarify:
The "writeconf" procedure will indeed regenerate logs as targets start
-- but it will NOT reformat your targets.
If you want to blow away the fs, you should mkfs.lustre on your targets
again.
A. If you have a combo MGS/MDT, reformatting the MDT will reformat the
MGS as well, and so all configuration info will be lost and you can
start building your new FS.
B. If you have a separate MGS (that you don''t want to reformat),
reformat your targets, and then follow the writeconf procedure to erase
the logs.