Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the Linux disk and file system management like

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

What is the Linux disk and file system management? in view of this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Basic concept of disk

Disk partition MBR GPT

All formatted partitions have a lost+found directory

Basic concept of disk

Cylinder cylinder

Sector sector

Head head

All linux devices are abstracted into a file and saved under / dev

The general name is hda,sda hdb,sdb

The name of IDE device is hda

The name of sata,scsi,sas,usb and other devices is sd [Amurz]

Different partitions are represented by: device name + partition number, such as sda1 and sda2

The mainstream partition mechanisms are MBR and GPT.

Eg.

Cd / dev/

Ls / dev/sda (+ TAB built)

Or ls / dev/sda*

MBR master boot record tradition (PC devices using BIOS)

Hard disk must not exceed 2T

The header 512KB is occupied by MBR.

Bootstrap code area446

Partition table (for primary partitions)

Partition entry # 116

Partition entry # 216

Partition entry # 316

Partition entry # 416

Boot signature

55h3

AAh3

Total512

Primary partition

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report