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
Line 1: Line 1:
= ws_extend - Extend Workspace Lifetime =
= ws_extend - Extend Workspace Lifetime =


== Basic Usage ==
Beyond the basic extension shown in the main [[Workspaces/Extend|Extend guide]]:


$ ws_extend myWs 30 # Extend by 30 days from now
== Options ==


'''Alternative:'''
* <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


$ ws_allocate -x myWs 30 # Same result
== Group Workspace Extensions ==


'''Important:''' Each extension consumes one of your available extensions. See [[Workspaces/Advanced_Features/Quotas|Cluster-Specific Workspace Limits]].
Group members can extend group-writable workspaces (requires group write access <tt>ws_allocate -G</tt>):


== Extend Group Workspace ==
$ ws_allocate -x -u <username> <workspace_id> <days>


{| class="wikitable"
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.
|-
!style="width:40%" | Works on cluster
!style="width:10%" | bwUC 3.0
!style="width:10%" | BinAC2
!style="width:10%" | Helix
!style="width:10%" | JUSTUS 2
!style="width:10%" | NEMO2
|-
|<tt>ws_allocate -x -u</tt> (extend other user's workspace)
| style="text-align:center;" |
| style="text-align:center;" |
| style="text-align:center;" |
| style="text-align:center;" |
|style="background-color:#90EE90; text-align:center;" | ✓
|}


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


This extends Alice's workspace <tt>projectWs</tt> by 30 days.
Useful when the workspace owner is unavailable.


== 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>

Revision as of 16:40, 2 December 2025

ws_extend - Extend Workspace Lifetime

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

Works on cluster bwUC 3.0 BinAC2 Helix JUSTUS 2 NEMO2
ws_allocate -x -u (extend other user's 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.

Options

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

For more information: ws_extend -h or man ws_extend