File System - Partition / Volume (Logical Disk Partition)

Undraw File Manager Re Ms29

About

Disk Drive can be divided with the help of the Operating systems file system into one or more logical disks called partition.

A partition is known for windows as volume.

To an application, a partition appears as an independent disk, even though that is not the case. The operating system provides a command for managing the size and locations of partitions on a disk. This command writes a partition map onto the disk in an area that is not visible to the application program.

Windows Disk

A partition editor program can be used to create, delete or modify these partitions such as Gparted

The way that space management, access permissions and directory searching are implemented depends upon the type of file system installed on a partition.

Partition Table

This division is described in the partition table

Partition Types

Depending on type of system and what operating system is being used there are many different types of partitions.

Primary Partition

A partition that is used to start an operating system, although you can use primary partitions that don't contain the operating system.

There can be up to a maximum of four primary partitions on a single basic disk.

Extended Partition

A partition that can be sub-divided into logical drives. An extended partition is not formatted or assigned a drive letter. It's essentially a container for logical drives that are formatted and assigned drive letters.

You can get this information on linux with parted

parted /dev/sdb
GNU Parted 1.8.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 21.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  21.5GB  21.5GB  extended

Logical Drive / Logical Volume

A logical drive is created within an extended partition. An “unlimited” number of logical drives may be created in an extended partition, formatted.

Boot partition

A boot partition is defined as the partition containing the system files. For Windows NT, this is the partition containing the %SystemRoot%\System32 folder.

System partition

The system partition is defined as the partition containing the files needed for the initial system startup. For Windows NT, the files are Ntdetect.com, NTLDR, Boot.ini, and sometimes Ntbootdd.sys.

The system partition and boot partition can be on the same partition or on different partitions. Because there can be multiple operating systems installed on a single computer, a computer can have multiple boot partitions, but a computer has only a single system partition.

Quiz

Where should the Linux and Windows swap partition be located to provide the best performance?

  • a. at the end of the drive
  • b. in the middle of the drive
  • c. at the beginning of the drive
  • d. do not use a swap partition; use a swap file instead

Answer: c

Reference





Discover More
Data System Architecture
Data Partitions (Clustering of data)

A partition cut out the storage in several part according to a predicate. You can have two types of partition : horizontal (sharding) (related to a cutting by row) vertical (related to a cutting...
Windows Disk
Data Storage - Boot Sector Startup Processes

Two sectors are critical to start a computer on Windows: the master boot record (MBR), the first sector of a hard disk and the boot sector, which resides at sector 1 of each volume. These sectors...
Windows Disk
Drive - The Master Boot Record (MBR)

A master boot record (MBR), or partition sector, is the first 512-byte sector (Logical_block_addressingLBA/absolute sector 0) of a partitioned data storage device such as a hard disk. The master boot...
Undraw File Manager Re Ms29
File - (File Store|Volume|Partition)

A file store is a volume or partition in which files are stored. For example, in a native (OS) file system, are considered file stores: on the Windows platform, c: or d: are file stores. On the...
Undraw File Manager Re Ms29
File - File System (filesystem)

A file system (often also written as filesystem) is an application that stores and organizes files and their data (content). Essentially, it organizes these files for storage, organization, manipulation,...
Windows Disk
File System - Partition table (Sector 0)

A partition table is data that holds partition division information. The partition table is stored within the Master Boot Record of the disk (found in the first sector (0) of the disk) Partition table...
Undraw File Manager Re Ms29
File System - Volume

A volume is a collection of directories and files. Volume may be: physical: known as partition. ie a section of the hard drive created and managed via the OS file system logical: a section of a virtual...
Windows Disk
Linux - Disk Partition (logical disk)

Hard disks can be divided into one or more logical disks called partition. This division is described in the partition table found in sector 0 of the disk. The partition is the last part of...
Linux - How to add storage to an OEL 5 update 4 Linux VMWare Machine

When you increase the disk capacity of a VMWare virtual machine, you need to perform some operation to add this capacity to the file system. The basic installation of Oracle Entreprise Linux use Linux...
Harddisk
Linux - fdisk - Partition table manipulator

fdisk is a utility that creates and manipulates the partition tables. parted It understands DOS type partition tables and BSD or SUN type disklabels. There are several fdisk programs around. Each...



Share this page:
Follow us:
Task Runner