172
Copyright © 2011-2019 by Highly Reliable Systems, Inc. All rights reserved.
•
degraded
– indicates the RAID is degraded.
•
active/notactive
– indicates if the RAID is active or not.
•
faulty/notfaulty
– indicates if the RAID has a faulty disk or not.
In addition to the flag files for each disk and RAID, there are disk flag files for all disks installed in the
NetSwap/RAIDFrame Plus. The flag files are named NETSWAP-DISKS.<flag name>. The flags are:
•
faulty/notfaulty
– indicates if the any of the disks has been marked faulty or not.
•
spacelow/notspacelow
– indicates if any of the disks are low on space or not.
•
smartna/notsmartna
– indicates if the SMART information for any disk is not available or is
available
•
smartprefail/notsmartprefail
– indicates if any of the disks has a SMART PREFAIL condition
or not.
•
smartfailing/notsmartfailing
– indicates if any of the disks has a SMART FAILING condition
or not.
•
smartok/notsmartok
– indicates if any of the disks has a SMART OK condition or not.
•
deltasyncfailed/notdeltasyncfailed
– indicates if any of the disks has a DeltaSync failure or
not.
The flag files can be accessed through the HTTP protocol using the GET method using a URL of the
form:
http://<NetSwap/RAIDFrame Plus ip>/status/disks/<file name>
Examples:
To check if DISK-3350 is shared on the NetSwap/RAIDFrame Plus on ip 192.168.1.50 one would use
the following URL to check for the existence of the flag file:
http://192.168.1.50/status/disks/DISK-3350.shared
To check if MIRROR-DISK-0 is degraded on the NetSwap/RAIDFrame Plus on ip 192.168.1.50 one
would use the following URL to check for the existence of the flag file:
http://192.168.1.50/status/disks/MIRROR-DISK-0.degraded
All disk and RAID flag files may be viewed using a web browser using a URL of the form:
http://<NetSwap/RAIDFrame Plus ip>/status/disks
8.1.5 Replication Job Flag Files
The flag files are simple text files that “flag” or indicate a specific status of a Replicatoin job. The
name of a flag file consists of the Replication job name followed by a '.' and the flag name as follows:
<job name>.<flag name>. The contents of the flag file are simply the flag name itself in lower case.
The Replication job flags are:
•
canceled/notcanceled
– indicates if the job has been canceled or not.
•
neverrun/notneverrun
– indicates if the job has never been run or not.
•
success/notsuccess
– indicates if the job was run successfully nor not.