Skip to content

Commit

Permalink
Merge pull request #516 from sac-urs/2.0.3
Browse files Browse the repository at this point in the history
Do not check for diskcount or stripesize for jbods
  • Loading branch information
devyanikota committed Sep 11, 2018
2 parents e13613a + dac257c commit ce14bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdeployfeatures/lv/lv.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_mount_data(section_dict, devices, vgnames):
# If RAID data is provided use it to set the stripe_width and
# stripe_unit_size from the config.
disktype = helpers.config_get_options('disktype', False)
if disktype:
if disktype and disktype[0].lower() != 'jbod':
sw = helpers.config_get_options('diskcount', True)
su = helpers.config_get_options('stripesize', False)
if not su:
Expand Down

0 comments on commit ce14bf8

Please sign in to comment.