Storage Redundancy & Failover
LRS · ZRS · GRS · GZRS · read access · changing redundancy · customer-managed failover
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Redundancy options
| Option | Copies | Survives | Durability | Read from secondary? |
|---|---|---|---|---|
| LRS | 3 in one datacenter | Drive, server or rack failure | 11 nines | No secondary |
| ZRS | Synchronous across 3+ availability zones | Loss of a zone (datacenter); reads and writes continue | 12 nines | No secondary |
| GRS | LRS in the primary + asynchronous LRS copy in the paired region | Loss of the primary region (after failover) | 16 nines | Only after failover |
| GZRS | ZRS in the primary + asynchronous LRS copy in the paired region | Zone loss and region loss | 16 nines | Only after failover |
| RA-GRS / RA-GZRS | As GRS / GZRS | As GRS / GZRS | 16 nines | Yes, any time, from <account>-secondary |
Redundancy protects against hardware and site failure, not against deletes or overwrites: those are copied to every replica. Use soft delete or backup for that.
What supports what
- Geo options (GRS, GZRS and RA-) are for standard general-purpose v2 (and legacy v1 and Blob Storage accounts). Premium block blob and premium file share accounts support LRS and ZRS only.
- Azure Files supports LRS, ZRS, GRS and GZRS, but not RA-GRS or RA-GZRS. Microsoft recommends ZRS for Azure Files.
- Managed disks support LRS and ZRS only. Unmanaged disks don't support ZRS or GZRS.
- Archive tier isn't supported on ZRS, GZRS or RA-GZRS accounts.
- The secondary region is fixed: it's the primary's paired region and can't be chosen or changed.
- The secondary endpoint is the account name plus
-secondary(for examplecontoso-secondary.blob.core.windows.net) and uses the same access keys. - Geo-replication is asynchronous, so a regional failover can lose recent writes. Geo priority replication targets an RPO of 15 minutes or less for block blobs.
- Read availability SLA: at least 99.9% for LRS, ZRS, GRS and GZRS; at least 99.99% for RA-GRS and RA-GZRS (lower for cool, cold and archive).
Changing redundancy
| Change | How | Timing |
|---|---|---|
| Add or remove geo-replication or read access (LRS ↔ GRS ↔ RA-GRS) | SKU change: portal Data management › Redundancy, or az storage account update --sku | No conversion request. Failover can't start until the initial sync finishes |
| Add or remove zone redundancy (LRS ↔ ZRS, GRS ↔ GZRS) | Conversion: portal, or az storage account migration start | Typically starts within 72 hours; no completion SLA; no downtime or data loss |
| Change both zone and geo (LRS → GZRS) | Two separate steps, in either order: LRS → GRS → GZRS, or LRS → ZRS → GZRS | Wait at least 24 hours after a zone conversion before the next change |
| Different region, premium block blob account, a fixed deadline, or archive data you won't rehydrate | Manual migration: create a new account and copy the data | You control it |
- Conversion to ZRS or GZRS fails while boot diagnostics uses the account: disable it and resubmit.
- Conversion isn't supported with NFSv3 enabled on Blob, or with NFSv4.1 file shares on a public endpoint (disable the public endpoint first).
- An LRS account that resulted from a failover can't be converted to ZRS or GZRS; migrate manually.
- Rehydrate archived blobs before switching LRS to GRS or RA-GRS.
- Removing read access (RA-GRS → GRS) is still billed as RA-GRS for 30 days.
- Endpoints, access keys and SAS tokens don't change when redundancy changes.
Customer-managed failover
| Planned failover | Unplanned failover | |
|---|---|---|
| Use when | DR testing, or primary is up but something else blocks workloads | Primary endpoints are down and the secondary is up |
| Data loss | None expected: waits until data is synced | Expected: anything written after the Last Sync Time |
| Redundancy afterwards | Regions swap; geo-redundancy kept (GZRS becomes GRS until failback) | Account becomes LRS in the new primary; the old primary copy is deleted; re-enable geo-redundancy yourself |
| Needs | Account available in both regions | Geo-redundant account with initial sync complete |
- Portal: storage account › Data management › Redundancy › Prepare for customer-managed failover, choose planned or unplanned, type yes. CLI:
az storage account failover --failover-type planned|unplanned. Failover typically takes under an hour. - Check Last Sync Time first (
az storage account show --expand geoReplicationStats) to estimate data loss. - Not supported for customer-managed failover: Azure File Sync cloud endpoints, premium block blob accounts, accounts that are an object replication source or destination, and NFSv3. Change feed, object replication and point-in-time restore block a planned failover.
- GZRS and RA-GZRS failover works on general-purpose v2 only. Stop file share clients before failing over an account with file shares.
- Failover is a temporary disaster-recovery step, not a way to move an account to another region. VMs don't fail over with the storage.
- Microsoft-managed failover is only for a whole-region disaster; Microsoft says not to rely on it.
Exam Tips
Tick each tip once you can answer it without looking.
“Survive a zone failure; data must stay in one region” → ZRS. Trap: GRS copies to another region; LRS stays in one datacenter.
“Read from the secondary region during a primary outage, without failing over” → RA-GRS or RA-GZRS. Trap: the GRS and GZRS secondary isn't readable until failover.
“Geo-redundant Azure file share with read access to the secondary” → Not possible: Azure Files has no RA- options. Trap: picking RA-GRS.
“Premium block blob or premium file share account: which redundancy?” → LRS or ZRS only. Trap: GRS needs standard general-purpose v2.
“Change LRS to GZRS” → Two steps: add geo and add zones separately (either order). Trap: one change can't do both.
“LRS to ZRS must finish by a fixed date” → Manual migration (new account, copy data). Trap: a conversion has no completion SLA.
“Account holds archive-tier blobs; change it to ZRS” → Archive isn't supported on ZRS or GZRS: move or rehydrate them first.
“LRS to ZRS conversion fails; boot diagnostics uses the account” → Disable boot diagnostics and resubmit.
“Redundancy after an unplanned customer-managed failover” → LRS in the new primary; re-enable geo-redundancy. Trap: it stays GRS.
“Fail over with no data loss and keep geo-redundancy” → Planned failover. Trap: unplanned failover loses unsynced data and leaves the account LRS.
“Estimate data loss before an unplanned failover” → Check the Last Sync Time.
“Planned failover on an account with change feed, object replication or point-in-time restore” → Not supported; only unplanned failover is.
“Pick a different secondary region for GRS” → Not possible: it's the paired region. Trap: to change region, migrate manually.
“Secondary endpoint for account contoso” → contoso-secondary.blob.core.windows.net, same keys.
“Account was failed over and is now LRS; convert it to ZRS” → Not supported; migrate manually.
“Remove read access from RA-GRS” → Billed as RA-GRS for another 30 days.
“Restore a blob someone deleted, on a GZRS account” → Soft delete or backup. Trap: redundancy copies the delete to every replica.
Sources
- Azure Storage redundancy
- Change how a storage account is replicated
- Disaster recovery planning and failover
- Initiate a storage account failover
- How customer-managed (unplanned) failover works
Checked against Microsoft Learn on November 13, 2026.