From 2d3f3297b575f88662495e14a7c7324ff73b6bfc Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 19 Sep 2023 21:36:55 -0500 Subject: op-mode: raid: T5608: define add/delete raid member --- op-mode-definitions/raid.xml.in | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 op-mode-definitions/raid.xml.in (limited to 'op-mode-definitions/raid.xml.in') diff --git a/op-mode-definitions/raid.xml.in b/op-mode-definitions/raid.xml.in new file mode 100644 index 000000000..5d0c9ef3d --- /dev/null +++ b/op-mode-definitions/raid.xml.in @@ -0,0 +1,69 @@ + + + + + + + Add a RAID set element + + + + + + + + Add a member by disk id to a RAID set + + + + + Add a member to a RAID set + + sudo ${vyos_op_scripts_dir}/raid.py add --raid-set-name $3 --by-id --member $6 + + + + + + Add a member to a RAID set + + sudo ${vyos_op_scripts_dir}/raid.py add --raid-set-name $3 --member $5 + + + + + + + + + + Add a RAID set element + + + + + + + + Add a member by disk id to a RAID set + + + + + Add a member to a RAID set + + sudo ${vyos_op_scripts_dir}/raid.py delete --raid-set-name $3 --by-id --member $6 + + + + + + Add a member to a RAID set + + sudo ${vyos_op_scripts_dir}/raid.py delete --raid-set-name $3 --member $5 + + + + + + -- cgit v1.2.3