Patrice Bouchand wrote:
>Hello,
>
> I need to do the same thing. Is there any solution ? ( I did not see any
>answer or maybe I missed it ).
>
> Best regards
>
> Patrice Bouchand
>
>Le Lundi 08 Mai 2006 23:24, Felix, Evan J a ?crit :
>
>
>>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.
>>
>>
>>
If you want to erase the fs, you should just "mkfs.lustre --reformat"
on
your targets.
If you are using a separate MGS and want to keep other FS''s defined on
that MGS, then it''s a little more complicated - you must set the
"writeconf" flag (the name is historical) on the MDT for that fs. The
"writeconf" flag causes the config logs to be erased - they will be
regenerated the next time servers start.
1. umount all clients/servers using this fs
2. mkfs.lustre --reformat --fsname=... /dev/... the MDT and OSTs
3. 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.
3. B. If you have a separate MGS (that you don''t want to reformat),
then
add the "writeconf" flag to mkfs.lustre on the MDT: mkfs.lustre
--reformat --writeconf --fsname=... /dev/...
4. Mount the new servers, MDT first if writeconf''ed. Config logs will
be generated based on the new servers.