The file system we use in centos7 is xfs.
- Two built-in tools, xfsdump xfsrestore in xfs, can be used to restore the files we deleted
- xfs was created for big data. For example, hadoop
- The largest supported unit of xfs is 8eb, 3 files can support 16tb
lab environment:
To create a disk and partition, you can refer to the previous article
Centos6 ext4 file system accidental deletion and recovery operation to create a new hard disk and partition. 3G sdb1
formatted, the mounting
environment is well matched, so we have to start our experiment
Add data
mkdir test
cd test
touch a
touch b
Backup
xfsdump -f /opt/backup(备份路径) /dev/sdb1 (