Search code examples
storage

What is the difference between Volume and Partition?


What is the difference between partition and volume?

Kindly give an analogy if possible since I am unable to understand the difference between them.


Solution

  • Partitions - Storage media (DVD's, USB sticks, HDD's, SSD's) can all be divided into partitions, these partitions are identified by a partition table.

    The partition table is where the partition information is stored, the information stored within here is basically where the partition starts and where it finishes on the disc platter.

    Volumes - A Volume is a logical abstraction from physical storage. Large disks can be partitioned into multiple logical volumes Volumes are divided up into fixed size blocks or a cluster or blocks.

    We don't see the partition as this is sorted by the file system controller but we see volumes as they are logical and are provided by a gui with a hierarchical structure and human interface. When we request to see a file it runs through a specific order to view that information from within the volume on the partition:

    1. Application created the file I/O request
    2. The file system creates a block I/O request
    3. Block I/O drive accesses the disk

    Hope this helps... If any part needs clearing up let me know, try my best to clear it up more