Get the App
SLTechnology News&Howtos  ›  Servers  › 

Disk system management

Shulou Source: shulou.com Published: 2022-06-02 16:00:46 10月01日 Update

1. Disk format:

MBR disk partition: can be divided into up to 4 primary partitions, or three primary partitions and one extended partition; when the computer starts, read MBR first

GPT disk partition: can be divided into up to 128primary partitions, no extended partitions, through UEFI to communicate with the computer hardware and operating system, recommended for 2TB partitions or Anton computer

two。 Special volumes:

Boot volumes: store system files, which can be primary partitions or logical drives

System volumes: store startup files, must be primary partition

3. Disk management: diskmgmt.msc

Use the command line to manage disks:

Diskpart

Select disk 0 disk 0 is now the selected disk

Create partition extended size=10000 creates an extended partition 10000MB

Create partition logical size=500 creates a logical partition 500MB

4. Convert a basic disk to a dynamic disk considerations:

Close all programs

Once converted to a dynamic disk, the original partition is automatically converted to a simple volume

Convert to dynamic disk early in the morning, there will be no more basic disk

Only empty dynamic disks can be converted to basic disks

Multiple operating systems, other systems may not be able to start after conversion

5. Dynamic disks are divided into:

Simple volume: the basic unit of a dynamic disk that uses extended volumes to increase disk capacity.

Spanned volume: a logical volume consisting of unallocated space from several disks. Members can have different sizes and have no failover function. The only advantage is that they can be extended.

RAID-0: a logical volume consisting of unallocated space of several disks with the same capacity, manufacturer and model, and average data storage (64KB) to each disk. Disk utilization is the most efficient and capacity cannot be expanded unless deletion and reconstruction can improve read and write speed.

RAID-1: composed of 2 different disks with the same capacity and failover function, members can contain system volumes and boot volumes, members cannot contain UEFI system partitions of GPT disks, and cannot expand capacity unless rebuilds are deleted and data is synchronized in real time. Disk utilization efficiency is only 50%.

RAID-5: consists of 332 disks of unallocated space

The capacity of the members, manufacturer and model had better be the same.

Poor failover capability

The average data is stored on each disk, with high reading speed and writing efficiency.

Capacity cannot be expanded unless the rebuild is deleted

Tags: Disk capacity system dynamic member size logic storage same function failure efficiency data best space computer allocation management different operating system Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft vpn Linux NVidia macOS