[Lustre-discuss] Delete ost

Thomas Johansson thomasj at aland.net
Thu Nov 18 11:21:16 PST 2010


Thanks Wang,

> Hi,
>
> �� 2010-11-17������5:18�� Thomas Johansson ���
>
>> Hi all,
>>
>> I accidentally added an ost using an fsname belonging to another fs than
>> what was intended.
>
> I am not sure I understand - Do you have multiple filesystems sharing the
> same MGS?

Yes 5 filesystems on 4 OSS:s and 2 MDS in active/passive failover.
Some 100 TB of space in total.

> What exactly are the steps that you use an OST for another filesystem?

The steps ?
We need to keep them separate, for some reasons.

>
>> I have deactivated it on both mds and clients. Now I would like to erase
>> all tracks of it and
>> reformat the ost.
>> As far as I can see the only option is to deactivate it, thus preventing
>> further use of it.
>> How can I completely delete it ?
>> I guess rm -rf /proc/fs/lustre/osc/fs-OST0004-osc/ is not an option.
>
> To remove an OST, first you need to deactiviate (temporarily)
> corresponding osc device on your MDT, then move out files that have
> objects on that OST to a different dir, then permanently deactivate the
> OST using "lctl conf_param".

The deactivation part has already been done, on all parts.
As this was a mistake, I simply want the presence of the ost/osc out,
not ever showing up again. Now it's showing up as INACTIVE as a part
of the filesystem I mistakingly added it to.
As it seems, this can't be done. Or can it?

BR
ThomasJ
>
>>
>> Thanks,
>> ThomasJ
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>
>





More information about the lustre-discuss mailing list