Cloud computing tutorial learning course syllabus courseware: XFS file system

====================================================================================

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

EXT most extensive family support:

But create a file system (format) slow!

But the repair slow!

But the file system storage capacity is limited!

xfs is also a journaling file system:

High capacity, large memory support

High performance, create / repair the file system quickly

inode and block all need to use the system only generates dynamic configuration

XFS file system

• data area (data section)

Ext data area just before the family learned as comprising inode / data block / superblock and other information, are placed in the block.

• File system log area (log section)

• Real-time Operating Area (realtime section)

Repair the 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

Guess you like

Origin blog.51cto.com/14529670/2438912