Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
(no subject)
Josh 201604 KWP
joshdavis
root@oracle2  /root
# mkszfile
0516-104 /usr/sbin/lquerylv: Incorrect LV identifier. The format must be
        VG_identifier.LV_minor_number
0516-104 /usr/sbin/lquerylv: Incorrect LV identifier. The format must be
        VG_identifier.LV_minor_number
0516-104 /usr/sbin/lquerylv: Incorrect LV identifier. The format must be
        VG_identifier.LV_minor_number

root@oracle2  /root
# lsvg -l rootvg
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       12      24      2    open/syncd    /
hd2                 jfs2       34      68      2    open/syncd    /usr
hd9var              jfs2       10      20      2    open/syncd    /var
hd3                 jfs2       40      80      2    open/syncd    /tmp
hd1                 jfs2       1       2       2    open/syncd    /home
hd10opt             jfs2       132     264     2    open/syncd    /opt
alt_hd11admin       jfs2       1       1       1    closed/syncd  N/A
pridump             sysdump    24      24      1    open/syncd    N/A
secdump             sysdump    24      24      1    open/syncd    N/A


redefinevg and savebase had no help.

Maybe I can remove hd11?

root@oracle2  /root
# ll /admin
total 8
drwxr-xr-x    2 root     system          256 Mar 07 16:42 .
drwxr-xr-x   37 root     system         4096 Mar 07 19:17 ..

root@oracle2  /root
# chlv -n hd11admin alt_hd11admin
0516-308 getlvodm: Unable to find logical volume attribute alt_hd11admin
        in the Device Configuration Database.
0516-704 chlv: Unable to change logical volume alt_hd11admin.

root@oracle2  /root
# rmlv alt_hd11admin
Warning, all data contained on logical volume alt_hd11admin will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
0516-314 getlvodm: Unable to find logical volume alt_hd11admin in the Device
        Configuration Database.
0516-912 rmlv: Unable to remove logical volume alt_hd11admin.

root@oracle2  /root
# lsvg -l rootvg
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       12      24      2    open/syncd    /
hd2                 jfs2       34      68      2    open/syncd    /usr
hd9var              jfs2       10      20      2    open/syncd    /var
hd3                 jfs2       40      80      2    open/syncd    /tmp
hd1                 jfs2       1       2       2    open/syncd    /home
hd10opt             jfs2       132     264     2    open/syncd    /opt
alt_hd11admin       jfs2       1       1       1    closed/syncd  N/A
pridump             sysdump    24      24      1    open/syncd    N/A
secdump             sysdump    24      24      1    open/syncd    N/A


It looks like hd8 may also be borken:
+ + /usr/sbin/getlvodm -B alt_hd11admin
LBL=/alt_inst/admin
+ [ /alt_inst/admin = None ]
+ canonical /alt_inst/admin
+ print \tLABEL= /alt_inst/admin
+ [ no = yes ]
+ print \tMAPFILE=
+ [ 0 -eq 1 ]
+ print \tLV_MIN_LPS=
+ + echo
+ awk BEGIN {FS=":"} { print $1 }
+ awk BEGIN {FS="\n"; RS = ""} { print $16 }
CHECKSTRIPE=
+ STRIPE_SIZE=
+ [[ = ]]
+ print \tSTRIPE_WIDTH=
+ print \tSTRIPE_SIZE=
+ DEV_SUBTYPE=
+ SERIALIZE_IO=
+ [ = YES ]
+ SERIALIZE_IO=no
+ print \tSERIALIZE_IO= no
+ + /usr/sbin/getlvcb -f alt_hd11admin
+ LC_ALL=C
TAG=vfs=jfs2:log=/dev/alt_hd8:mount=true:account=false
+ [[ -n vfs=jfs2:log=/dev/alt_hd8:mount=true:account=false ]]
+ print \tFS_TAG= vfs=jfs2:log=/dev/alt_hd8:mount=true:account=false
+ print \tDEV_SUBTYP=

?

Log in

No account? Create an account