Isilon : La tâche SyncIQ échoue avec le message « SyncIQ n’a pas réussi à prendre un snapshot sur le cluster source. Snapshots initialization error »
Summary: La tâche SyncIQ échoue avec le message « SyncIQ n’a pas réussi à prendre un snapshot sur le cluster source. Erreur d’initialisation des snapshots. »
Symptoms
Problème
Une règle SyncIQ échoue dans les cinq premières minutes suivant le démarrage avec une erreur Snapshots initialization error.
Symptômes
Une règle SyncIQ échoue presque immédiatement et une alerte similaire à celle-ci s’affiche :
policy name: TestSnapshots target: 192.168.117.200) SyncIQ failed to take a snapshot on source cluster. Snapshots initialization error
Les éléments suivants sont consignés dans /var/log/messages sur le nœud coordinateur :
2015-07-02T10:52:47-06:00 <0.3> maw-1(id1) /boot/kernel.amd64/kernel: [bam_snapshot.c:1487](pid 5271="isi_migrate")(tid=100646) Failing snap_create. Non-head file to snapshot 4 2015-07-02T10:52:47-06:00 <3.3> maw-1(id1) isi_migrate[5271]: coord[TestSnapshots:1435855951]: Can't create new snapshot (SIQ-d132211dc41614d7332515911c21d1cf-new): snapshot create failed: Invalid argument 2015-07-02T10:52:47-06:00 <3.3> maw-1(id1) isi_migrate[5271]: coord[TestSnapshots:1435855951]: siq_create_alert: type: 12 (policy name: TestSnapshots target: 192.168.117.200) SyncIQ failed to take a snapshot on source cluster. Snapshots initialization error 2015-07-02T10:52:47-06:00 <3.2> maw-1(id1) isi_migrate[5271]: coord[TestSnapshots:1435855951]: (policy name: TestSnapshots target: 192.168.117.200) SyncIQ failed to take a snapshot on source cluster. Snapshots initialization error 2015-07-02T10:52:47-06:00 <3.2> maw-1(id1) isi_migrate[5271]: Exiting on ilog(IL_FATAL)
Cause
Cause
Le répertoire racine source défini dans la règle SyncIQ est défini dans /ifs/.snapshot. Cette configuration n’est pas prise en charge.
Vérifiez si le problème est résolu.
Dans la règle SyncIQ, le répertoire racine source est défini sur un chemin de répertoire /ifs/.snapshot/. Par exemple :
maw-1# isi sync policies view TestSnapshots
ID: d132211dc41614d7332515911c21d1cf
Name: TestSnapshots
Path: /ifs/.snapshot/testSnap2/data/SyncIQTesting
Action: copy
Enabled: Yes
Target: 192.168.117.200
Description: Testing the ability to make a copy SyncIQ policy of /ifs/.snapshot/etc files
Check Integrity: Yes
Target Path: /ifs/data
Target Snapshot Archive: No
Target Snapshot Pattern: SIQ_%{SrcCluster}_%{PolicyName}_%Y-%m-%d_%H-%M
Target Snapshot Expiration: Never
Target Snapshot Alias: SIQ_%{SrcCluster}_%{PolicyName}
Target Detect Modifications: Yes
Source Snapshot Archive: No
Source Snapshot Pattern:
Source Snapshot Expiration: Never
Schedule: Manually scheduled
Log Level: notice
Log Removed Files: No
Workers Per Node: 3
Disable File Split: No
Changelist creation enabled: No
Resolve: -
Last Job State: failed
Last Started: 2015-07-02T10:52:31
Last Success: -
/var/log/messages signale les erreurs suivantes :
2015-07-02T10:52:47-06:00 <0.3> maw-1(id1) /boot/kernel.amd64/kernel: [bam_snapshot.c:1487](pid 5271="isi_migrate")(tid=100646) Failing snap_create. Non-head file to snapshot 4 2015-07-02T10:52:47-06:00 <3.3> maw-1(id1) isi_migrate[5271]: coord[TestSnapshots:1435855951]: Can't create new snapshot (SIQ-d132211dc41614d7332515911c21d1cf-new): snapshot create failed: Invalid argument
Resolution
Additional Information
Remarque : le message d’erreur «Failing snap_create. Non-head file to snapshot.« Il n’est pas possible de créer un snapshot d’un snapshot, c’est pourquoi la politique échoue.