Logical Drive

What is Logical Drive?

A logical drive refers to the dedicated region on a physical storage device that is identified by specific drive letters in the Windows Explorer or My Computer window in the Microsoft Windows operating system.

Technically, these are the areas on the hard disks that are managed as independent units.

Understanding Logical Drive

Understanding Logical Drive

A logically created space on a hard disk drive is called a logical drive. This means that it is a part of the physical drive but is virtual in nature.

The primary objective of creating a logical drive is to divide a large physical drive into smaller parts, also referred to as the logical drive units.

Typically, when you set up a hard drive on your computer initially, it will be denoted as Drive C: by default.

In order to partition it into other segments, you will need to create logical drives in it. These drives are denoted by the subsequent English alphabets such as:

Each of these logical drives may have different sizes, but when all of these are combined, the total size of these drives sums up to the actual size of the primary physical drive.

This is because all of the logical drives are essentially a part of the physical drive.

Therefore, the number of these logical units a hard drive may have entirely depends on the actual data storage capacity of the drive in the first place.

However, it also depends on the extent of support offered by the operating system used by the computer.

Ideally, all the data stored in each of these logical drives is actually stored on the physical drive directly but are separated logically from the data that are stored in the other logical drives.

While creating a logical drive, if you wish, you can create one with a File Allocation Table 32 or FAT32 file system support and another with a New Technology File System support.

To create a logical drive, all you have to do is follow these simple steps:

How Do You Open a Logical Drive?

You can view and open the logical drive from the Disk Management utility in Windows.

Read Also:  What is Kilobyte? Uses, Examples & More

The steps to follow are:

You can also access the Disk management utility alternatively in the following method:

Then, from the Disk management, select the logical drive you want to view or open.

How to Convert Logical Drive to Primary Partition?

You can convert a logical drive into a primary partition with the use of the Command Prompt or by using a reliable third-party software.

Third-party software:

Third-party partition manager software can be used to convert a logical drive into a primary partition without the risk of losing data in the following steps:

Using Command Prompt:

If you are not comfortable using any third-party software to convert a logical drive into a primary partition, you can go to the Command Prompt and use DiskPart, the Windows built-in tool.

However, in this method, there is a risk of data loss because you will have to delete all the files stored in the target partition to use DiskPart. Therefore, make sure you have made proper backups of the same beforehand.

Once done, follow these steps:

However, if you want, you can even merge it with the primary partition if you want by using third-party software in the following steps:

This will merge the two partitions and the files will be moved from the second to the first.

What Happens if You Delete Logical Drive?

Simply put, all the data stored on the logical drive will be deleted when you delete the drive. And if the same logical drive happens to be the solitary drive in the array, then the array gets deleted as well.

So, if you want to go ahead with it, then the process to follow for it are as follows:

How Do You Restore Logical Drive?

You can restore a malfunctioning logical drive by using the Check Disk command or a utility tool on Windows. You can also restore it by using any reliable third-party software.

Read Also:  What is Free Space? (Explained)

The steps to follow to restore the logical drive by using the Check Disk command or Windows utility tool are:

Alternatively, on Windows, you may also use the “Chkdsk” command for scanning and restoring the logical hard drive. The steps to follow are:

This will fix the errors on the logical drive and restore the corrupt partitions.

For example, if you want to restore the D logical drive on your computer system, then the Check Disk command to enter will be – chkdsk d: /f /r /x.

On the other hand, the steps to follow to restore the logical drive by using any third-party software are as follows:

Can You Extend a Logical Drive?

Yes, you can extend the logical volume by using specific commands such as the lvextend command from the volume group if you want to increase the low storage capacity of the partitions.

The process is very simple, wherein all you have to do is use the right commands for doing the following:

If that was not easy for you to understand or get started with, here is the breakdown of each of the above steps and the respective commands to use, all summarized for your better understanding.

Creating the physical volume:

This will initialize the disk so that it can be seen by the Logical Volume Manager (LVM).

Identifying the volume group:

In order to identify and display the information of the volume group, the command to use is vgs.

Extending the volume group:

Identifying the logical volume:

In order to identify the logical volume related to the volume group you will need to type in the commands lvs or lvdisplay.

Extending the logical volume:

You will need to use the lvextend command to extend the logical volume from the volume group.

Extending the file system:

Finally, confirm the size of the extended partition.

Read Also:  What is Disk Platter? (Explained)

Remember, you can extend any partition on a logical drive by following the steps mentioned above, but, at the same time, you will also need to make sure that you are confident about the partition and know what you are doing.

Also, ensure that you are using the Logical Volume Manager from the Sysadmin enabled.

Logical Drive Vs Physical Drive

Logical Drive in a Partition

A logical drive in a partition signifies the volume created within the extended partition on the Master Boot Record (MBR).

These contiguous areas on the hard disk function more or less like the primary partitions and can be used for installing different types of files including Windows.

However, these cannot be set active because only one primary partition can be set active at a time.

Logical Drive Examples

Since logical drives define the designated space within a physical disk drive, the best examples of them could be Drives C:, Drive D:, Drive E on a computer system.

How Many Logical Drives are There?

There can be up to 24 logical drives configured on a physical hard drive.

This means that even if your computer comes with only one physical Drive C:, which is its first logical drive, you can create up to 23 more logical drives on the extended partition of that drive.

What Do Logical Drives Do?

A logical drive is typically used to store different types of data such as blocks, segments, extents, and tablespaces that may not be the part of the actual dataset.

These drives may consist of one or more disk drives and they act as the virtual tool to logically create usable storage space for the hard drive and help in the better management of the storage capacity.

Where are Logical Drives Contained in a Partition?

Typically, a logical drive or partition volume is found inside the extended partition of the fundamental disk which is based on the Master Boot Record (MBR).

Ideally, these logical drives are very similar to the primary partitions.

Conclusion

Now, going through this article, you must have gained a fair bit of knowledge about logical drives.

Apart from the basic meaning of the term, you know what it does and how it helps the hard disk to perform better, all discussed in detail, and what would happen if you deleted the logical drive, on purpose or accidentally.