Get the App
SLTechnology News&Howtos  ›  Servers  › 

Cloud Computing Learning Route course syllabus Courseware: XFS File system

Shulou Source: shulou.com Published: 2022-06-02 10:40:34 10月02日 Update

=

Centos7 default file system, why give up to the EXT family?

The EXT family has the widest support:

But creating a file system (formatting) is slow!

But the repair is slow!

But the storage capacity of the file system is limited!

Xfs is also a journalistic file system:

High capacity and support for large storage

High performance, fast to create / repair file system

Both inode and block are dynamically configured when the system needs to be used.

XFS file system

Data area (data section)

The data area is the same as the previous ext family, including inode/data block/superblock and other information, are placed in this block.

File system log area (log section)

Real-time operation area (realtime section)

Repair XFS file system xfs_repair

[root@tianyun ~] # xfs_repair / dev/vda1

Xfs_repair: / dev/vda1 contains a mounted filesystem

Xfs_repair: / dev/vda1 contains a mounted and writable filesystem

Fatal error-couldn't initialize XFS library

[root@tianyun ~] # umount / dev/vda1

[root@tianyun ~] # xfs_repair / dev/vda1

Phase 1-find and verify superblock...

Phase 2-using internal log

Zero log...

Scan filesystem freespace and inode maps...

Found root inode chunk

Tags: File system Family capacity data Log Storage support Information dynamic Block Real-time Limited format High performance run configure outline tutorial Courseware Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Docker MySQL NVidia