Hi, The manual has following instruction for erasing a file system. If you have a separate MGS (that you do not want to reformat), then add the "writeconf" flag to mkfs.lustre on the MDT, run: $ mkfs.lustre --reformat --writeconf ?fsname spfs --mdt --mgs /dev/sda I am not sure, but wouldn''t this command create a lustre installation with two MGSs? Shouldn''t it be like: $ mkfs.lustre --reformat --writeconf ?fsname spfs --mdt -mgs=<MGS.ip> /dev/sda Also, I have seen some posts where people have more than one MGS per installation (although it is not recommended). I am wondering how can one erase a file system when the installation has more than one MGS. Any insights? Thanks, Shantanu Pavgi.
I meant ''--mgsnode'' and not ''-mgs'' in my command. $ mkfs.lustre --reformat --writeconf ?fsname spfs --mdt --mgsnode=<MGS.ip> /dev/sda -- Shantanu Pavgi. Shantanu S Pavgi wrote:> Hi, > > The manual has following instruction for erasing a file system. > If you have a separate MGS (that you do not want to reformat), then add > the "writeconf" flag to mkfs.lustre on the MDT, run: > $ mkfs.lustre --reformat --writeconf ?fsname spfs --mdt --mgs /dev/sda > > I am not sure, but wouldn''t this command create a lustre installation > with two MGSs? Shouldn''t it be like: > $ mkfs.lustre --reformat --writeconf ?fsname spfs --mdt -mgs=<MGS.ip> > /dev/sda > > Also, I have seen some posts where people have more than one MGS per > installation (although it is not recommended). I am wondering how can > one erase a file system when the installation has more than one MGS. Any > insights? > > Thanks, > Shantanu Pavgi. > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >