Cloud computing learning route Courseware: XFS file system

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Centos7’s default file system, why abandon the EXT family?
EXT family has the most support:
But creating a file system (formatting) is slow!
But the repair is slow!
But file system storage capacity is limited!
XFS is also a journaling file system:
High capacity, support for large storage
High performance, fast file system creation/repair
Both inodes and blocks are generated dynamically when the system needs them
XFS file system
• Data section
The data area is the same as the ext family we learned about earlier, including information such as inode/data block/superblock.
• File system log section
• RealTime Section
Fix 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 the log… Scan filesystem freespace and inode maps… found root inode chunk

Read More: