Skip to content

Instantly share code, notes, and snippets.

@candlerb
Created January 26, 2021 14:27
Show Gist options
  • Save candlerb/3162ece0869373a65862abe4c897fee2 to your computer and use it in GitHub Desktop.
Save candlerb/3162ece0869373a65862abe4c897fee2 to your computer and use it in GitHub Desktop.
linstor remove replica
root@node1:~# linstor resource toggle-disk node1 my_ssd_res --diskless
SUCCESS:
...
root@node1:~# linstor resource list
╭─────────────────────────────────────────────────────────────────────────────────────────╮
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊
╞═════════════════════════════════════════════════════════════════════════════════════════╡
┊ my_ssd_res ┊ node1 ┊ 7000 ┊ Unused ┊ Ok ┊ Diskless ┊ 2020-11-04 12:26:50 ┊
┊ my_ssd_res ┊ node2 ┊ 7000 ┊ Unused ┊ Ok ┊ UpToDate ┊ 2020-11-04 12:26:50 ┊
┊ my_ssd_res ┊ node3 ┊ 7000 ┊ Unused ┊ Ok ┊ SyncTarget(43.95%) ┊ 2020-11-04 12:26:50 ┊
┊ my_ssd_res ┊ node4 ┊ 7000 ┊ Unused ┊ Ok ┊ Diskless ┊ 2020-11-04 12:46:37 ┊
╰─────────────────────────────────────────────────────────────────────────────────────────╯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment