A-A+

AIX7.1 磁盘处理

2018年03月08日 系统运维 暂无评论 阅读 830 次

两台IBMP740 服务器做的hacmp,存储异常掉线,经过处理,系统识别硬盘,激活vg和挂载磁盘时出现问题如下。

# lspv
hdisk0 00f9a4be51997130 rootvg active
hdisk1 00f9a4be19848856 rootvg active
hdisk8 00f9a4be1a0ea2fe backvg
hdisk9 00f9a4be1a0f0566 datavg
hdisk11 00f9a4be23d49528 caavg_private active
# varyonvg datavg
0516-1971 varyonvg: The volume group is already varied on in other node. varyoff
the volume group in other node and retry the varyonvg, or use -O flag to
force varyon the volume group.
# varyonvg -O datavg
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 10.00 4.89 52% 10778 1% /
/dev/hd2 8.00 5.49 32% 53577 4% /usr
/dev/hd9var 8.00 7.26 10% 9715 1% /var
/dev/hd3 8.00 7.69 4% 1356 1% /tmp
/dev/fwdump 1.50 1.50 1% 4 1% /var/adm/ras/platform
/dev/hd1 8.00 3.12 62% 7 1% /home
/dev/hd11admin 0.50 0.50 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 100.00 67.40 33% 162410 2% /opt
/dev/livedump 0.50 0.50 1% 22 1% /var/adm/ras/livedump
/aha - - - 44 1% /aha

# varyonvg -O backvg
# varyoffvg datavg
# varyoffvg backvg
# varyonvg datavg
# varyoffvg datavg

# varyonvg datavg
# lsvg -l datavg
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
datalv jfs2 1700 1700 1 closed/syncd /data
loglv00 jfs2log 1 1 1 closed/syncd N/A
# mount /data
mount: /dev/datalv on /data
0506-365 Cannot mount guarded filesystem.
The filesystem is potentially mounted on another node.
# varyonvg backvg
# lsvg -l bacfvg
0516-306 : Unable to find volume group bacfvg in the Device
Configuration Database.
# lsvg -l backvg
backvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
backlv jfs2 1100 1100 1 closed/syncd /back
loglv01 jfs2log 1 1 1 closed/syncd N/A
# mount /back
mount: /dev/backlv on /back
0506-365 Cannot mount guarded filesystem.
The filesystem is potentially mounted on another node.
# lsfs -q /data
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/datalv -- /data jfs2 3565158400 rw no no
(lv size: 3565158400, fs size: 3565158400, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: yes, EFS: no, ISNAPSHOT: no, MAXEXT: 0, MountGuard: yes)
# mount -o noguard /data
mount: /dev/datalv on /data
Mount guard override for filesystem.
The filesystem is potentially mounted on another node.
Replaying log for /dev/datalv.
# mount -o noguard /back
mount: /dev/backlv on /back
Mount guard override for filesystem.
The filesystem is potentially mounted on another node.
Replaying log for /dev/backlv.

/dev/backlv 1100.00 547.25 51% 242 1% /back

/dev/datalv 1700.00 585.43 66% 254 1% /data

给我留言

Copyright © 2011-2018 零下二十四度Theme By  Ality  京ICP备16007547号   关于本站

用户登录