Task-specific command comparison

Table A-3 compares task-specific commands for AIX and Linux.

Table A-3. Command comparison
TaskAIXLinux
Listing physical volumeslspvpvdisplay
List partitions in a disklspv -l <disk>fdisk -l <disk>
List volume groupslsvgvgdisplay
Create volume groupmkvgvgcreate
Remove volume grouprmvgvgremove
Add physical volume to volume groupsextendvgvgextend
Remove VG definitionexportvgvgexport
Remove physical volume from volume groupreducevgvgreduce
Import volume groupsimportvgvgimport
Activate volume groupvaryonvgvgchange
List logical volumelslvlvdisplay
Create logical volumesmklvlvcreate
Grow file systems with LVchfsresize_reiserfs, resize2fs
Shrink file system-resize_reiserfs, resize2fs
Paging/Swap spacelsps -aprocinfo 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.