トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


  • 追加された行はこの色です。
  • 削除された行はこの色です。
***ダンプ出力先DASDの準備 [#zdc7768a]
#contentsx
***ダンプデバイスの準備 [#zdc7768a]
アドレス8107の3390-3型のDASDをダンプ出力先とする。
-出力先のDASDをLinuxに認識させる
 # vmcp q v dasd
 DASD 0190 3390 62CRES R/O        214 CYL ON DASD  8004 SUBCHANNEL = 000A
 DASD 0191 3390 62CW02 R/W        150 CYL ON DASD  8008 SUBCHANNEL = 0010
 DASD 019D 3390 62CRES R/O        292 CYL ON DASD  8004 SUBCHANNEL = 000B
 DASD 019E 3390 62CRES R/O        500 CYL ON DASD  8004 SUBCHANNEL = 000C
 DASD 8107 3390 VL8107 R/W       3339 CYL ON DASD  8107 SUBCHANNEL = 0011
 DASD 8400 3390 0X8400 R/W      10017 CYL ON DASD  8400 SUBCHANNEL = 000D
 DASD 8401 3390 0X8401 R/W      10017 CYL ON DASD  8401 SUBCHANNEL = 000E
 DASD 8402 3390 0X8402 R/W      10017 CYL ON DASD  8402 SUBCHANNEL = 000F

 
 # chccwdev -e 8107
 Setting device 0.0.8107 online
 Done

 
 # lsdasd -a
 Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks
 ==============================================================================
 0.0.0190   offline
 0.0.0191   offline
 0.0.019d   offline
 0.0.019e   offline
 0.0.8400   active      dasda     94:0    ECKD  4096   7043MB    1803060
 0.0.8401   active      dasdb     94:4    ECKD  4096   7043MB    1803060
 0.0.8402   active      dasdc     94:8    ECKD  4096   7043MB    1803060
 0.0.8107   n/f         dasdd     94:12   ECKD
-ダンプ出力先のDASDをフォーマットしパーティションを作成する
 # dasdfmt -f /dev/dasdd -b 4096
 Drive Geometry: 3339 Cylinders * 15 Heads =  50085 Tracks
 
 I am going to format the device /dev/dasdd in the following way:
    Device number of device : 0x8107
    Labelling device        : yes
    Disk label              : VOL1
    Disk identifier         : 0X8107
    Extent start (trk no)   : 0
    Extent end (trk no)     : 50084
    Compatible Disk Layout  : yes
    Blocksize               : 4096
 
 --->> ATTENTION! <<---
 All data of that device will be lost.
 Type "yes" to continue, no will leave the disk untouched: yes
 Formatting the device. This may take a while (get yourself a coffee).
 Finished formatting the device.
 Rereading the partition table... ok

 
 # fdasd -a /dev/dasdd
 reading volume label ..: VOL1
 reading vtoc ..........: ok
 
 auto-creating one partition for the whole disk...
 writing volume label...
 writing VTOC...
 rereading partition table...
-ダンプデバイスへのスタンドアローン・ダンププログラム導入
 # zipl  -d /dev/dasdd1
 Dump target: partition '/dev/dasdd1' with a size of 2347 MB.
 Warning: All information on partition '/dev/dasdd1' will be lost!
 Do you want to continue creating a dump partition (y/n)?y
 Done.
***メモリダンプの取得 [#i898eb45]
-CPUの停止
 #CP SET TIMEBOMB OFF
 #CP CPU ALL STOP
 #CP STORE STATUS
 Store complete .
-ダンプデバイスからIPLしメモリダンプの取得実施
 #CP IPL 8107
 zIPL v1.8.0-44.22.5 dump tool (64 bit)
 Dumping 64 bit OS
 00000128 / 00001024 MB
 00000256 / 00001024 MB
 00000384 / 00001024 MB
 00000512 / 00001024 MB
 00000640 / 00001024 MB
 00000768 / 00001024 MB
 00000896 / 00001024 MB
 00001024 / 00001024 MB
 Dump successful
 HCPGIR450W CP entered ; disabled wait PSW 00020000 80000000 00000000 00000000
***ダンプデバイスからメモリダンプの取り出し [#kd4a67b5]
-ダンプデバイスの確認
 # zgetdump -i /dev/dasdd1
 Dump device: /dev/dasdd1
 
 > "zgetdump -i" checks if a dump on either
 > a dasd volume or single tape is valid.
 > If the tape is part of a multi-volume tape dump,
 > it checks if it is a valid portion of the dump.
 
 >>>  Dump header information  <<<
 Dump created on: Fri Jun 22 10:33:55 2012
 
 Magic number:    0xa8190xxxxxxxxxxxxxx
 Version number:  4
 Header size:     4096
 Page size:       4096
 Dumped memory:   1073741824
 Dumped pages:    262144
 Real memory:     1073741824
 cpu id:          0xff045xxxxxxxxxxxxxx
 System Arch:     s390x (ESAME)
 Build Arch:      s390x (ESAME)
 >>>  End of Dump header  <<<
 
 Dump ended on:   Fri Jun 22 10:33:58 2012
 
 Dump End Marker found: this dump is valid.
-ファイルへの書き出し
 # zgetdump /dev/dasdd1 > /tmp/sadump.2012062201
 Dump device: /dev/dasdd1
 
 >>>  Dump header information  <<<
 Dump created on: Fri Jun 22 10:33:55 2012 
 
 Magic number:	 0xa8190xxxxxxxxxxxxxx
 Version number:	 4
 Header size:	 4096
 Page size:	 4096
 Dumped memory:	 1073741824
 Dumped pages:	 262144
 Real memory:	 1073741824
 cpu id:		 0xff045xxxxxxxxxxxxxx
 System Arch:	 s390x (ESAME)
 Build Arch:	 s390x (ESAME)
 >>>  End of Dump header  <<<
 
 Reading dump content ................................
 Dump ended on:   Fri Jun 22 10:33:58 2012
 
 
 Dump End Marker found: this dump is valid.
----
#counter