Posts

Showing posts with the label LVM

Sample LVM Procedures:

Filesystem Procedures Procedure to create a filesystem using JFS: See below the procedure for creating a logical volume and a filesystem using JFS: Procedure to extend the size of filesystem using JFS: "df" to see the filesystem, it's current size, % utilization and the name of it's logical volume "lslv " to show information about the logical volume including it's volume group name. "lsvg " to show information about the volume group, including number of free pp's and the pp size If there are not enough free pp's then see below for procedure to add a disk to a volume group. "chfs -a size= +4194304 " to grow the filesystem by 2 GB (4194304=2*1024*1024*1024/512) NOTE: Growing the file system will automatically grow the logical volume df" shows the file system's current size is 2 GB more than before. Troubleshooting extending the size of a filesystem using JFS: Error Message: 0516-787 extendlv:

AIX: LVM Overview

Image
LVM Theory Physical Volume = PV is IBM speak for a disk (it could be worse some IBMers still refer to DASD! (Dyanical Access Storage Device which is a main frame term). They are: Named by AIX as hdisk0, hdisk1, hdisk2, ... Regardless of the underlying technology (SCSI, SSA sort of IBM's early SAN, SAN, RAID5 using the adapter) Disk and AIX automatic bad block reallocation Volume Group = VG is IBM speak for a group of disks Volume Group operations: Disk space always allocated within single VG All disks available in AIX or none - work as a group Can be exported to be attached to other AIX - allows High Availability HACMP First VG called rootvg Root Volume Group (rootvg) is created automatically while installing AIX is placed within this VG AIX files Initial paging Usually only the first disk Or two, to allow mirroring of rootvg Often internal disks Recommend: Keep to a small number of disks Other Volume Groups Other VG created by the System Admin.