AIX,HP-UX,LINUX,SOLARIS磁碟與卷管理常用命令
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 | format -d c#t#d# |
/proc/scsi/scsi0/sda/model | ||||
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 | vgchange | vgchange | vxdg set |
varyonvg | ||||
varyoffvg | ||||
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 | resize2fs | vxresize |
fsadm -F vxfs -b{LE * 1024} /mt | resize_reiserfs | 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 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/78250/viewspace-1062961/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX、HP-UX、Linux、Solaris 常用命令及配置檔案對照表AILinux
- AIX 卷管理常用命令AI
- How many nodes can be had in an HP-UX/Solaris/AIX/Windows/Linux cluster?AIWindowsLinux
- AIX磁碟管理AI
- HP-UX磁碟管理與檔案系統UX
- RAC中驗證各個節點磁碟機代號是否是同一個LUN(AIX LINUX HP-UX SOLARIS)AILinux
- HP-UX邏輯卷管理UX
- unix系統資訊收集參考(hp-ux,solaris,aix)UXAI
- AIX、HP-UX、Linux常用命令及配置檔案對照表AILinux
- AIX磁碟管理命令AI
- 使用Linux expect批次巡檢Linux Aix Solaris磁碟使用率指令碼LinuxAI指令碼
- 【Solaris】Solaris檔案系統管理6 磁碟配額管理
- Linux—磁碟配額,管理LVM邏輯卷LinuxLVM
- AIX儲存管理(二)物理卷管理AI
- AIX儲存管理(三)卷組管理AI
- hp-ux/linux常用命令Linux
- Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation aOracleDatabaseAILinuxMac
- 【Solaris】solairs 磁碟大於1TB管理AI
- RAC中驗證各個節點碟符是否是同一個LUN(AIX LINUX HP-UX SOLARIS)AILinux
- Solaris管理員常用命令簡明手冊
- Linux磁碟管理與檔案系統(關於磁碟方面)Linux
- Linux磁碟管理Linux
- Linux 磁碟管理Linux
- AIX rootvg映象建立與磁碟更換AI
- Solaris常用命令
- HP-UX常用命令UX
- Mount ISO on liunx/aix/solarisAI
- aix 下nfs solaris mountAINFS
- HP-UX 建立邏輯卷UX
- Solaris系統與Linux系統常用命令的區別介紹Linux
- Linux LVM磁碟管理與FS掛載LinuxLVM
- linux_unix_aix_hp_solaris multi path多路徑配置LinuxAI
- Linux 磁碟操作管理Linux
- HP-UX下做磁碟映象UX
- Solaris 11常用命令
- LINUX(十四)Linux磁碟管理Linux
- Linux 磁碟與磁碟分割槽Linux
- linux下玩轉磁碟管理與掛載硬碟Linux硬碟