jeudi 18 octobre 2012

how to find the underlying vio server

I need to know, from a partition, how to find which vio server it relies on :

We need to use kdb  : 

on Npiv servers

root @test #  echo "vfcs" | kdb
           START              END
0000000000001000 0000000004090000 start+000FD8
F00000002FF47600 F00000002FFDF9C0 __ublock+000000
000000002FF22FF4 000000002FF22FF8 environ+000000
000000002FF22FF8 000000002FF22FFC errno+000000
F1000F0A00000000 F1000F0A10000000 pvproc+000000
F1000F0A10000000 F1000F0A18000000 pvthread+000000
read vscsi_scsi_ptrs OK, ptr = 0x0
(0)> vfcs
NAME      ADDRESS             STATE   HOST      HOST_ADAP  OPENED NUM_ACTIVE
fcs0      0xF1000A0000156000  0x0008  vioserver1vfchost0  0x01    0x0000

root @test # 

on vscsi servers

root @test #  echo "cvai" | kdb | grep vscsi
Preserving 30612 bytes of symbol table [./usr/lib/drivers/vscsi_initdd]
read vscsi_scsi_ptrs OK, ptr = 0xF1000000A0138378
vscsi0     0x000007 0x0000000000 0x0                vio73->vhost7
vscsi1     0x000007 0x0000000000 0x0                vio74->vhost7

Aucun commentaire:

Enregistrer un commentaire