Hierarchical storage management (HSM) is a data storage technique that automatically moves data between fast, expensive storage and slow, cheap storage based on how often the data is accessed. You set policies for age, size, or access frequency, and the system migrates files to the appropriate tier without changing how users or applications see them. This article explains the tiers, the migration process, the benefits, and the trade-offs you need to know before adopting HSM.
Formula
The calculator estimates monthly storage cost when a fraction of your data is on a fast tier and the rest on a slow tier. The formula is:
Monthly cost = (Data size × Access frequency/1000 × Fast cost) + (Data size × (1 − Access frequency/1000) × Slow cost)
Where:
- Data size (GB) – total amount of data you manage.
- Access frequency (accesses/month) – how many times per month the data is read or written. The calculator assumes that if a file is accessed 1000 times per month, it is “hot� and should be on the fast tier; lower frequencies mean more data can be on the slow tier.
- Fast cost (USD/GB) – price per GB on the fast tier (e.g., SSD).
- Slow cost (USD/GB) – price per GB on the slow tier (e.g., tape or cold object storage).
The savings percentage compares the blended cost to keeping everything on the fast tier.
Worked Example
Using the default values: 100 GB of data, 10 accesses per month, $0.10/GB fast, $0.02/GB slow.
- Fraction on fast tier = 10/1000 = 0.01 (1%).
- Fraction on slow tier = 1 − 0.01 = 0.99 (99%).
- Fast tier cost = 100 × 0.01 × 0.10 = $0.10.
- Slow tier cost = 100 × 0.99 × 0.02 = $1.98.
- Total monthly cost = $0.10 + $1.98 = $2.08.
- All-fast cost = 100 × 0.10 = $10.00.
- Savings = (1 − 2.08/10.00) × 100 = 79.2%.
The calculator shows $2.08 and 79.2%, matching the steps above.
What Is Hierarchical Storage Management?
HSM is a policy-based system that creates a hierarchy of storage tiers, typically three or four levels. The top tier is high-performance storage like NVMe SSDs or enterprise SAS drives. The middle tier is often nearline SATA drives or lower-cost SSDs. The bottom tier is tape libraries, optical discs, or cloud object storage that costs pennies per GB but has slower access times.
The system tracks file metadata—last access time, file size, owner, and project—and applies rules you define. For example, a rule might say: “Move files older than 30 days to the nearline tier, and files older than 180 days to tape.� The migration happens in the background, usually during off-peak hours, and does not require user intervention.
A key feature is transparent recall. When a user opens a file that has been migrated to a lower tier, the HSM system automatically retrieves it from the slow tier and places it back on the fast tier (or streams it directly). The user sees the same file path and name; they do not need to know where the data physically resides. This transparency is what distinguishes HSM from simple archiving tools.
How HSM Works: The Migration Process
HSM software runs on a server or as part of a file system. It scans the file system periodically and compares each file’s attributes against your policies. The process has three main stages:
- Policy evaluation – The HSM daemon reads the policy rules (e.g., “age > 90 days� or “size > 10 GB� or “last access > 365 days�).
- Migration – Files that meet the criteria are copied to the target tier. After a successful copy, the original file is replaced with a stub (a small placeholder that contains only metadata and a pointer to the real location). The stub takes up almost no space on the fast tier.
- Recall – When a user or application opens a stub, the HSM client intercepts the request, fetches the data from the slow tier, and either returns it directly or copies it back to the fast tier. The recall delay depends on the tier: minutes for tape, seconds for cloud.
Some HSM systems also support prefetching, where they predict which files will be needed soon (e.g., all files in a project folder) and recall them in advance.
Real-World Tiers and Examples
Typical HSM deployments use three or four tiers:
- Tier 0 (optional) – Memory or NVMe for active databases.
- Tier 1 – SSD or 15K RPM SAS for frequently accessed files.
- Tier 2 – 7.2K SATA or cloud standard storage for weekly/monthly access.
- Tier 3 – Tape LTO or cloud archive (Glacier, Coldline) for compliance and backup.
For example, a research institute with 2 PB of imaging data might keep the most recent year on SSD (200 TB), the previous four years on SATA (800 TB), and everything older on tape (1 PB). The HSM policy might be: “Files not accessed in 90 days move to SATA; files not accessed in 2 years move to tape.�
Benefits and Trade-offs
The main benefit is cost. Tape costs about $0.01–0.02 per GB, while enterprise SSD costs $0.10–0.30 per GB. Moving 90% of your data to tape can cut storage costs by 70–90%. Other benefits include:
- Unlimited logical capacity – the fast tier only holds stubs, so you can have a petabyte of data on a 10 TB SSD.
- Automated compliance – policies ensure data is retained for required periods without manual archiving.
- Reduced backup windows – since only the fast tier needs frequent backup, slower tiers can be backed up less often.
Trade-offs include:
- Recall latency – tape recalls can take minutes; cloud recalls can take hours if the data is in deep archive.
- Stub risk – if the HSM database is corrupted, stubs become unreadable. Always keep a backup of the HSM catalog.
- Complexity – you need to monitor migration jobs, recall rates, and tier capacity.
HSM vs. Archiving vs. Tiering
HSM is often confused with simple archiving or storage tiering. The differences matter:
- Archiving – moves data to a separate system and removes it from the primary storage. Users must know where the archive is and how to access it. No stubs, no transparency.
- Storage tiering – usually refers to automatic movement between disk types within the same array (e.g., SSD vs. HDD). It is faster but limited to a single system.
- HSM – combines tiering with stub-based recall across heterogeneous systems (disk, tape, cloud). It is the most comprehensive but also the most complex.
Common Problems and How to Avoid Them
Three issues appear most often in HSM deployments:
- Stub corruption – If the HSM database is lost, all stubs become broken links. Mitigation: back up the catalog daily and store it on a separate system.
- Recall storms – When a large project is accessed after being migrated, hundreds of files are recalled at once, overwhelming the network and the slow tier. Mitigation: set recall rate limits and use prefetching.
- Policy misconfiguration – A rule that says “older than 30 days� might move active project files if they are not accessed for a month. Mitigation: test policies on a small set first and monitor recall rates.
How to Choose an HSM Solution
When evaluating HSM software, consider these factors:
- File system compatibility – Does it support your existing file system (e.g., Lustre, GPFS, NFS, SMB)?
- Supported tiers – Does it work with your tape library or cloud provider?
- Recall speed – How long does a recall take? Is there a caching layer?
- Policy engine – Can you set rules based on age, size, owner, project, or access count?
- Monitoring and reporting – Can you see what is on each tier and how often recalls happen?
Open-source options like LTFS (Linear Tape File System) provide basic HSM for tape, while commercial products like IBM Spectrum Archive or Dell ECS offer more advanced features. For cloud-only environments, object lifecycle policies (e.g., S3 lifecycle) provide a simplified HSM without stubs—you access data via a different URL after it moves.
Is HSM Still Relevant in the Cloud Era?
Yes, but the form changes. Cloud providers offer lifecycle management that automatically transitions objects from hot to cold storage based on age. That is HSM without stubs. On-premises HSM remains relevant for high-performance computing (HPC) and media archives where tape is still the cheapest medium for massive datasets. Hybrid models use HSM on-premises and archive to cloud for disaster recovery.
Frequently Asked Questions
Does HSM change the file path or name?
No. The stub retains the original path and name. Users and applications see the same file as before; only the physical location changes.
What happens if I delete a stub?
Deleting a stub removes the pointer, but the actual data on the slow tier may remain. Some HSM systems delete the data after a grace period; others keep it. Always check your system’s behavior—you might need to manually delete the data on the slow tier to free space.
Can HSM work with multiple users simultaneously?
Yes, but concurrent recalls can cause contention. Most HSM systems queue recalls and can throttle them to avoid overwhelming the network or the slow tier.
How long does a tape recall take?
It depends on the tape library and the file size. A single file can take 30 seconds to a few minutes, including tape mounting and seek time. For a large batch, expect minutes to hours.
Is HSM the same as backup?
No. HSM is about managing active data across tiers. Backup creates copies for disaster recovery. You still need to back up the HSM catalog and the data on all tiers separately.
Can I use HSM with cloud storage as the slow tier?
Yes. Many HSM solutions support cloud object storage as a target. Recalls from cloud are slower than tape but can be faster if you use standard retrieval classes instead of deep archive.
Related
Formula used
in t | Data size | GB | 100 | 0 | 100000 in a | Access frequency | accesses/month | 10 | 0 | 1000000 in c | Cost per GB (fast tier) | USD | 0.10 | 0 | 100 in d | Cost per GB (slow tier) | USD | 0.02 | 0 | 100 out monthly | Monthly storage cost | USD | (t * a * c) + (t * (1 - a/1000) * d) | 2 out savings | Savings vs all-fast | % | (1 - ((a/1000 * c) + ((1 - a/1000) * d)) / c) * 100 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Philips DST7060/20 7000 Series Iron: Specs & Fit
- Coal Fueled Jet Aircraft: Could It Work?675 L
- Remote Desktop on Raspberry Pi: How to Enable It
- Word Select Last Line in Paragraph?
- Google Assistant IFTTT Recipes: 7 Useful Automations
- OLED TVs in Dark Rooms: Why They Look Better and When They Don’t