Thursday, April 23, 2009

AIX - LVM - Create Logical Volume

Create LV

All the File systems belongs to individual LV, after creating the VG’s we should create the LV using mklv command

Suppose you want to create LV name as newlv

#mklv –y newlv –t jfs2 datavg 5 hdisk4

-y for confirmation
-t type mentioning the filesystem type i.e. jfs or jfs2,
Datavg – lv created on datavg
5 – 5 PP’s allocated for newlv ( 1 pp size 32MB the newlv size is 32MB*5 = 160MB)
Hdisk4 – that newlv is belongs to PV hdisk4

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.