You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In maas-commissioning-scripts/wipe-all-disks-destructive.sh line 11: find /dev -maxdepth 1 -type b -regextype "posix-extended" -regex '.*/(sd[a-z]$|nvme[0-9]n[0-9])$'|xargs -rn1 -P1 bash -c '
The regex selector (sd[a-z]$|nvme[0-9]n[0-9])$ may not enough on some large capacity machines.
e.g. For our storage server it is possible that there are more than 26 SAS/SATA disks or 10 NVMe devices or namespaces on one machine.
I suggest to extend the regex pattern by adding +. For example: (sd[a-z]+$|nvme[0-9]+n[0-9]+)$.
The text was updated successfully, but these errors were encountered:
In maas-commissioning-scripts/wipe-all-disks-destructive.sh line 11:
find /dev -maxdepth 1 -type b -regextype "posix-extended" -regex '.*/(sd[a-z]$|nvme[0-9]n[0-9])$'|xargs -rn1 -P1 bash -c '
The regex selector
(sd[a-z]$|nvme[0-9]n[0-9])$
may not enough on some large capacity machines.e.g. For our storage server it is possible that there are more than 26 SAS/SATA disks or 10 NVMe devices or namespaces on one machine.
I suggest to extend the regex pattern by adding
+
. For example:(sd[a-z]+$|nvme[0-9]+n[0-9]+)$
.The text was updated successfully, but these errors were encountered: