PowerScale: Isilon: OneFS or node firmware assessments fail due to being a target path for SyncIQ with writes-disabled.
Summary: When performing a node firmware assessment, the isi_upgrade_logs --get-fw-report command fails due to the directory /ifs/data/Isilon_Support/upgrade_error/logs having writes disabled by target SyncIQ policies. ...
Symptoms
Isilon-1# isi_upgrade_logs --get-fw-report Warn : Failed to Create Directory [/ifs/data/Isilon_Support/upgrade_errors_logs] with error number[30] "Read-only file system" : File Name : /b/mnt/src/isilon/lib/isi_upgrade/Util.cpp : Line Number : 379 Unable to open or extract the file UpgradeLog-1.db from archive: UpgradeArchive-2021-12-23T11:49:19.381Z-2021-12-23T11:51:15.854Z
Example of OneFS assessment failure:
Isilon-1# isi_upgrade_logs -a Assessment Errors found, Attempting to find and extract logs from archive Warn : Failed to Create Directory [/ifs/data/Isilon_Support/upgrade_errors_logs] with error number[30] "Read-only file system" : File Name : /b/mnt/src/isilon/lib/isi_upgrade/Util.cpp : Line Number : 420 Unable to open or extract the file UpgradeLog-5.db from archive
Cause
isi_upgrade_logs command attempts to extract details to /ifs/data/Isilon_Support/upgrade_errors/logs but fails to do so due to the directory being read-only/writes-disabled as it is a target path for an incoming SyncIQ policy.Resolution
To be able to use isi_upgrade_logs to review the OneFS upgrade assessment or node firmware assessment results, temporarily allow writes for the SyncIQ policy which has writes-disabled for one of the sub directories to /ifs/data/Isilon_Support/upgrade_errors.
1. Check for incoming SyncIQ policies have writes disabled:
# isi sync target list
From the list of policies, identify which policy has a subdirectory of /ifs/data/Isilon_Support/upgrade_errors as a target path, typically the path found is /ifs/data/. If there are no SyncIQ policies with one of the subdirectories as its target path, this issue may not apply and further review in to why the directory is read-only should be done.
2. Temporarily enable writes in /ifs/data/ by running the following where <policy-name> is the SyncIQ policy identified in step 1:
# isi sync recovery allow-write <policy-name>
3. Get the assessment details:
- OneFS upgrade assessment command:
# isi_upgrade_logs -a
- Node firmware assessment command:
# isi_upgrade_logs --get-fw-report
4. After reviewing the results, revert the allow-write policy change, where <policy-name> is the SyncIQ policy identified in step 1:
# isi sync recovery allow-write <policy-name> --revert