Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Friday, 21 December 2012

AIX LVM Quick Refrence


Quick reference only. Assumed the reader is familiar with the concept of AIX LVM
Action
smitty command
Command line
Remarks
Create a VG
smitty mkvg
mkvg -y '' -s '128'
Create a LV
smitty mklv
mklv -t jfs -y ''
jfs2 is preferred
Create a filesystem
smitty crfs
crfs -v jfs -a bf=true -d -m -A
jfs2 is preferred
Resize FS
smitty chfs
chfs -a size=+
Extend a VG
smitty extendvg
extendvg ...
Reduce a VG
smitty reducevg
reducevg
Move PV data
smitty migratepv
migratepv -l
Online a vg
smitty varyonvg
varyonvg
Offline a vg
smitty varyoffvg
varyoffvg
Export a VG
smitty exportvg
exportvg
Import a VG
smitty importvg
importvg -y
Remove a filesystem
smitty rmfs
Not recommend to use CLI
Make a lvcopy
smitty mklvcopy
Mirror a LV
Remove a lvcopy
smitty rmlvcopy
Remove the mirror of a LV
Split a lvcopy
No smitty
splitlvcopy -y 1
Mirror a vg
smitty mirrorvg
mirrorvg
Unmirror a vg
smitty unmirrorvg
Not recommend to use CLI

No comments:

Post a Comment