Results 1 to 3 of 3

Thread: lost iscsi-targets after update firmware 3.00.08b

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    lost iscsi-targets after update firmware 3.00.08b

    After upgrading firmware the names of my iscsi-targets are lost. I am not able to alter the iscsi-targets which are empty via webinterface. i did the following:
    the update on version 3.00.08b was successful but the machine was inaccessible on webinterface and iscsi. I downgraded to version 2.01.09. In Version 2.01.09 i reimported my old config.
    Altering the iscsi-Targets was unsuccessful.

    1. Storage / Page Allocation: i choose an iscsi-target without name and press "modify"
    2. "Space Allocation"-window appaers everything is empty the target is disabled
    3 i fill in values and enable the target
    4 i press "OK"
    5 system says: "database updated successfully"
    6 nothing happened with the target

    I tried Firmware Version 3.00.07a the thecus is running with it, but the problem appears in 2.01.09 and 3.00.07a

  2. #2
    Registered User
    Join Date
    Jan 2010
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: lost iscsi-targets after update firmware 3.00.08b

    after installing the modules UTILS, SYSUSER and SSHD i played with the command ut_iscsi show and nothing appears. But i find under §/dev/vg0 my defined iscsi targets. To me that means that the Database is corrupted. Any Ideas how to fix this?

  3. #3
    om2
    om2 is offline
    Registered User
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: lost iscsi-targets after update firmware 3.00.08b

    It seems nobody knows how to fix our problem. We found after days a solution with analysis the program.

    to rebuild the Database you must modify raid.db and ietd.conf by hand

    Steps

    0. if you have place, create first one new iscsi target with the webinterface
    1. install SSH and Sysuser Module
    2. download WinSCP grafik SSH Client, winscp.net/eng/download.php and conect
    3. navigate to /raid0/sys/
    4. download the ietd.conf and raid.db if exist
    6. navigate to raid1/sys/
    7. download the ietd.conf and raid.db if exist
    8. download the version 1.1 from sqlitebrowser sourceforge.net/projects/sqlitebrowser/files/sqlitebrowser/1.1/sqlitebrowser-1.1-win.zip/download
    9. open the raid.db files this is a sqlite 2.1 database file with the sqlitebrowser
    10. navigate in the winscp to /dev/vg0 and /dev/vg1

    you should see iscsi0 until iscsiN N ... 0 - X number of Files
    for each you need in the database one row -> for the vg0 in the raid.db from path raid0
    and for the vg1 in the raid.db from path raid1

    the ietd.conf exist only one on FW 2.01.09 maybe in the raid1 after flash firmeware the raid1 and raid0 moved with the 3.00.07a then the file stand in raid0 and the database was lost again ;-(

    on the webinterface you should see the size of the iscsi0 file and the size of the disk,
    you need it in percent iscsi0size/disksize*100 -> round for the database

    f.e.
    disk is 1959,2 the iscsi0 is 929 -> mean 50%
    the raid.db struktur
    "lvname","name","enabled","chap","user","pass","percent","comment","year","month","v1","v2","v3","v4 ","v5"
    "iscsi0","yourname","1","0","","","50","","2010","01","","","","",""

    open the raid.db files with the SQLite Database Browser

    create for each iscsi0 -> iscsiN one row -> you should match the percent for each target
    the year and the month must match the traget name later in the ietd.conf
    -> iqn.year-month.domainname -> e.f. "iqn.2010-01.domainname:RAID.iscsi0.vg1.yourname"

    domainname -> mean the network name from you firm this name should you know

    now modify the ietd.conf
    below is a sample, the Target must match your system, if you have first
    create one new iscsi target, in the "ietd.conf" should like this sample
    and for each lost iscsi target copy this block or your sample -> modify the "Target", "Lun" and "Path"
    the "Lun" is a number, each number should used only one

    use the file has only the "LF" in the end of a line, use f.e. notepad++ for to show all characters

    --copy--
    Target iqn.2010-01.domainname:RAID.iscsi0.vg1.yourname
    Lun 0 Path=/dev/vg1/iscsi0,Type=fileio,IOMode=wb
    MaxConnections 8
    InitialR2T No
    ImmediateData Yes
    MaxRecvDataSegmentLength 262144
    MaxXmitDataSegmentLength 262144
    MaxBurstLength 262144
    DefaultTime2Wait 2
    DefaultTime2Retain 20
    MaxOutstandingR2T 16
    DataPDUInOrder No
    DataSequenceInOrder Yes
    ErrorRecoveryLevel 0
    HeaderDigest None
    DataDigest None
    Wthreads 8

    --copy end---

    If you have the raid.db files one for each raid0 and raid1 and one ietd.conf file
    then conect with SSH Putty conect and stop the service

    /img/bin/rc/rc.iscsi stop

    now copy the files raid.db and ietd.conf back on the thecus

    restart the servcie
    /img/bin/rc/rc.iscsi start

    go to the web interface and if you have luck the targets has names now
    Last edited by om2; 08-01-2010 at 10:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Killed my Netgear Router DG834GT Power cut mid firmware update.
    By malice19 in forum Networking and Broadband
    Replies: 24
    Last Post: 21-01-2014, 01:59 PM
  2. Draytek Vigor 2800G - new firmware 2.6.3.1 released
    By Taz in forum Networking and Broadband
    Replies: 8
    Last Post: 05-06-2006, 02:46 PM
  3. The Diet Update - I've Lost 7 Stone (pic's included)
    By Jimmy Little in forum General Discussion
    Replies: 37
    Last Post: 19-12-2003, 04:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •