<div dir="ltr"><div><div><div><div>Hello<br><br></div><span id="result_box" class="" lang="en"><span class="">Of course</span></span>:<br><br></div>Node 01:<br><br><b>[root@dellr62001 ~]# iscsiadm -m session</b><br>tcp: [4] <a href="http://10.0.1.2:3260">10.0.1.2:3260</a>,1 iqn.2014-05-07.br.mp.mppb.ovirtstoragedell:target0<br>
tcp: [5] <a href="http://10.0.1.5:3260">10.0.1.5:3260</a>,1 iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0<br>tcp: [6] <a href="http://10.0.1.4:3260">10.0.1.4:3260</a>,1 iqn.2014-05-19.br.mp.mppb.ovirtstoragedell:target0<br>
<br>------------------------------------<br><br><b>[root@dellr62001 ~]# iscsiadm -m node </b><br><a href="http://10.0.1.4:3260">10.0.1.4:3260</a>,1 iqn.2014-05-19.br.mp.mppb.ovirtstoragedell:target0<br><a href="http://10.0.1.2:3260">10.0.1.2:3260</a>,1 iqn.2014-05-07.br.mp.mppb.ovirtstoragedell:target0<br>
<a href="http://10.0.1.5:3260">10.0.1.5:3260</a>,1 iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0<br><br>------------------------------------<br><br><b>[root@dellr62001 ~]# cat /etc/iscsi/initiatorname.iscsi</b><br>InitiatorName=iqn.1994-05.com.redhat:b2b7b5bc8064<br>
<br>------------------------------------<br><br><b>[root@dellr62001 ~]# vdsClient -s 0 getDeviceList</b><br>[{'GUID': '36848f690e893c700191f97ec0592859a',<br> 'capacity': '299439751168',<br>
'devtype': 'FCP',<br> 'fwrev': '3.13',<br> 'logicalblocksize': '512',<br> 'pathlist': [],<br> 'pathstatus': [{'lun': '0',<br> 'physdev': 'sda',<br>
'state': 'active',<br> 'type': 'FCP'}],<br> 'physicalblocksize': '512',<br> 'productID': 'PERC H710',<br> 'pvUUID': '',<br>
'serial': 'SDELLPERC_H710',<br> 'status': 'used',<br> 'vendorID': 'DELL',<br> 'vgUUID': ''},<br> {'GUID': '1IET_00010001',<br> 'capacity': '795936292864',<br>
'devtype': 'iSCSI',<br> 'fwrev': '0001',<br> 'logicalblocksize': '512',<br> 'pathlist': [{'connection': '10.0.1.5',<br> 'initiatorname': 'default',<br>
'iqn': 'iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0',<br> 'port': '3260',<br> 'portal': '1'}],<br> 'pathstatus': [{'lun': '1',<br>
'physdev': 'sdb',<br> 'state': 'active',<br> 'type': 'iSCSI'}],<br> 'physicalblocksize': '512',<br> 'productID': 'VIRTUAL-DISK',<br>
'pvUUID': 'ZYBOcU-X1HK-FzYL-LiJS-FnYm-ZoaU-ij9r89',<br> 'serial': 'SIET_VIRTUAL-DISK',<br> 'status': 'used',<br> 'vendorID': 'IET',<br> 'vgUUID': 'hWzBW8-Tgfh-Mysm-b0xx-ItIQ-D5vi-fF3vvI'}]<br>
<br>#####################################################<br><br></div>Node 02:<br><br><b>[root@dellr620-02 ~]# iscsiadm -m session</b><br>tcp: [4] <a href="http://10.0.1.2:3260">10.0.1.2:3260</a>,1 iqn.2014-05-07.br.mp.mppb.ovirtstoragedell:target0<br>
tcp: [5] <a href="http://10.0.1.5:3260">10.0.1.5:3260</a>,1 iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0<br>tcp: [6] <a href="http://10.0.1.4:3260">10.0.1.4:3260</a>,1 iqn.2014-05-19.br.mp.mppb.ovirtstoragedell:target0<br>
<br>------------------------------------------<br><br><b>[root@dellr620-02 ~]# iscsiadm -m node </b><br><a href="http://10.0.1.4:3260">10.0.1.4:3260</a>,1 iqn.2014-05-19.br.mp.mppb.ovirtstoragedell:target0<br><a href="http://10.0.1.2:3260">10.0.1.2:3260</a>,1 iqn.2014-05-07.br.mp.mppb.ovirtstoragedell:target0<br>
<a href="http://10.0.1.5:3260">10.0.1.5:3260</a>,1 iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0<br><br>------------------------------------------<br><br><b>[root@dellr620-02 ~]# cat /etc/iscsi/initiatorname.iscsi</b><br>
InitiatorName=iqn.1994-05.com.redhat:d2d5fc389e7e<br><br>------------------------------------------<br><br><b>[root@dellr620-02 ~]# vdsClient -s 0 getDeviceList</b><br>[{'GUID': '36848f690e8956600191f9159093c627e',<br>
'capacity': '299439751168',<br> 'devtype': 'FCP',<br> 'fwrev': '3.13',<br> 'logicalblocksize': '512',<br> 'pathlist': [],<br> 'pathstatus': [{'lun': '0',<br>
'physdev': 'sda',<br> 'state': 'active',<br> 'type': 'FCP'}],<br> 'physicalblocksize': '512',<br> 'productID': 'PERC H710',<br>
'pvUUID': '',<br> 'serial': 'SDELLPERC_H710',<br> 'status': 'used',<br> 'vendorID': 'DELL',<br> 'vgUUID': ''},<br> {'GUID': '1IET_00010001',<br>
'capacity': '795936292864',<br> 'devtype': 'iSCSI',<br> 'fwrev': '0001',<br> 'logicalblocksize': '512',<br> 'pathlist': [{'connection': '10.0.1.5',<br>
'initiatorname': 'default',<br> 'iqn': 'iqn.2014-05-23.br.mp.mppb.ovirtstorageHP01:target0',<br> 'port': '3260',<br> 'portal': '1'}],<br>
'pathstatus': [{'lun': '1',<br> 'physdev': 'sdb',<br> 'state': 'active',<br> 'type': 'iSCSI'}],<br>
'physicalblocksize': '512',<br> 'productID': 'VIRTUAL-DISK',<br> 'pvUUID': 'ZYBOcU-X1HK-FzYL-LiJS-FnYm-ZoaU-ij9r89',<br> 'serial': 'SIET_VIRTUAL-DISK',<br>
'status': 'used',<br> 'vendorID': 'IET',<br> 'vgUUID': 'hWzBW8-Tgfh-Mysm-b0xx-ItIQ-D5vi-fF3vvI'}]<br><br>I will add this information to the bug report.<br><br></div>If anyone know a way to reactivate this storage domains please share with me.<br>
<br>Is possible i erase the information of this storage domain and import it again in the oVirt admin portal?<br><div><br><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-26 14:13 GMT-03:00 Nir Soffer <span dir="ltr"><<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">----- Original Message -----<br>
> From: "Fagner Patricio" <<a href="mailto:fagner.patricio@gmail.com">fagner.patricio@gmail.com</a>><br>
> To: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
</div><div class="">> Sent: Tuesday, August 26, 2014 3:23:22 PM<br>
> Subject: Re: [ovirt-users] HELP - Storage Domains dot not active anymore.<br>
><br>
</div><div><div class="h5">> Has any command to rescan a iscsi target?<br>
><br>
><br>
> 2014-08-26 8:55 GMT-03:00 Fagner Patricio < <a href="mailto:fagner.patricio@gmail.com">fagner.patricio@gmail.com</a> > :<br>
><br>
><br>
><br>
> Hello Everybody<br>
><br>
> I sent the wrong files of friday of vdsm logs<br>
><br>
> this is the corrects<br>
><br>
> Node 01<br>
><br>
> <a href="https://mega.co.nz/#!QI5nRAyQ" target="_blank">https://mega.co.nz/#!QI5nRAyQ</a> !bobQ20wg0Ja-kWdZhzpxh8hYkGwiG1skJRAtH5DVu80<br>
><br>
> Node 02<br>
><br>
><br>
> <a href="https://mega.co.nz/#!MEwGjDyJ" target="_blank">https://mega.co.nz/#!MEwGjDyJ</a> !KgMi-ugv3_8WJhmrq7GB9yLPk1XNsKd-n-25OdiSmFg<br>
><br>
><br>
><br>
> 2014-08-26 8:12 GMT-03:00 Fagner Patricio < <a href="mailto:fagner.patricio@gmail.com">fagner.patricio@gmail.com</a> > :<br>
><br>
><br>
><br>
><br>
> Hello everybody<br>
><br>
> The information that you guys requested.<br>
><br>
> On the storage machine with Fedora 20:<br>
><br>
> In this machine i dont have tha file /var/log/messages, i dont know why.<br>
><br>
> ---------------------------<br>
><br>
> [root@localhost ~]# vgs -a<br>
> VG #PV #LV #SN Attr VSize VFree<br>
> 483d30f6-d403-4c40-b30f-4236b87413f2 1 12 0 wz--n- 147,50g 14,62g<br>
> fedora 1 3 0 wz--n- 159,50g 4,00m<br>
><br>
> ---------------------------<br>
><br>
> [root@localhost ~]# pvs -a<br>
> PV VG Fmt Attr PSize PFree<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/0cc952b9-bd46-4cb5-b25e-8ef9c9441e04<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/3a1bcca0-0648-4024-84cf-2954418ab531<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/50f74d24-8246-496b-9554-b13eb88e90c5<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/8ad77295-7877-4a7c-b009-7226de21d008<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/a184dd03-531d-4f77-817b-60666bedc3d1<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/a2e323e7-2d25-4687-8755-d84e42564439<br>
> --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/ids --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/inbox --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/leases --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/master --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/metadata --- 0 0<br>
> /dev/483d30f6-d403-4c40-b30f-4236b87413f2/outbox --- 0 0<br>
> /dev/fedora/opt_iSCSI01 483d30f6-d403-4c40-b30f-4236b87413f2 lvm2 a-- 147,50g<br>
> 14,62g<br>
> /dev/fedora/root --- 0 0<br>
> /dev/fedora/swap --- 0 0<br>
> /dev/sda1 --- 0 0<br>
> /dev/sda2<br>
><br>
> ---------------------------<br>
><br>
> [root@localhost ~]# tgtadm --lld iscsi --op show --mode target<br>
> Target 1: iqn.2014-05-19.br.mp.mppb.ovirtstoragedell:target0<br>
> System information:<br>
> Driver: iscsi<br>
> State: ready<br>
> I_T nexus information:<br>
> I_T nexus: 1<br>
> Initiator: iqn.1994-05.com.redhat:b2b7b5bc8064 alias: <a href="http://dellr62001.mppb.mp.br" target="_blank">dellr62001.mppb.mp.br</a><br>
> Connection: 0<br>
> IP Address: 10.0.1.131<br>
> I_T nexus: 2<br>
> Initiator: iqn.1994-05.com.redhat:d2d5fc389e7e alias: dellr620-02<br>
> Connection: 0<br>
> IP Address: 10.0.1.132<br>
> LUN information:<br>
> LUN: 0<br>
> Type: controller<br>
> SCSI ID: IET 00010000<br>
> SCSI SN: beaf10<br>
> Size: 0 MB, Block size: 1<br>
> Online: Yes<br>
> Removable media: No<br>
> Prevent removal: No<br>
> Readonly: No<br>
> SWP: No<br>
> Thin-provisioning: No<br>
> Backing store type: null<br>
> Backing store path: None<br>
> Backing store flags:<br>
> Account information:<br>
> ACL information:<br>
> <a href="http://10.0.1.0/24" target="_blank">10.0.1.0/24</a><br>
><br>
> ---------------------------<br>
><br>
> [root@localhost ~]# getenforce<br>
> Disabled<br>
><br>
> ##################################<br>
><br>
> On The oVirt Node 01<br>
><br>
> [root@dellr62001 ~]# vdsClient -s 0 getStorageDomainsList<br>
> 98362e62-a2a2-4d34-b4c9-2502ba1982da<br>
> f192ce65-90e8-4497-85dc-efc165525f0d<br>
> bcea1f98-08a9-445b-96e3-927db8e10fbe<br>
><br>
> --------------------------------------<br>
><br>
> [root@dellr62001 ~]# vdsClient -s 0 getStorageDomainStats<br>
> Error using command: list index out of range<br>
><br>
> getStorageDomainStats<br>
> <domain UUID><br>
> Get storage domain statistics.<br>
><br>
> ##################################<br>
><br>
> On The oVirt Node 02<br>
><br>
> [root@dellr620-02 ~]# vdsClient -s 0 getStorageDomainStats<br>
> Error using command: list index out of range<br>
><br>
> getStorageDomainStats<br>
> <domain UUID><br>
> Get storage domain statistics.<br>
><br>
> ---------------------------<br>
><br>
> [root@dellr620-02 ~]# vdsClient -s 0 getStorageDomainsList<br>
> 98362e62-a2a2-4d34-b4c9-2502ba1982da<br>
> f192ce65-90e8-4497-85dc-efc165525f0d<br>
> bcea1f98-08a9-445b-96e3-927db8e10fbe<br>
><br>
> #################################<br>
><br>
> And the Logs of<br>
><br>
> oVirtNode 01<br>
><br>
> <a href="https://mega.co.nz/#!YMxmyITY" target="_blank">https://mega.co.nz/#!YMxmyITY</a> !9Fb6L24sSaMaeDNvcS1UELCrM2_J-rFeUbd4uMd6BhQ<br>
><br>
> and oVirtNode 02<br>
><br>
> <a href="https://mega.co.nz/#!cAQjCJ6S" target="_blank">https://mega.co.nz/#!cAQjCJ6S</a> !WNFrIWBfHEwuiUtuzsGZ1FUM8dZRpzO8tL8FvkBuSmw<br>
><br>
> I shutdown the machines last friday<br>
><br>
> I see that the problem is the storage missing.<br>
><br>
> But why this happened?<br>
><br>
> Have any way to recover that?<br>
><br>
> I shutdown the machines last friday for maintenance during the weekend in the<br>
> datacenter and boot up then again yesterday morning<br>
><br>
> Since then this big trouble started<br>
><br>
> I imagine i do the shutdown in the correct form.<br>
<br>
</div></div>Can you share with us the output of these commands?<br>
<br>
On both hosts:<br>
<br>
iscsiadm -m session<br>
iscsiadm -m node<br>
cat /etc/iscsi/initiatorname.iscsi<br>
vdsClient -s 0 getDeviceList<br>
<br>
You can also add this info to the bug.<br>
<br>
Thanks,<br>
Nir<br>
</blockquote></div><br><br clear="all"><br>-- <br>Fagner Patrício<br>João Pessoa - PB<br>Brasil
</div>