Is it possible to remove a OST permanently on 1.8.x?
Mag Gam wrote, On 2009. 11. 03. 3:15:> Is it possible to remove a OST permanently on 1.8.x? >Nope, you can only deactivate it. tamas
It is possible but it''s painful and probably depends on the reason. I had a situation a while back where the script I was using to mkfs.lustre had the wrong fsname applied and as a result added the OST to the wrong lustre file system. After realizing my mistake I backed out and reformatted the OSTs with the right parameters. The problem was that file system still had those OSTs registered and produced lots of errors. I tried to fix it by doing things like deactivate the OSTs, etc., but nothing worked. My only option appeared to be to reformat the entire file system. However, since I had nothing to lose I tried and successfully used tunefs.lustre --writeconf on the OSTs and MDT to remove and re-registration the OSTs with the MDS and everything came back fine. That being said, there was no data on the OSTs that I removed. I can''t say what might happen to the file system if there is. -----Original Message----- From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Mag Gam Sent: Monday, November 02, 2009 7:15 PM To: lustre-discuss at lists.lustre.org Subject: [Lustre-discuss] Removing OSTs Is it possible to remove a OST permanently on 1.8.x? _______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss
I wish they would really address this problem. We have many OSS which we simply don''t have anymore and it would be nice to remove all of them. On Tue, Nov 3, 2009 at 10:51 AM, Mervini, Joseph A <jamervi at sandia.gov> wrote:> It is possible but it''s painful and probably depends on the reason. I had a situation a while back where the script I was using to mkfs.lustre had the wrong fsname applied and as a result added the OST to the wrong lustre file system. > > After realizing my mistake I backed out and reformatted the OSTs with the right parameters. The problem was that file system still had those OSTs registered and produced lots of errors. I tried to fix it by doing things like deactivate the OSTs, etc., but nothing worked. My only option appeared to be to reformat the entire file system. However, since I had nothing to lose I tried and successfully used tunefs.lustre --writeconf on the OSTs and MDT to remove and re-registration the OSTs with the MDS and everything came back fine. > > That being said, there was no data on the OSTs that I removed. I can''t say what might happen to the file system if there is. > > -----Original Message----- > From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Mag Gam > Sent: Monday, November 02, 2009 7:15 PM > To: lustre-discuss at lists.lustre.org > Subject: [Lustre-discuss] Removing OSTs > > Is it possible to remove a OST permanently on 1.8.x? > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > >
On Tue, 2009-11-03 at 19:14 -0500, Mag Gam wrote:> I wish they would really address this problem. We have many OSS which > we simply don''t have anymore and it would be nice to remove all of > them.Of course we are not an unlimited resource and we have to make decisions about where we focus efforts. Certainly what you propose would be a nice-to-have, but it doesn''t really affect the functionality, reliability or stability of an installation. As such, it''s understandable that such an RFE does not get a very high priority. Lustre is open source and we always welcome patches. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20091104/9991649e/attachment.bin