1)、破除镜像
把HDISK0从ROOTVG中不做MIRROW:
#unmirrorvg rootvg hdisk0
#reducevg rootvg hdisk0
删除HDISK0
#rmdev –dl hdisk0
在hdisk1上创建boot image
#bosboot –ad /dev/hdisk0
export PS1= [\u@\h\W]#
改变启动设备的顺序 dsfsdffdsd
#bootlist –m normal hdisk0 cd0
shutdown -Fr
加新硬盘重认设备
1.把hdisk1加进rootvg卷组:
#extendvg rootvg hdisk1
2.关掉rootvg的 QUORUM功能:
#chvg -Qn rootvg
3.镜像rootvg
#mirrorvg -c 2 rootvg hdisk1
4.重新生成 boot image
#bosboot -ad /dev/hdisk1
5.更新bootlist
#bootlist -m normal hdisk0 hdisk1 cd0
6.重起系统
#shutdown -Fr
[Entry Fields]
* INPUT device / directory for software /
* SOFTWARE to install [bash-4.2-1.aix6.1.ppc.rpm] +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? no +
+
ACCEPT new license agreements? yes +
+
useradd -g dba -G dba -d '/dbora/u1' -s '/usr/bin/bash' u1
useradd -g dba -G dba -d /dbora/u1 -s '/bin/bash' -m u1
修改oracle 用户密码:
1.
首先应保证inetd守护进程是开启的,可输入#lssrc –s inetd查看
如果返回 inetd tcpip 270468 active
active 表示inetd进程已开启
2.
启动ftp服务: #startsrc -t ftp
3.
停止ftp服务: #stopsrc -t ftp
4.
可输入lssrc -t ftp命令查看ftp进程是否已开启
5.
另请查看/etc/inetd.conf文件的以下字段是否被注释掉,如果被注释掉,说明开机时不自动打开FTP服务
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
mkgroup -A "id=555" AA
Aix6.1 查看某块磁盘大小(Aix5.2可以
#lspv hdisk0
# getconf DISK_SIZE /dev/hdisk0
20480
# getconf DISK_SIZE /dev/hdisk5
20480
# getconf DISK_SIZE /dev/hdisk4
Aix5.3 查看某块磁盘大小
$ lscfg -vl hdisk0
hdisk0 U78A0.001.DNWH2A8-P2-D4 SAS Disk Drive (146800 MB)
$ lsattr -El hdisk0
PCM PCM/friend/scsiscsd Path Control Module False
algorithm fail_over Algorithm True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_interval 0 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
max_transfer 0x100000 Maximum TRANSFER Size True
pvid 00c1e7a49db09a970000000000000000 Physical volume identifier False
queue_depth 16 Queue DEPTH False
reserve_policy no_reserve Reserve Policy True
size_in_mb 146800 Size in Megabytes False
unique_id 2E1135000CCA00D77E5680FHUS153014VLS30003IBMsas Unique device identifier False
ww_id 5000cca00d77e568 World Wide Identifier False
修改系统参数:
# smit 或者 smit system 或者 #chgsys
System Environments
Change / Show Characteristics of Operating System
[TOP] [Entry Fields]
System ID 0X800006DC6E300000
Partition ID 0X800006DC6E300002
Maximum number of PROCESSES allowed per user [16384] +#
Maximum number of pages in block I/O BUFFER CACHE [20] +#
Maximum Kbytes of real memory allowed for MBUFS [0] +#
Automatically REBOOT OS after a crash true +
Continuously maintain DISK I/O history false +
HIGH water mark for pending write I/Os per file [8193] +#
LOW water mark for pending write I/Os per file [4096] +#
Amount of usable physical memory in Kbytes 2097152
State of system keylock at boot time normal
Enable full CORE dump false +
Use pre-430 style CORE dump false +
Pre-520 tuning compatibility mode disable +
Maximum login name length at boot time [9] +#
Stack Execution Disable (SED) Mode select +
Enhanced RBAC Mode true +
NFS4 ACL Compatibility Mode secure +
ARG/ENV list size in 4K byte blocks [256] +#
CPU Guard enable +
Processor capacity increment 0.01
处理方法1:找出(删除)垃圾文件
# du -sg * |sort –r n |head
检查文件系统的完整性
# umount filesystem_name
# fsck filesystem_name
# fsck -y filesystem_name
把HDISK0从ROOTVG中不做MIRROW:
#unmirrorvg rootvg hdisk0
#reducevg rootvg hdisk0
删除HDISK0
#rmdev –dl hdisk0
在hdisk1上创建boot image
#bosboot –ad /dev/hdisk0
export PS1= [\u@\h\W]#
改变启动设备的顺序 dsfsdffdsd
#bootlist –m normal hdisk0 cd0
shutdown -Fr
加新硬盘重认设备
1.把hdisk1加进rootvg卷组:
#extendvg rootvg hdisk1
2.关掉rootvg的 QUORUM功能:
#chvg -Qn rootvg
3.镜像rootvg
#mirrorvg -c 2 rootvg hdisk1
4.重新生成 boot image
#bosboot -ad /dev/hdisk1
5.更新bootlist
#bootlist -m normal hdisk0 hdisk1 cd0
6.重起系统
#shutdown -Fr
[Entry Fields]
* INPUT device / directory for software /
* SOFTWARE to install [bash-4.2-1.aix6.1.ppc.rpm] +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? no +
+
ACCEPT new license agreements? yes +
+
useradd -g dba -G dba -d '/dbora/u1' -s '/usr/bin/bash' u1
useradd -g dba -G dba -d /dbora/u1 -s '/bin/bash' -m u1
修改oracle 用户密码:
1.
首先应保证inetd守护进程是开启的,可输入#lssrc –s inetd查看
如果返回 inetd tcpip 270468 active
active 表示inetd进程已开启
2.
启动ftp服务: #startsrc -t ftp
3.
停止ftp服务: #stopsrc -t ftp
4.
可输入lssrc -t ftp命令查看ftp进程是否已开启
5.
另请查看/etc/inetd.conf文件的以下字段是否被注释掉,如果被注释掉,说明开机时不自动打开FTP服务
ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
mkgroup -A "id=555" AA
Aix6.1 查看某块磁盘大小(Aix5.2可以
#lspv hdisk0
# getconf DISK_SIZE /dev/hdisk0
20480
# getconf DISK_SIZE /dev/hdisk5
20480
# getconf DISK_SIZE /dev/hdisk4
Aix5.3 查看某块磁盘大小
$ lscfg -vl hdisk0
hdisk0 U78A0.001.DNWH2A8-P2-D4 SAS Disk Drive (146800 MB)
$ lsattr -El hdisk0
PCM PCM/friend/scsiscsd Path Control Module False
algorithm fail_over Algorithm True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_interval 0 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
max_transfer 0x100000 Maximum TRANSFER Size True
pvid 00c1e7a49db09a970000000000000000 Physical volume identifier False
queue_depth 16 Queue DEPTH False
reserve_policy no_reserve Reserve Policy True
size_in_mb 146800 Size in Megabytes False
unique_id 2E1135000CCA00D77E5680FHUS153014VLS30003IBMsas Unique device identifier False
ww_id 5000cca00d77e568 World Wide Identifier False
修改系统参数:
# smit 或者 smit system 或者 #chgsys
System Environments
Change / Show Characteristics of Operating System
[TOP] [Entry Fields]
System ID 0X800006DC6E300000
Partition ID 0X800006DC6E300002
Maximum number of PROCESSES allowed per user [16384] +#
Maximum number of pages in block I/O BUFFER CACHE [20] +#
Maximum Kbytes of real memory allowed for MBUFS [0] +#
Automatically REBOOT OS after a crash true +
Continuously maintain DISK I/O history false +
HIGH water mark for pending write I/Os per file [8193] +#
LOW water mark for pending write I/Os per file [4096] +#
Amount of usable physical memory in Kbytes 2097152
State of system keylock at boot time normal
Enable full CORE dump false +
Use pre-430 style CORE dump false +
Pre-520 tuning compatibility mode disable +
Maximum login name length at boot time [9] +#
Stack Execution Disable (SED) Mode select +
Enhanced RBAC Mode true +
NFS4 ACL Compatibility Mode secure +
ARG/ENV list size in 4K byte blocks [256] +#
CPU Guard enable +
Processor capacity increment 0.01
处理方法1:找出(删除)垃圾文件
# du -sg * |sort –r n |head
检查文件系统的完整性
# umount filesystem_name
# fsck filesystem_name
# fsck -y filesystem_name