操作系统: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 文档中没有找到任何有用的内容。
编辑:知道如何在重启后保持文件系统持续挂载吗?
我将不胜感激任何指点