Skip to content

Commit d42a8d2

Browse files
committed
As requested in #2, PDperArray set to 1 (by default) on raid type 00
1 parent c7febfb commit d42a8d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pystorcli2/controller.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ def create_vd(self, name: str, raid: str, drives: str, strip: str = '64', PDperA
314314

315315
PDperArray = numDrives//2
316316

317+
if raid == '00' and PDperArray is None:
318+
PDperArray = 1
319+
317320
if PDperArray is not None:
318321
args.append('PDperArray={0}'.format(PDperArray))
319322

0 commit comments

Comments
 (0)