keepcalculator

06 Numbers and Powers

Hierarchical Storage Management: How It Keeps Data Accessible

Card No. 06·15931 · Updated · Standard formula, shown below

Transfer rate 5.00 GB/hour
Retrieval time (min)
120 min
Result
Time to retrieve from archive
2 hours
You entered
File size
10 GB
You entered
You enter
Time to retrieve from archive, File size
You get
Transfer rate, Retrieval time (min)
Rounding
2 dp · 0 dp

Hierarchical storage management (HSM) automatically moves data between fast, expensive storage and slower, cheaper storage based on how often the data is used, so that frequently accessed files stay immediately available while rarely used files are archived without being deleted. You define policies (e.g., “move files not accessed for 30 days to tape�), and the HSM software handles the migration and transparent retrieval when a user or application requests an archived file. The result is that your total storage cost drops dramatically, yet every file still appears to be exactly where you left it.

Formula

The calculator above works out the effective transfer rate when retrieving a file from an archive tier, given the file size and the total time taken (including any staging delay). The formula is:

Transfer rate (GB/hour) = File size (GB) ÷ Retrieval time (hours)

  • File size (f) – the size of the archived file in gigabytes (GB).
  • Retrieval time (t) – the total time from when you request the file until it is fully available, in hours.
  • Transfer rate – the effective speed of the retrieval, in GB per hour.

This is a simplified model: real HSM retrieval also depends on network speed, tape seek time, and whether the file is staged to disk before delivery. But the formula gives you a quick way to estimate how long a large archive will take to pull back.

Worked Example

Using the default values from the calculator: a 10 GB file takes 2 hours to retrieve from archive.

  1. Transfer rate = 10 GB ÷ 2 hours = 5 GB/hour
  2. Retrieval time in minutes = 2 × 60 = 120 minutes

So the effective transfer rate is 5 GB/hour, which is about 1.4 MB/s – typical for a tape system with staging overhead.

What Is Hierarchical Storage Management?

HSM is a data storage technique that uses a hierarchy of storage tiers, usually three:

  • Tier 1 (online): Fast disk or SSD – for files accessed frequently. This is the most expensive per GB.
  • Tier 2 (nearline): Slower disk or optical – for files accessed occasionally.
  • Tier 3 (offline/archive): Tape or cloud cold storage – for files rarely accessed, but that must be kept for compliance or historical reasons.

The HSM software runs in the background, moving files down the hierarchy as they age and up again when they are accessed. The key point is that the file’s logical path (e.g., D:\projects\old\report.pdf) never changes – the system keeps a stub or a pointer in the original location. When you open that file, HSM transparently fetches it from the archive tier, so you don’t have to know where it physically lives.

How HSM Keeps Data Accessible

The main challenge is making archived data appear instantly available even though it is stored on slow media. HSM solves this with three mechanisms:

  • Stub files: The original file is replaced by a tiny placeholder that contains metadata (size, timestamps, location on tape). When you double-click it, the OS sees a normal file, but the HSM driver intercepts the read and fetches the real data.
  • Recall on demand: When a file is accessed, HSM retrieves it from the archive tier to the primary disk (or a staging area) and then serves it to the application. This recall can take seconds to minutes depending on the media.
  • Policy-based migration: You set rules like “files older than 90 days and not accessed in 30 days move to tape.â€� HSM scans the file system and moves files that meet the criteria, freeing up expensive primary storage.

This is different from simple archiving (like copying files to tape and deleting them) because the user never has to manually locate or restore a file – the system does it automatically.

Real-World Example

Consider a hospital that stores medical imaging (MRI scans). Each scan is about 200 MB. Recent scans (last 6 months) are stored on fast SSD for quick retrieval by radiologists. After 6 months, the files are moved to a nearline disk array. After 2 years, they are moved to tape, but the patient’s record still shows the same file path. If a doctor later needs an old scan, they click the file, and HSM recalls it from tape – it may take 5 minutes, but the doctor doesn’t need to know where it was stored. The hospital saves significant money because tape costs pennies per GB compared to SSD.

