注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

欢迎光临我的博客

 
 
 

日志

 
 

unix文件系统卷管理对比  

2009-03-17 14:38:39|  分类: unix |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
DISK/LVM Commands AIX HP-UX LINUX(RedHat) SOLARIS(VxVM)
Filesystem table /etc/filesystems /etc/fstab /etc/fstab /etc/vfstab
Free disk blocks df -k bdf df -k df -k
Device listing lsdev -C /sbin/ioscan cat /proc/devices sysdef
Disk information bootinfo -s hdisk# diskinfo /dev/rdsk/c#t#d# cat
/proc/scsi/scsi0/sda/model
format -d c#t#d#

format>current
format>inquiry
Disk Label ispv -l hdisk# pvdisplay -v /dev/dsk/C#t#d# fdisk -l prtvtoc
LVM Concepts Partition logical extents logical extents sub disk
Volume logical volume logical volume Volume
Plex
Volume group volume group volume group disk group
Journal Filesystem type jfs vxfs ext3 vxfs
Default volume group /dev/rootvg /dev/vg00 /dev/vx/dsk/rootdg
Display volume group lsvg -l rootvg vgdisplay -v vg00 vgdisplay -v vxprint -l -g rootdg
Modify physical volume chpv pvchange pvchange vxdisk
Prepare physical disk mkdev -c disk -l hdisk# pvcreate pvcreate vxprint -dl
List phycical volume lspv pvdisplay pvdisplay vxprint -dl
Remove disk from volume group reducevg vgreduce vgreduce vxdg rmdisk
Move logical volumes to another physical volumes migratepv pvmove pvmove vxassist move
Create volume group mkvg vgcreate vgcreate vxdg init
Remove volume group vgremove vgremove vxdg destroy
Volume group availability chvg
varyonvg
varyoffvg
vgchange vgchange vxdg set
Restore volume group vgcfgrestore vgcfgrestore vxconfigrestore
Exports volume group exportvg vgexport vgexport vxdg deport
Imports volume group importvg vgimport vgimport vxdg import
Volume group listing lsvg vgscan vgscan vxdg list
Change logical volume characteristics chlv lvchange lvchange vxedit set
List logical volume lslv lvdisplay lvdisplay vxprint -vl
Make logical volume mklv lvcreate lvcreate vxassist make
Extend logical volume extendlv lvextend lvextend vxassist growto
Reduce logical volume lvreduce lvreduce vxassist shrinkto
Remove logical volume rmlv lvremove lvremove vxedit rm
Prepare boot volumes bootlist -m normal lvlnboot lilo vxbootsetup
Remove boot volumes lvrmboot
Extend File system chfs -a size=# /mt extendfs /dev/vg00/lv0l8

fsadm -F vxfs -b{LE * 1024} /mt
resize2fs

resize_reiserfs
vxresize

fsadm -F vxfs -b {block#} /mt
Reduce/Splic mirrors rmlvcopy lvsplit lvsplit vxassist remove mirror
Merge mirrors lvmerge lvmerge
Create mirrors mklv -c 2 lvcreate -m 1 vxassist mirror
Add mirrors mklvcopy lv2 lvextend -m 1 vxassist mirror
Create striped volumes mklv -u 3 -S 64K lvcreate -i 3 -l 64 lvcreate -i 3 -l 64 vxassist make vol 100mb layout=raid5
System recovery tape mksysb -i /dev/rmt0 /opt/ignite/bin/make_recovery
Backup savevg -i rootvg fbackup tar cvf /dev/rst0/ vxdump
Restore restvg frecover tar xvf /dev/rst0 vxrestore
  评论这张
 
阅读(591)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017