Sunday, 24 March 2013

lsmksysb


There's a simple command to list information about a mksysb image, called lsmksysb:
# lsmksysb -lf mksysb.image
VOLUME GROUP: rootvg
BACKUP DATE/TIME: Mon Jun 6 04:00:06 MST 2011
UNAME INFO: AIX testaix1 1 6 0008CB1A4C00
BACKUP OSLEVEL: 6.1.6.0
MAINTENANCE LEVEL: 6100-06
BACKUP SIZE (MB): 49920
SHRINK SIZE (MB): 17377
VG DATA ONLY: no

rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 8 16 2 open/syncd /
hd2 jfs2 40 80 2 open/syncd /usr
hd9var jfs2 40 80 2 open/syncd /var
hd3 jfs2 40 80 2 open/syncd /tmp
hd1 jfs2 8 16 2 open/syncd /home
hd10opt jfs2 8 16 2 open/syncd /opt
dumplv1 sysdump 16 16 1 open/syncd N/A
dumplv2 sysdump 16 16 1 open/syncd N/A
hd11admin jfs2 1 2 2 open/syncd /admin

No comments:

Post a Comment