实验题·ext文件恢复===」需要进行解挂载

这是一篇关于在CentOS 7.6环境下使用extundelete工具恢复ext文件系统的实验过程。首先,需要挂载新的磁盘,然后通过extundelete-0.2.4软件包进行文件恢复操作。
摘要由CSDN通过智能技术生成

实验题·ext文件恢复

实验环境

CentOS 7.6

extundelete-0.2.4.tar

需求分析

挂载一个新的磁盘来实现ext文件恢复

通过extundelete-0.2.4.tar这个软件包来进行恢复

实验步骤

[root@localhost ~]# fdisk /dev/sdb #进行分区

[root@localhost ~]# mkfs.ext4 /dev/sdb1 #格式化成ext格式的磁盘

[root@localhost ~]# mount /dev/sdb1 /opt #挂载磁盘

[root@localhost ~]# cd /opt #进入磁盘里面
[root@localhost opt]# ll #查看你磁盘里面的文件
总用量 16
drwx------. 2 root root 16384 7月   4 14:12 lost+found
[root@localhost opt]# touch {1..5}.txt #新建一些文件进去
[root@localhost opt]# ll  #查看新建好的文件
总用量 16
-rw-r--r--. 1 root root     0 7月   4 14:14 1.txt
-rw-r--r--. 1 root root     0 7月   4 14:14 2.txt
-rw-r--r--. 1 root root     0 7月   4 14:14 3.txt
-rw-r--r--. 1 root root     0 7月   4 14:14 4.txt
-rw-r--r--. 1 root root     0 7月   4 14:14 5.txt
drwx------. 2 root root 16384 7月   4 14:12 lost+found

[root@localhost opt]# cd /mnt
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值