Originally posted by: funksen
mkvg -s 128 -y myvgname hdiskx mklv -t jfs2 -y mylv myvgname 10 crfs -v jfs2 -A yes -d mylv -m /myfilesystem
1. creates a volume group myvgname with pp size 128mb on hdiskx
2. creates a logical volume with name mylv and 10pps in myvgname
3. creates filesystem /myfilesystem on lv mylv
you may need to set special parameters depending on your needs, for the disk, such as queue_depth, the vg, like autovaryon, the lv, mirrors for example, and for the filesystem, mountgroup or automount on system boot, automated filesystemcheck, check out the man pages of these commands