Skip to content

Commit

Permalink
As requested in #2, PDperArray set to 1 (by default) on raid type 00
Browse files Browse the repository at this point in the history
  • Loading branch information
ralequi committed Mar 28, 2023
1 parent c7febfb commit d42a8d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pystorcli2/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ def create_vd(self, name: str, raid: str, drives: str, strip: str = '64', PDperA

PDperArray = numDrives//2

if raid == '00' and PDperArray is None:
PDperArray = 1

if PDperArray is not None:
args.append('PDperArray={0}'.format(PDperArray))

Expand Down

0 comments on commit d42a8d2

Please sign in to comment.