如何从维护模式执行 FSCK (文件系统检查)
Symptom
Resolution
步骤 1. 确定当前的启动分区。如果您希望在当前的启动分区上执行 FSCK, 则需要此项。
user@host >> 调试 swm 状态
分区状态版本
--------------------------------------------------------------------------------
sysroot0 REVERTABLE 6.1。9
sysroot1 运行活跃 7.0. 5-h2< This is the current bootup partition this="" is="" the="" current="" bootup=""></ This is the current bootup partition>
步骤 2. 引导设备到维护模式。
请参阅 https://live.paloaltonetworks.com/t5/Management-Articles/How-to-Enter-Maintenance-Mode-on-the-Palo-Alto-Networks-Firewall/ta-p/55082
步骤 3. 选择要执行 FSCK 的目录
FSCK (磁盘检查)
分区:
() panlogs () sysroot0 (X) sysroot1
() panrepo () pancfg
--------------------------------------------------------------------------------
选项:
[X] 强制修复-"y" 到所有问题
< start="" disk="" check="" (may="" take="" a="" few="" minutes)="">
--------------------------------------------------------------------------------
如果磁盘检查失败, 则可能需要 panlogs 的完整格式:
< format="" panlogs="">
步骤 4. 导航到 "启动磁盘" 检查并选择它。等待 FSCK 完成
FSCK 状态
FSCK 返回状态0
通过 1: 检查 inodes、块和大小
通过 2: 检查目录结构
通过 3: 检查目录连接
传递 4: 检查引用计数
传递 5: 检查组摘要信息
sysroot1: 36774/501952 个文件 (0.4% 个非连续), 338187/1002054 个块
步骤 5. 按 "esc" 两次, 在主菜单上着陆, 如下所示, 然后选择 "重新启动"。
< maintenance="" entry="" reason="">
< get="" system="" info="">
< factory="" reset="">
< set="" fips="" mode="">
< set="" cceal4="" mode="">
< fsck="" (disk="" check)="">
< log="" files="">
< bootloader="" recovery="">
< disk="" image="">
< select="" running="" config="">
< content="" rollback="">
< set="" ip="" address="">
< diagnostics="">
< debug="" reboot="">
< reboot="">