![AIX 7.1/ AIX 7.2 文件系统在重新启动后未持续挂载,并且似乎已损坏](https://linux22.com/image/783046/AIX%207.1%2F%20AIX%207.2%20%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%9C%A8%E9%87%8D%E6%96%B0%E5%90%AF%E5%8A%A8%E5%90%8E%E6%9C%AA%E6%8C%81%E7%BB%AD%E6%8C%82%E8%BD%BD%EF%BC%8C%E5%B9%B6%E4%B8%94%E4%BC%BC%E4%B9%8E%E5%B7%B2%E6%8D%9F%E5%9D%8F.png)
操作系统:AIX 7.1 / AIX 7.2
架构:ppc-64
我已经创建了一个自定义(非根)卷组 homevg
bash-5.1# lsvg homevg
VOLUME GROUP: homevg VG IDENTIFIER: 00c97c4000004b000000018577fceedd
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 799 (409088 megabytes)
MAX LVs: 256 FREE PPs: 1 (512 megabytes)
LVs: 2 USED PPs: 798 (408576 megabytes)
OPEN LVs: 1 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
DISK BLOCK SIZE: 512 CRITICAL VG: no
FS SYNC OPTION: no
我已经使用 jfs 文件系统 ( + homelvlog 日志设备) 创建了逻辑卷 homelv
bash-5.1# lslv homelv
LOGICAL VOLUME: homelv VOLUME GROUP: homevg
LV IDENTIFIER: 00c97c4000004b000000018577fceedd.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 760 PP SIZE: 512 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 760 PPs: 760
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: /home LABEL: None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no PREFERRED READ: 0
我已将该条目添加到 /etc/filesystems 并挂载它
bash-5.1# grep -A 6 '/home:' /etc/filesystems
/home:
dev = /dev/homelv
vfs = jfs2
log = /dev/homelvlog
mount = true
options = rbw,rw,log=NULL
account = false
重启后,文件系统未挂载,挂载失败,并显示以下错误消息
Replaying log for /dev/homelv.
mount: /dev/homelv on /home: Unformatted or incompatible media
The superblock on /dev/homelv is dirty. Run a full fsck to fix.
使用 fsck 修复后即可挂载。
我在 AIX 文档中没有找到任何有用的内容。
编辑:知道如何在重启后保持文件系统持续挂载吗?
我将不胜感激任何指点