免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2533 | 回复: 0
打印 上一主题 下一主题

[存储备份] AIX磁盘管理命令 [复制链接]

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-10 21:47 |只看该作者 |倒序浏览

#df –k                   检查文件系统的剩余空间 #df -G>
/dev/lv00       10485760       44%        /oracle
/dev/lv01        52428800       12%        /oradata
/dev/hd1         131072           4%         /home
/dev/ha9v       ar    262144           12%        /var

#smitty fs
选择/var
File system name                         /var
Size of file system
              Unit size                       512bytes
              Number of units            524288
Mount group                               bootfs
Mount Automatically at system restat ?yes
Permissions                                read/write
Start DISK actioning                    no
Fragment size (bytes)             4096
Compression algorithom               no
Large File Enable                         true
Allocation Group Size(MBytes)     64

#lspv             /看有几个硬盘
hdisk0            005baffcf84b78a7         rootvg           active
hdisk2            005baf6c02b69d7          oravg             active

#prtconf                     /查看系统配置

#lsvg -o
#lsvg -p oravg
hdisk2            active             total pps =779      free pps=398        1pps=128M

#lslv -l  lv00
lv00:/oracle
PV:hdisk0

#lsps     -a                /查看换页空间的大小
hd6         hdisk0            rootvg            1152MB

#lsvg -l  rootvg
lv name          Type              LPS        PPS        PVS        Lvstate
hd5                boot        1            1            1            
lv00               jfs           80           80           1            open

#smitty -lvm                   /建立LV有下面四个选项
『Volume Groups』
『Logical Volumes』
『Physical Volumes』
『paging space』

#smitty -lvm     
              ——#Logical Volumes
              ——#list all logical volumes by volume group
oravg
lv name          type        pps         mount point                        
lv01               jfs           400         /oradata
rootvg
lv name          type        pps         mount point
lv00               jfs           80           /oracle

#smitty -lvm     
              ——#Volume Groups
              ——#add a volume group
volume group name=
physical partition size in megabytes =4
physical volme name=hdisk?
Force the creation of volume group=no
Active volume group automatically
                     At system restart?=yes
Volume group major number =『』
Create a big VG format volumes group?=no
LTG size in Kbytes =128

#smitty -lvm     
              ——#Physical Volumes
              ——#list all phsycal volumes in system
hdisk0
hdisk1
hdisk2
hdisk3
hdisk4
hdisk5
              ——add a disk

#smitty -lvm     
              ——#paging space
              ——list all paging space
page space             hd6
PV                        hdisk0
VG                       rootvg
Size                      1152MB
              ——change/show characteristics of a paging space
paging space name               『』
PV                                      『』
VG                                     『』
Number of additional logical partions
Or number fo logical partition to remove『』
Use this paging space each time the system
Is restarting                                『yes』


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_683739.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP