Basic Command of AIX



PV (Physical Volume): Hard Disk is called as a Physical Volume in AIX
# cfgmgr                       Command is used to add devices to the system.
# lsdev –l hdisk1                            to
# chdev –l hdisk1 –a pv=clear        to clear PID
# chdev –l hdisk1 –a pv=yes           to create PID
# chdev –l inet0 –a hostname=Name         to change hostname
# mkvg –y vgname hdisk                               to Create Volume Group
# mklv –y lvname –t jfs2 vgname size         to create Logical Volume
# crfs –v jfs2 –d lvname –m /mountpoint   to create file system
# lsdev –p                                   to view predefined devices
# lsdev –Cc                                 to view customized devices
# lsattr                                         to attribute  
# lscfg –l                                      to view configuration
# lscfg –vl hdisk                         to view details like Manufacturer, Model, Serial, FRU number

JFS – maximum file size 64 GB

JFS2 – Maximum file size 4 PB

Comments

Popular posts from this blog

Migration in AIX

Mirroring in AIX