linux_ disk and file system management _ Continued

1. Disk physical composition:

    Disc robot arm (head) of the spindle motor

    Cylinder sector

    Disk partition table MBR (old stupid) GPT

    / Dev / sda [1-128] physical disk file name / dev / vda [1-128] virtual disk file name

    After partition formatting reason: Each operating system used by the file system is not the same as win98-FAT win2000-NTFS Linux-ext2 and other general U disk formatted with FAT

    Linux systems for super block block: recording information on this overall system, including the total amount of the inode data block, the amount of the remaining amount, and the file system format related information

             inode: Record file attributes of a file occupies one inode, colleagues recorded data block number where this file

             Data block: The actual contents of the log file, if the file is too large, will take up multiple blocks

      Defragmentation: The reason; file write too discrete blocks, file read performance deteriorates indexed file systems generally do not do not need to defragment

2.linux ext2 file system introduced (now ext4)

    

Guess you like

Origin www.cnblogs.com/zzhhzf/p/12096230.html