记一次AIX下做系统镜像的记录
来源:互联网 发布:java初始化是什么意思 编辑:程序博客网 时间:2024/05/21 22:29
# extendvg –f rootvg hdisk1
0516-306 extendvg: Unable to find volume group –f in the Device
Configuration Database.
0516-010 extendvg: Volume group must be varied on; use varyonvg command.
0516-792 extendvg: Unable to extend volume group.
# bootinfo -a hdisk1
3
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 hdisk1 cd0
# bootlist -m normal -o
hdisk0 blv=hd5 pathid=0
hdisk0 blv=hd5 pathid=1
hdisk1 pathid=0
hdisk1 pathid=1
cd0
# bootinfo -b
hdisk0
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 1 1 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 2 2 1 open/syncd /
hd2 jfs2 5 5 1 open/syncd /usr
hd9var jfs2 2 2 1 open/syncd /var
hd3 jfs2 1 1 1 open/syncd /tmp
hd1 jfs2 1 1 1 open/syncd /home
hd10opt jfs2 1 1 1 open/syncd /opt
hd11admin jfs2 1 1 1 open/syncd /admin
fwdump jfs2 2 2 1 open/syncd /var/adm/ras/platform
lg_dumplv sysdump 6 6 1 open/syncd N/A
livedump jfs2 1 1 1 open/syncd /var/adm/ras/livedump
# chpv -c hdisk1
# reducevg rootvg hdisk1
0516-1782 reducevg: Physical volume hdisk1 is not part of volume group rootvg.
0516-884 reducevg: Unable to remove physical volume hdisk1.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# bootinfo -B hdisk1
1
# lspv
hdisk0 00f8e8092ddb8467 rootvg active
hdisk1 none None
hdisk2 none None
hdisk3 none None
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg –f rootvg hdisk1
0516-306 extendvg: Unable to find volume group –f in the Device
Configuration Database.
0516-010 extendvg: Volume group must be varied on; use varyonvg command.
0516-792 extendvg: Unable to extend volume group.
# smitty vg
# lspv
hdisk0 00f8e8092ddb8467 rootvg active
hdisk1 00f8e80c464496e8 None
hdisk2 none None
hdisk3 none None
# chdev chdev -l hdisk1 -a pv=clear
chdev: 0514-500 Usage error - chdev
Usage:
chdev -l Name [-a Attribute=Value]...[-p ParentName][-P|-T]
[-q][-w ConnectionLocation][-f File][-g]
chdev -h
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# rmdev -dl hdisk1
hdisk1 deleted
# telnet 10.1.0.202
Trying...
AIX Version 6
Copyright IBM Corporation, 1982, 2012.
login: root
root's Password:
*******************************************************************************
* *
* *
* Welcome to AIX Version 6.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last login: Mon Dec 30 17:56:01 CST 2013 on /dev/vty0
# lspv
hdisk0 00f8e80c2e178c4c rootvg active
hdisk1 00f8e8092e17d425 None
hdisk2 none None
hdisk3 none None
# bootlist -m normal hdisk0 cd0
# bootlist -m normal hdisk0
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 cd0
# ^C
# bootlist -m normal hdisk0
# bootinfo –b
# bootinfo -B hdisk0
1
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 hdisk1 cd0
# bootlist -m normal -o
hdisk0 blv=hd5 pathid=0
hdisk0 blv=hd5 pathid=1
hdisk1 pathid=0
hdisk1 pathid=1
cd0
# bootinfo -b
hdisk0
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
0516-306 extendvg: Unable to find volume group –f in the Device
Configuration Database.
0516-010 extendvg: Volume group must be varied on; use varyonvg command.
0516-792 extendvg: Unable to extend volume group.
# bootinfo -a hdisk1
3
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 hdisk1 cd0
# bootlist -m normal -o
hdisk0 blv=hd5 pathid=0
hdisk0 blv=hd5 pathid=1
hdisk1 pathid=0
hdisk1 pathid=1
cd0
# bootinfo -b
hdisk0
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 1 1 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 2 2 1 open/syncd /
hd2 jfs2 5 5 1 open/syncd /usr
hd9var jfs2 2 2 1 open/syncd /var
hd3 jfs2 1 1 1 open/syncd /tmp
hd1 jfs2 1 1 1 open/syncd /home
hd10opt jfs2 1 1 1 open/syncd /opt
hd11admin jfs2 1 1 1 open/syncd /admin
fwdump jfs2 2 2 1 open/syncd /var/adm/ras/platform
lg_dumplv sysdump 6 6 1 open/syncd N/A
livedump jfs2 1 1 1 open/syncd /var/adm/ras/livedump
# chpv -c hdisk1
# reducevg rootvg hdisk1
0516-1782 reducevg: Physical volume hdisk1 is not part of volume group rootvg.
0516-884 reducevg: Unable to remove physical volume hdisk1.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# bootinfo -B hdisk1
1
# lspv
hdisk0 00f8e8092ddb8467 rootvg active
hdisk1 none None
hdisk2 none None
hdisk3 none None
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg –f rootvg hdisk1
0516-306 extendvg: Unable to find volume group –f in the Device
Configuration Database.
0516-010 extendvg: Volume group must be varied on; use varyonvg command.
0516-792 extendvg: Unable to extend volume group.
# smitty vg
# lspv
hdisk0 00f8e8092ddb8467 rootvg active
hdisk1 00f8e80c464496e8 None
hdisk2 none None
hdisk3 none None
# chdev chdev -l hdisk1 -a pv=clear
chdev: 0514-500 Usage error - chdev
Usage:
chdev -l Name [-a Attribute=Value]...[-p ParentName][-P|-T]
[-q][-w ConnectionLocation][-f File][-g]
chdev -h
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# rmdev -dl hdisk1
hdisk1 deleted
# telnet 10.1.0.202
Trying...
AIX Version 6
Copyright IBM Corporation, 1982, 2012.
login: root
root's Password:
*******************************************************************************
* *
* *
* Welcome to AIX Version 6.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last login: Mon Dec 30 17:56:01 CST 2013 on /dev/vty0
# lspv
hdisk0 00f8e80c2e178c4c rootvg active
hdisk1 00f8e8092e17d425 None
hdisk2 none None
hdisk3 none None
# bootlist -m normal hdisk0 cd0
# bootlist -m normal hdisk0
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 cd0
# ^C
# bootlist -m normal hdisk0
# bootinfo –b
# bootinfo -B hdisk0
1
# bosboot -ad hdisk0
bosboot: Boot image is 51228 512 byte blocks.
# bootlist -m normal hdisk0 hdisk1 cd0
# bootlist -m normal -o
hdisk0 blv=hd5 pathid=0
hdisk0 blv=hd5 pathid=1
hdisk1 pathid=0
hdisk1 pathid=1
cd0
# bootinfo -b
hdisk0
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
# chdev -l hdisk1 -a pv=yes
hdisk1 changed
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# chdev -l hdisk1 -a pv=clear
hdisk1 changed
0 0
- 记一次AIX下做系统镜像的记录
- AIX做vg的镜像
- 如何为IBM AIX的数据卷做完整镜像?
- AIX系统下的Makefile
- aix mirror镜像
- 一次AIX系统报错的问题处理思路
- AIX系统下的抓包方式
- AIX系统下的topas命令使用
- AIX下做备份的方法◎AIX下查看系统配置的一些命令(转)
- aix镜像与克隆
- HP-UX下做磁盘镜像
- 记录一次Win10系统下OpenVPN显示连接上但无效果的
- 记 FineUI 官方论坛所遭受的一次真实网络攻击!做一个像 ice 有道德的黑客!
- aix下备份记录查询
- Ubuntu下制作系统的U盘安装镜像
- 记录一次使用hibernate做批量操作碰到的问题
- solaris下做raid1做磁盘镜像
- aix系统下的websphere的静默安装
- 嵌入式 书籍
- WPF和XAML基础
- 黑马程序员-Java初级-毕向东Java视频-第二天-编程基础1
- jbpm4 candidate理解
- Ext4.1中文API文档已经全部翻译完成!
- 记一次AIX下做系统镜像的记录
- c++ 对象模型 (备忘)
- string类的用法总结 标准C++中的
- OpenERP登录页面调整
- Ubuntu 12.04 编译 CM 10.2 源码
- Android 滑动效果高级篇(八)—— 自定义控件
- 注意力训练
- 使用数据链时报错ORA-12545/TNS-12545的重现和解决
- 成功人士30岁前必做的十件事