How To Clean Up A Software RAID After Breaking the Mirror In NSSMU

  • 3776107
  • 21-Oct-2006
  • 27-Apr-2012

Environment

Novell NetWare 6.0
Novell NetWare 6.5

Situation

MIRROR STATUS command shows "Mirror object 0x20 is not mirrored" (the 20 could be any 2-digit hex number)
Output from PARTFIX.NLM shows a mirrored partition with only 1 element
RAID Devices in NSSMU shows a RAID Status of 100% Remirrored with only one RAID Segment

Resolution

The following instructions assume that the mirror has already been broken, and that there is only one element in the RAID.  The instructions are slightly different with a standalone server and a server in a cluster with shared storage:
 
Standalone Server:
load partfix /m (removing single element mirrors)
reset server
 
Cluster Server:
cluster down
down all but one cluster server
On the remaining server, execute ULDNCS.NCF and make sure all cluster modules are unloaded
load partfix /m
reset server
 
In some cases, the RAID information is cached in the server's memory and gets rewritten to the partition header, so if the server comes back up and still has single element mirrors, perform the following steps:
 
Standalone Server:
deactivate all pools
load partfix /m (removing single element mirrors)
turn the power off to the server (do not use down, reboot, restart server, or reset server)
turn the power on
 
Cluster Server:
cluster down
down all but one cluster server
On the remaining server, execute ULDNCS.NCF and make sure all cluster modules are unloaded
load partfix /m
turn the off power to the remaining server (do not use down, reboot, restart server, or reset server)
turn the power on, and bring the servers back up, allowing them to join the cluster

Additional Information

NSS software RAID definitions are stored in the partition header for each of the partitions that are part of the mirror set.  Breaking a mirror does not eliminate these definitions, but modifies the definition to reflect that there is only one remaining RAID element.  Executing PARTFIX /M invalidates the RAID defination information in the partition header, but the server must be restarted to remove the RAID information from the server's cache.