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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用Linux expect批次巡檢Linux Aix Solaris磁碟使用率指令碼LinuxAI指令碼
- Linux—磁碟配額,管理LVM邏輯卷LinuxLVM
- Solaris常用命令
- Solaris系統與Linux系統常用命令的區別介紹Linux
- 各大作業系統AIX/HPUX/Solaris/Linux下的系統日誌作業系統AILinux
- Linux硬碟掛載與磁碟分割槽基礎(二)(物理卷、卷組、邏輯卷)Linux硬碟
- Solaris 11常用命令
- Linux磁碟管理Linux
- Linux 磁碟管理Linux
- Linux LVM磁碟管理與FS掛載LinuxLVM
- Linux磁碟管理與檔案系統(關於磁碟方面)Linux
- linux之磁碟管理Linux
- Linux 磁碟操作管理Linux
- IBM AIX儲存層結構分析+aix常用命令IBMAI
- Linux 磁碟與磁碟分割槽Linux
- linux下玩轉磁碟管理與掛載硬碟Linux硬碟
- Linux系統磁碟管理Linux
- Linux下的磁碟分割槽和邏輯卷Linux
- Linux-使用者管理與建立邏輯卷Linux
- AIX操作相關常用命令整理AI
- 【Linux基礎入門】Linux磁碟與檔案系統管理命令!Linux
- Solaris Linux SSH緩慢診斷與解決Linux
- linux 磁碟分割槽掛載-LVM-物理卷PV,卷組VG,邏輯卷LVLinuxLVM
- Linux指令入門-磁碟管理Linux
- LINUX下磁碟管理的基本流程與相關操作命令Linux
- Oracle ASM磁碟組擴容(AIX7.1)OracleASMAI
- Linux 檔案與目錄管理常用命令 記錄Linux
- 系統管理指南:Oracle Solaris Containers-資源管理和 Oracle Solaris ZonesOracleAI
- Linux 筆記分享六:磁碟管理Linux筆記
- Linux下LVM邏輯卷管理LinuxLVM
- AIX相關管理命令AI
- Linux系統管理-常用命令Linux
- 手把手教學----LVM邏輯卷管理與磁碟配額實操全流程LVM
- Linux雲端計算-06_Linux磁碟管理Linux
- Linux常用命令與工具Linux
- Linux磁碟管理常用的三個命令!Linux
- 在Linux中,如何管理磁碟配額?Linux
- Linux-記憶體和磁碟管理Linux記憶體
- oracle xtts遷移 AIX to LinuxOracleTTSAILinux