View Single Post
  #9  
Old May 31st, 2007
sbzx's Avatar
sbzx Offline
POWER SE
 
Join Date: September 2006
Location: Szentendre, Hungary
Posts: 27
Cool Re: how to setup LVM?

ketse,

I mean no harm but you should really consult the relevant man pages and documentation. Until you do, here's what you should do to get what you want (I will assume you use AIX 5.3):

(1) Create a VG: mkvg -S -y vgname -s 64 hdisk1 hdisk2 hdisk3 hdisk4

(2) Create an LV to occupy the entire VG: mklv -y lvname -e x -t jfs2 vgname total_pp_count, where the total_pp_count equals the total number of physical partitions in your newly created VG (lsvg vgname, check for TOTAL PPs)

(3) Create a filesystem to occupy the entire LV: crfs -v jfs2 -d /dev/lvname -m /mount_point -A y -a log=INLINE

Start reading, it'll make your life much easier. And happier! Good luck.
Reply With Quote