OCR H446, section 1.1.3 (d)
What is virtual storage?
Virtual storage is storage that the user sees and uses as if it were an ordinary drive or folder, but which is not tied to one physical device inside their own computer. The data is held elsewhere, perhaps on several devices, on a network or on the Internet, and the details are hidden from the user.
This is an example of abstraction: the user just sees a drive or folder, while the system works out where the data really is.
There are two common forms.
1. Cloud storage
Data is stored on servers owned by a provider (for example in a data centre), and accessed over the Internet.
- The user saves files using an app or a web browser, and the provider stores them, often copying them to several machines in different places.
- Examples: online file storage and sync services, photo backup, and online document editors.
- Users usually pay a subscription for the space they use, or get a small amount free.
2. Network and pooled storage
- Network drives: a file server on a local network provides a drive that appears on every computer, as if it were local (network attached storage, NAS).
- Storage virtualisation: several physical disks are combined into one large logical drive (pooling), or one disk is divided into several logical drives. The user sees one volume. Systems such as a storage area network (SAN) do this on a large scale.
How it works
The user opens or saves a file as normal. The operating system or an app sends the request across the network, and the provider finds the data on whichever device holds it.
Advantages
- Access from anywhere, on any device with an Internet connection.
- Easy sharing and collaboration: several people can work on the same files.
- Scalable: more space can be added when needed, with no hardware to buy.
- Automatic backup and resilience: the provider copies data across devices and sites, so it isn't lost if one device fails, and files are safe if your own computer is lost or stolen.
- No need to buy and maintain your own storage hardware, so it can be cheaper, particularly for small businesses.
- Pay for what you use.
Disadvantages
- Needs a connection. Without Internet access (or with a slow one), files may be unavailable or slow to open and save.
- Security and privacy. Your data is on someone else's servers. If the provider is hacked, data could be stolen, and you must trust the provider and its staff.
- Ongoing costs: a subscription is paid for as long as you keep the data.
- Dependence on the provider: if the service fails, closes, or changes its terms, you could lose access.
- Legal issues: the servers may be in another country, with different laws about data (see 1.5.1).
- Speed: usually slower than a local SSD, especially for large files.
- Loss of control over where your data is kept and how it is managed.
Virtual storage and virtual memory
These are different things. Virtual memory (see 1.2.1 (b)) is when the operating system uses part of the hard disk as an extension of RAM, so programs can use more memory than is physically installed. Virtual storage is about presenting storage (cloud, network or pooled disks) as a single, simple drive.
Worked example
Task: a small design company has 10 employees who work from home and from the office. It is deciding between buying its own server and using cloud storage. Compare them.
| Own server (local) | Cloud storage | |
|---|---|---|
| Access from home | Needs a VPN to be set up | Easy, from any device |
| Cost | High purchase and maintenance, and an expert to run it | Lower start-up cost, with a monthly fee |
| Scaling | New hardware needed | Add space instantly |
| Backup | Must be organised separately | Built in, copies at several sites |
| Security | Full control over the data and where it is | Relies on the provider's security |
| Internet dependence | Works on the local network without the Internet | Needs the Internet |
The cloud is likely to suit them for flexibility, easy remote working and lower cost. If their work involved highly confidential data, or large files that must open instantly, a local server might be safer.
Exam tip: be precise about what "virtual" means here: the storage is presented as a simple drive, but the data is held elsewhere. Give both advantages (access anywhere, backup, scalability) and disadvantages (needs a connection, security and privacy, ongoing cost), and apply them to the scenario.
Check yourself
What is virtual storage?
Storage that appears to the user as an ordinary drive or folder, but is not tied to one physical device in their computer. The data is held elsewhere, such as on a network or in the cloud.
Give two advantages of cloud storage
Any two of: access from any device anywhere; easy sharing; scalable; automatic backup and resilience; no need to buy and maintain hardware.
Give two disadvantages of cloud storage
Any two of: needs an Internet connection; security and privacy concerns; ongoing subscription costs; dependence on the provider; slower access than a local drive.
How is virtual storage different from virtual memory?
Virtual storage presents network or cloud storage as a single drive. Virtual memory uses part of the disk as an extension of RAM so programs can use more memory than is installed.