Skip to content

ws_restore: Restore WS between filesystems #73

@URZ-HD

Description

@URZ-HD

Hi,
we are migrating users from one filesystem (work) to another (gpfs) and set the old system to

allocatable no
extendable no

and make the new filesystem the default one..

But some users have expired workspaces, which they want to restore and migrate to the new filesystem.
It looks like "ws_restore" is not able to do this because in every combination the workspace could be found:

> ws_list
id: perftest-beegfs
[...]
     filesystem name      : work
     available extensions : 10
id: acltest
[...]
     filesystem name      : gpfs
     available extensions : 10

> ws_restore -l
work:
hd_qq150-io500-1612449887
        unavailable since Thu Feb  4 15:44:47 2021
gpfs:

> ws_restore hd_qq150-io500-1612449887 acltest
you are human
Error: workspace does not exist.

> ws_restore -F work hd_qq150-io500-1612449887 acltest
you are human
Error: workspace does not exist.

> ws_restore -F gpfs hd_qq150-io500-1612449887 acltest
you are human
Error: workspace does not exist.

The restoration to the existing workspaces "perftest-beegfs", which is on the same filesystem works as expected.

I' not sure if this is a bug or a feature, because restoring between filesystems will be more than only a fast "mv".
But in both cases it is a real problem for users.

The only way to solve this was to enable the allocation of "work" temporarily.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions