APAR status
Closed as program error.
Error description
mmvdisk filesystem create does not pass the AFM -p option correctly mmvdisk filesystem create --file-system testfs [à] --mmcrfs /gpfs/testfs -p afmMode=RO,afmTarget=gpfs:///gpfs/testfs_src/ Error message: mmvdisk: Creating file system 'testfs'. mmvdisk: (mmcrfs) Incorrect option: -p afmMode There is an issue in mmvdisk when process '--mmcrfs'. It processes two option model: --opt value and --opt=value. Because the option value of '-p' includes '=', mmvdisk splits its value 'afmMode=RO,afmTarget=gpfs:///gpfs/testfs_src/ ' into two parts 'afmMode' and 'RO,afmTarget=gpfs:///gpfs/testfs_src/' by mistake. That why mmcrfs reports Incorrect option: -p afmMode'. Reported in: 5.1.6
Local fix
Use the format "-p=afmMode=..." to overcome the issue for now.
Problem summary
There is a bug in mmvdisk when process '--mmcrfs'. It processes two option model: --opt value and --opt=value. An argument like the following will reproduce the issue: "afmMode=RO,afmTarget=gpfs:///gpfs/ssoft_src/" Because the option value of '-p' includes '=', mmvdisk splits its value 'afmMode=RO,afmTarget=gpfs:///gpfs/ssoft_src/ ' into two parts 'afmMode' and 'RO,afmTarget=gpfs:///gpfs/ssoft_src/' by mistake.That why mmcrfs reports Incorrect option: -p afmMode'.
Problem conclusion
This problem is fixed in 5.1.9.7 To see all Spectrum Scale APARs and their respective Fix solutions refer to page: https://public.dhe.ibm.com/storage/spectrumscale/spectrum_scale _apars.html Benefits of the solution: The fix provided solves the code bug described previously and handles the command options properly. Work around: Apply the following patch to filesystem.py diff --git a/ts/appadmin/vdisk/filesystem.py b/ts/appadmin/vdisk/filesystem.py index aa0822e..a6a7aa8 100755 --- a/ts/appadmin/vdisk/filesystem.py +++ b/ts/appadmin/vdisk/filesystem.py @@ -787,7 +787,7 @@ fs_option[:2] in ['-M', '-m', '-R', '-r', '-j', '-B']: tmp_arg_fsoptions.append(fs_option[:2]) tmp_arg_fsoptions.append(fs_option[2:]) - elif '=' in fs_option: + elif fs_option[0] == '-' and '=' in fs_option: idx = fs_option.find('=') tmp_arg_fsoptions.append(fs_option[:idx]) tmp_arg_fsoptions.append(fs_option[idx+1:]) Problem trigger: An argument containing one or several "=" characters for option "--mmcrfs" Symptom: Error output/message Platforms affected: ALL Operating System environments Functional Area affected: mmvdisk Customer Impact: High Importance
Temporary fix
Comments
APAR Information
APAR number
IJ53186
Reported component name
SPEC SCALE DME
Reported component ID
5737F34AP
Reported release
516
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-12-16
Closed date
2024-12-17
Last modified date
2024-12-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SPEC SCALE DME
Fixed component ID
5737F34AP
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"STXKQY"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"516","Line of Business":{"code":"LOB69","label":"Storage TPS"}}]
Document Information
Modified date:
18 December 2024