December 2003
Intermediate to advanced
458 pages
9h 3m
English
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 ... |