March 11, 2019 By Amy Blea 4 min read

Block Storage vs. File Storage

File storage and block storage are both very traditional types of storage, and in this lightboarding video, I’m going to take a closer look at the two options. We’ll be going through an overview of the structure of each, taking a look at the different benefits offered, and I’ll finish up by going through a few different scenarios and explaining whether block storage or file storage would be most useful for the situation.

 

I hope that you enjoy the video!

Learn more:

Video Transcript

Block storage vs. file storage

Hey guys, my name is Amy Blea, and I’m on the offering team here with IBM Cloud. And today, I want to talk to you about some traditional types of storage: file and block storage. I’m going to give you an overview of what they are and then give you some tips on how to decide when to use one over the other.

What is block storage?

So, let’s get started with block storage. Block storage is storage where data is written in raw blocks on the storage, and it’s accessed by the servers that you have through a storage area network (SAN).

So, you have all of your servers—they can either be on the same network with each or in a different network, but they all connect through the storage, through this storage area network.

Advantages of block storage

Now, some of the advantages of using block storage are that block storage provides the lowest possible latency for your applications, and you can also use it for those applications that require high performance or lots of IOPS.

Another thing you’ll find with block storage is that, in general, it is highly redundant. Most block storage services provide a capability that’s built-in where your data is redundant across the volume. So if a volume should go down or a disk should go away, you can recover your data from another place without having any kind of impact your application.

What is file storage?

Now, file storage is connected to your service a little differently than block storage is. Everything is connected on the same network.

So, you have all of your files or your file share here. Those are all the files. And they can all be accessed on the same network by any of the servers on that network—so it’s network attached storage.

Advantages of file storage

File storage is highly scalable, so you can have multiple file shares on your network and have all of your servers attached to that at one time. It’s accessible to multiple runtimes; so here in this illustration, we have a single file share that has multiple servers accessing it all at once, and you can also have multiple simultaneous reads and writes going to your file share all at one time without having to worry about your data being overwritten.

Choosing between block and file storage in different situations

So, how do you know when is the right time to choose either block storage or file storage for your application? Well, first of all, you need to think about what you’re using it for.

So, for example, let’s say you have a VMware configuration where you have multiple virtual servers with VMware on them, and you need boot volumes. Well, in that case you would use block storage.

If you have workloads, such as transactional databases or relational databases, that require very low latency and high performance, you would choose block storage.

In situations where you have a mix of the structured and unstructured data—for example, a web hosting server—where you have both you know text files as well as media files, then you would choose file storage.

And then if you have a collaborative space where you need to have multiple users accessing it all at one time—working together, doing reads and writes all at the same time—you would choose file storage.

So, like I mentioned in the beginning, block and file storage are very traditional types of storage—they’re not as flashy and shiny and exciting as some of the new storage services that have entered the market—but they are still very relevant and useful for the different types of workloads that you have, whether it’s on-premise or in the cloud.

Was this article helpful?
YesNo

More from Cloud

X-Force report reveals top cloud threats: AITM phishing, business email compromise, credential harvesting and theft

4 min read - As we step into October and mark the start of Cybersecurity Awareness Month, organizations’ focus on protecting digital assets has never been more important. As innovative new cloud and generative AI solutions help advance today’s businesses, it’s also important to understand how these solutions have added to the complexity of today’s cyber threats, and how organizations can address them. That’s why IBM—as a leading global security, cloud, AI and business service provider—advocates to our global clients to take a proactive…

Top 6 innovations from the IBM – AWS GenAI Hackathon

5 min read - Eight client teams collaborated with IBM® and AWS this spring to develop generative AI prototypes to address real-world business challenges in the public sector, financial services, energy, healthcare and other industries. Over the course of several weeks, cross-functional teams comprising client teams, IBM and AWS representatives worked to design, develop and iterate on prototypes that push the boundaries of what's possible with generative AI. IBM used design thinking and user-centric approach to guide the teams throughout the hackathon. AWS provided…

IBM + AWS: Transforming Software Development Lifecycle (SDLC) with generative AI

7 min read - Generative AI is not only changing the way applications are built, but the way they are envisioned, designed, tested, documented, and deployed. It’s also revolutionizing the software development lifecycle (SDLC). IBM and AWS are infusing Amazon Bedrock generative AI capabilities into the IBM® SDLC solution to drive increased efficiency, speed, quality and value in every application lifecycle consistently and at scale. The evolution of the SDLC landscape The software development lifecycle has undergone several silent revolutions in recent decades. The…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters