Thursday, July 25, 2013

ORACLE - ASM command

lsct
DB_Name   Status     Software_Version  Compatible_version  Instance_Name  Disk_Group
JDB   CONNECTED        11.2.0.3.0          11.2.0.0.0  JDB                DG_JDB_01
JDB2  CONNECTED        11.2.0.3.0          11.2.0.0.0  HMWPRD01           DG_JDB2_01

lsdg
State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512   4096  1048576   1046400   930493                0          930493              0             N  DG_JDB2_01/

 lsdskPath
ORCL:D_JDB_01
ORCL:D_JDB_02
ORCL:D_JDB_03
ORCL:D_JDB_01
ORCL:D_JDB_02
ORCL:D_JDB2_01
ORCL:D_JDB2_02
ORCL:D_JDB2_03

lsdsk -t -G DG_JDB_01Create_Date  Mount_Date  Repair_Timer  Path
12-FEB-13    27-MAR-13   0             ORCL:D_JDB_01
12-FEB-13    27-MAR-13   0             ORCL:D_JDB_02
12-FEB-13    27-MAR-13   0             ORCL:D_JDB_03

-help
        md_backup, md_restore
        lsattr, setattr
        cd, cp, du, find, help, ls, lsct, lsdg, lsof, mkalias
        mkdir, pwd, rm, rmalias
        chdg, chkdg, dropdg, iostat, lsdsk, lsod, mkdg, mount
        offline, online, rebal, remap, umount
        dsget, dsset, lsop, shutdown, spbackup, spcopy, spget
        spmove, spset, startup
        chtmpl, lstmpl, mktmpl, rmtmpl
        chgrp, chmod, chown, groups, grpmod, lsgrp, lspwusr, lsusr
        mkgrp, mkusr, orapwusr, passwd, rmgrp, rmusr
        volcreate, voldelete, voldisable, volenable, volinfo
        volresize, volset, volstat

No comments:

Post a Comment