HSM vs. Backup vs. Archiving

People often confuse HSM with backup or simple archiving. Here’s the difference:

  • Backup: Creates a copy of data for disaster recovery. You don’t delete the original – you keep both. Backup is not about freeing space.
  • Archiving: Moves data to a separate storage for long-term retention, but the original may be deleted. Archiving often requires manual retrieval.
  • HSM: Automates the archiving process and keeps a transparent pointer. It is a type of archiving, but with the “magicâ€� of automatic recall.

HSM is often used in conjunction with backup: you back up the primary disk, and HSM manages what stays on primary disk vs. what is migrated to tape.

Choosing an HSM Solution

When selecting HSM software, consider these factors:

  • Supported file systems: Does it work with your OS (Windows, Linux, Unix)?
  • Storage tiers: Does it support the specific tape libraries or cloud storage you use?
  • Recall speed: How fast can it retrieve a file? This depends on the media and the software’s staging algorithm.
  • Policy flexibility: Can you set rules based on age, size, access frequency, or file type?
  • Transparency: Does the user see any difference? Some HSM systems require a special client, others are transparent to the OS.

For small businesses, a simple HSM might be overkill – a cloud storage gateway that automatically moves cold data to object storage could be enough. For enterprises, commercial HSM products from major storage vendors are common, but open-source options exist for Linux environments.

Common Problems and Pitfalls

  • Recall storms: If many files are accessed at once (e.g., a database starts and reads all its files), HSM may try to recall thousands of files simultaneously, overwhelming the archive system and causing delays.
  • Stub corruption: If the stub file is lost or the metadata is corrupted, the data becomes inaccessible even though it exists on tape. Regular integrity checks are essential.
  • Compatibility with applications: Some applications (like databases) expect files to be on local disk and may not handle the recall delay gracefully. You may need to exclude certain directories from HSM migration.
  • Cost of recall: Cloud-based HSM often charges for retrieval (egress fees). A file that is recalled frequently can become expensive, defeating the purpose.

To avoid these, monitor access patterns, set appropriate policies, and test recovery procedures regularly.

Frequently Asked Questions

Does HSM delete my files?

No. HSM moves files to another tier, but the file remains accessible through the original path. The stub file is not the data, but it points to the real data. If you delete the stub, you lose the pointer – but the data may still exist on tape, though you’d need special tools to find it.

How long does it take to retrieve a file from tape?

It varies: a tape robot may need to find the correct tape, load it, and wind to the right position – this can take 30 seconds to a few minutes. Then the transfer speed is roughly 100–300 MB/s for modern LTO tapes. So a 10 GB file could take 1–3 minutes, plus the initial seek time.

Can I use HSM with cloud storage?

Yes. Many HSM solutions support cloud tiers (like S3 Glacier or Azure Archive). The same principles apply: files are migrated to the cloud, and when accessed, they are downloaded back. The main difference is that cloud retrieval can have additional latency and cost.

What happens if the archive tape is damaged?

That’s why you need backups of your archive, or at least duplicate tapes (RAIT – redundant array of independent tapes). HSM itself is not a backup – if you delete a file on primary storage and the tape is unreadable, the data is lost. Always maintain a separate backup of critical data.

Is HSM still relevant with cheap SSDs?

Yes, because even cheap SSDs cost more per GB than tape or cold cloud storage. For large datasets (petabytes), HSM can save millions. Also, SSDs have limited write endurance – moving rarely used data off them extends their life.

Related

Formula used
in t | Time to retrieve from archive | hours | 2 | 0 | 168
in f | File size | GB | 10 | 0.001 | 100000
out rate | Transfer rate | GB/hour | f / t | 2
out minutes | Retrieval time (min) | min | t * 60 | 0

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

The whole Numbers and Powers drawer →