Skip to main content

Tru 64 Disk Related Command


Tru 64 is a Old Operating system, Now a days only few organizations are using .

Below are some important commands which will help you.



Disk related commands:
# hwmgr -show scsi
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
————————————————————————-
72: 0 drfinnovde cdrom none 2 1 cdrom0 [2/0/0]
73: 1 drfinnovde disk none 2 1 dsk0 [4/0/0]
76: 2 drfinnovde raid none 0 1 scp0 [4/32/0]
86: 3 drfinnovde disk none 0 1 (null)
87: 4 drfinnovde disk none 0 1 (null)
88: 5 drfinnovde disk none 0 1 (null)
89: 6 drfinnovde disk none 0 1 (null)
90: 7 drfinnovde disk none 0 1 (null)
91: 8 drfinnovde disk none 0 1 (null)
93: 10 drfinnovde disk none 2 1 dsk7 [4/7/0]
94: 11 drfinnovde disk none 2 1 dsk8 [4/1/0]
95: 12 drfinnovde disk none 2 1 dsk9 [4/3/0]
96: 13 drfinnovde disk none 2 1 dsk10 [4/2/0]
112: 14 drfinnovde disk none 2 1 dsk11 [4/4/0]
113: 15 drfinnovde disk none 2 1 dsk12 [4/5/0]
114: 16 drfinnovde disk none 0 1 dsk13 [4/6/0]
115: 17 drfinnovde disk none 0 1 dsk14 [4/8/0]
116: 9 drfinnovde tape none 0 1 tape1 [1/2/0]
For check the Devices:
# hwmgr -view devices
HWID: Device Name Mfg Model Location
——————————————————————————
5: /dev/dmapi/dmapi
6: /dev/scp_scsi
7: /dev/kevm
35: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
72: /dev/disk/cdrom0c HL-DT-ST RW/DVD GCC-H20N bus-2-targ-0-lun-0
73: /dev/disk/dsk0c COMPAQ LOGICAL VOLUME bus-4-targ-0-lun-0
74: /dev/random
75: /dev/urandom
76: /dev/cport/scp0 Smart Array 5300 bus-4-targ-32-lun-0
93: /dev/disk/dsk7c COMPAQ LOGICAL VOLUME bus-4-targ-7-lun-0
94: /dev/disk/dsk8c COMPAQ LOGICAL VOLUME bus-4-targ-1-lun-0
95: /dev/disk/dsk9c COMPAQ LOGICAL VOLUME bus-4-targ-3-lun-0
96: /dev/disk/dsk10c COMPAQ LOGICAL VOLUME bus-4-targ-2-lun-0
112: /dev/disk/dsk11c COMPAQ LOGICAL VOLUME bus-4-targ-4-lun-0
113: /dev/disk/dsk12c COMPAQ LOGICAL VOLUME bus-4-targ-5-lun-0
114: /dev/disk/dsk13c COMPAQ LOGICAL VOLUME bus-4-targ-6-lun-0
115: /dev/disk/dsk14c COMPAQ LOGICAL VOLUME bus-4-targ-8-lun-0
116: /dev/ntape/tape1 HP Ultrium 4-SCSI bus-1-targ-2-lun-0

Comments

Popular posts from this blog

HP SMART ARRAY CLI COMMANDS

Show configuration : /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail Rescan for New Devices /opt/hp/hpssacli/bin/hpssacli rescan Physical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status Show detailed physical disk information /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail Logical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status View Detailed Logical Drive Status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show Create New RAID 0 Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0 Create New RAID 1 Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld dri...

Monthly Mksys OS backup AIX

Step-1 Estimate Backup: ================================================================= df -tk `lsvgfs rootvg` | awk ‘{total+=$3}\ END {printf “Estimated mksysb size: %d bytes, %.2f GB\n”, total*1024, total/1024/1024}’ It will give you the estimated time of backup, Step-2 Backup Command: backupios -file /home/padmin/28August2013_TESTVIOI_mksysb ===============> VIO Backup Command mksysb -e -i -X /mksysb/10Nov2013_server-1_mksysb============================>AIX server Backup command Step-3 ================= Pre -checks: => check NFS FS size(Backup file) and root vg FS sizes . Note : if any FS Full Zip old logs => To check performance of the server => To check root VG FS => To check /etc/exclude ========================== Step-4 ================================ server-1 mksysb -e -i -X /mksysb/02March2014_server-1_mksysb server-2 mksysb -e -i -X /mksysb/02March2014_sever-2_mksysb Post checkups: ==> check the process running o...

HP proliant SERVER hardware commands

to check the failed disk, adapter, any physical component on hp prolient server use the below important command. # hpacucli controller all show config———-to See the failed disk in HP proliant server  Smart Array P410i in Slot 0 (Embedded) (sn: 500143802590F6C0) logicaldrive 1 (558.9 GB, RAID 1, Interim Recovery Mode) array A (SAS, Unused Space: 0 MB) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 600 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 600 GB, Failed)====>indicating the faild drive SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 500143802590F6CF) [root@TEST:/root]# hpacucli ctrl slot=0 show Smart Array P410i in Slot 0 (Embedded) Bus Interface: PCI Slot: 0 Serial Number: 500143802590F6C0 Cache Serial Number: PBCDH0CRH1Z6R3 RAID 6 (ADG) Status: Disabled Controller Status: OK Hardware Revision: C Firmware Version: 6.60 Rebuild Priority: Medium Expand Priority: Medium Surface Scan Delay: 3 secs Surface Scan Mode: Idle Queue Depth: Autom...