Workspaces/Advanced Features/ws extend: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
(Created page with "= ws_extend - Extend Workspace Lifetime = Beyond the basic extension shown in the main Extend guide: == Options == * <tt>-F filesystem</tt> - Extend workspace on specific filesystem * <tt>ws_allocate -x</tt> - Alternative command for extension * You can shorten workspace lifetime even if no extensions are available == Group Workspace Extensions == Group members can extend group-writable workspaces (requires group write access <tt>ws_allocate -G...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= ws_extend - Extend Workspace Lifetime =
= ws_extend - Extend Workspace Lifetime =


Extend the lifetime of an existing workspace before it expires.
Beyond the basic extension shown in the main [[Workspaces/Extend|Extend guide]]:


== Options ==
== Basic Usage ==


$ ws_extend myWs 30 # Extend by 30 days from now
* <tt>-F filesystem</tt> - Extend workspace on specific filesystem
* <tt>ws_allocate -x</tt> - Alternative command for extension
* You can shorten workspace lifetime even if no extensions are available


'''Alternative:'''
== Group Workspace Extensions ==


$ ws_allocate -x myWs 30 # Same result
Group members can extend group-writable workspaces (requires group write access <tt>ws_allocate -G</tt>):


'''Important:''' Each extension consumes one of your available extensions. See [[Workspaces/Advanced_Features/Quotas|Cluster-Specific Workspace Limits]].
$ ws_allocate -x -u <username> <workspace_id> <days>


== Extend Group Workspace ==
Replace <tt><username></tt> with the workspace owner's username. This is useful when the workspace owner is unavailable and the workspace needs to be extended.


Group members can extend group-writable workspaces (created with <tt>-G</tt>):
'''Example:'''


$ ws_allocate -x -u alice projectWs 30
$ ws_allocate -x -u alice projectWs 30 # Extend Alice's workspace by 30 days


Useful when the workspace owner is unavailable. May not work on all clusters.
This extends Alice's workspace <tt>projectWs</tt> by 30 days.


== Notes ==
== Options ==


* <tt>-F <filesystem></tt> - Extend workspace on specific filesystem
* Each extension consumes one of your available extensions (see [[Workspaces/Advanced_Features/Quotas|Cluster-Specific Workspace Limits]])
* The <tt>-u</tt> option is only available on some clusters (see cluster compatibility table in advanced [[Workspaces/Advanced_Features/ws_allocate|ws_allocate guide]])


For more information: <tt>$ ws_extend -h</tt> or <tt>man ws_extend</tt>
For more information: <tt>ws_extend -h</tt> or <tt>man ws_extend</tt>

Latest revision as of 16:58, 2 December 2025

ws_extend - Extend Workspace Lifetime

Extend the lifetime of an existing workspace before it expires.

Basic Usage

  $ ws_extend myWs 30                      # Extend by 30 days from now

Alternative:

  $ ws_allocate -x myWs 30                 # Same result

Important: Each extension consumes one of your available extensions. See Cluster-Specific Workspace Limits.

Extend Group Workspace

Group members can extend group-writable workspaces (created with -G):

  $ ws_allocate -x -u alice projectWs 30   # Extend Alice's workspace by 30 days

Useful when the workspace owner is unavailable. May not work on all clusters.

Options

  • -F <filesystem> - Extend workspace on specific filesystem

For more information: ws_extend -h or man ws_extend