On Thu, 2017-06-01 at 11:23:51 +0200, Jan Behrend wrote:
> On Tue, 2017-05-30 at 06:05 -0700, bourdin.kis via beegfs-user wrote:
> > I can't speak for the BeeGFS team, but as a user I would propose you to make a
> > list of "preferred" storage targets that contains all storage targets from all
> > nodes but does not include the node that you want to empty and remove (see
> > "tunePreferredStorageFile" option in "beegfs-client.conf"). Then, you simply
> > repeat the process of target migration in case new files (or stripes/chunks)
> > have been added meanwhile. Once the storage target is emtpy, just be fast
> > enough to remove it... ;-)
>
> I think this is too dangerous since the "tunePreferredStorageFile" is only a
> "suggestion" for beeGFS not to use the target. When it needs the target badly
> it'll write to it anyway and the manual clearly states that this could result it
> data loss/corruption ... Like Hermes said: "You don't want that."
Have you considered "echo 0 > free_space.override" on the discouraged target(s)?
This will set the target to read-only for new object creation, but will still
allow deletion. I think this is close to what you need?
> > Otherwise, I would propose to the developers to introduce a new target-ID list
> > that marks targets as read-only, e.g. "tuneReadOnlyStorageFile".
>
> @developers :) Is this an option?
>
> Any other feasable way to do this with the existing code?
- S
--
Steffen Grunewald, Cluster Administrator
Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
Am Mühlenberg 1
D-14476 Potsdam-Golm
Germany
~~~
Fon:
+49-331-567 7274
Fax:
+49-331-567 7298
Mail: steffen.grunewald(at)
aei.mpg.de
~~~