Task-specific command comparison
Table A-3 compares task-specific commands for AIX and Linux.
Task | AIX | Linux |
---|---|---|
Listing physical volumes | lspv | pvdisplay |
List partitions in a disk | lspv -l <disk> | fdisk -l <disk> |
List volume groups | lsvg | vgdisplay |
Create volume group | mkvg | vgcreate |
Remove volume group | rmvg | vgremove |
Add physical volume to volume groups | extendvg | vgextend |
Remove VG definition | exportvg | vgexport |
Remove physical volume from volume group | reducevg | vgreduce |
Import volume groups | importvg | vgimport |
Activate volume group | varyonvg | vgchange |
List logical volume | lslv | lvdisplay |
Create logical volumes | mklv | lvcreate |
Grow file systems with LV | chfs | resize_reiserfs, resize2fs |
Shrink file system | - | resize_reiserfs, resize2fs |
Paging/Swap space | lsps -a | procinfo cat /proc/swaps ... |
Get Deploying Linux on IBM eServer pSeries Clusters now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.