Comware

 View Only
  • 1.  Slot 4 Save next configuration file failed

    Posted Feb 09, 2021 07:48 AM

    Hi there,

     

    I have noticed that when I am saving config in a stack that Slot 4 fails "Validating file. Please wait...
    Saved the current configuration to mainboard device successfully.
    Slot 2:
    Save next configuration file successfully.
    Slot 3:
    Save next configuration file successfully.
    Slot 4:
    Save next configuration file failed.
    Failed to save the current configuration"

    I have noticed from below output that slot 4 is missing sections in directory;

    <SW-JR-DLAKE-STK-01>dir slot4#flash:/
    Directory of slot4#flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:32:40 diagfile
    3 drw- - Jan 01 2001 00:14:06 license
    4 drw- - Jan 02 2001 00:07:32 logfile
    5 drw- - Jan 01 2001 00:32:40 seclog

    3710740 KB total (3581384 KB free)

    <SW-JR-DLAKE-STK-01>dir slot3#flash:/
    Directory of slot3#flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:46:06 diagfile
    3 -rw- 735 Mar 25 2001 03:02:23 hostkey
    4 -rw- 2207 Mar 04 2001 06:48:02 ifindex.dat
    5 drw- - Jan 01 2001 00:14:10 license
    6 drw- - Jan 01 2001 00:21:24 logfile
    7 drw- - Mar 25 2001 03:02:23 pki
    8 drw- - Jan 01 2001 00:46:06 seclog
    9 -rw- 591 Mar 25 2001 03:02:23 serverkey
    10 -rw- 27558 Aug 25 2001 00:58:22 startup.cfg
    11 -rw- 535766 Aug 25 2001 00:58:23 startup.mdb
    12 drw- - Jan 01 2001 00:14:18 versionInfo

    3710740 KB total (3581276 KB free)

    <SW-JR-DLAKE-STK-01>dir slot2#flash:/
    Directory of slot2#flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:37:48 diagfile
    3 -rw- 735 Mar 31 2001 02:12:19 hostkey
    4 -rw- 2015 Mar 25 2001 00:12:58 ifindex.dat
    5 drw- - Jan 01 2001 00:14:24 license
    6 drw- - Jan 01 2001 01:08:48 logfile
    7 drw- - Mar 31 2001 02:12:18 pki
    8 drw- - Jan 01 2001 00:37:48 seclog
    9 -rw- 591 Mar 31 2001 02:12:19 serverkey
    10 -rw- 27558 Aug 25 2001 00:58:22 startup.cfg
    11 -rw- 535766 Aug 25 2001 00:58:22 startup.mdb
    12 drw- - Jan 01 2001 00:14:32 versionInfo

    3710740 KB total (3581224 KB free)

    <SW-JR-DLAKE-STK-01>dir slot1#flash:/
    Directory of flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:41:36 diagfile
    3 -rw- 735 Mar 31 2001 01:28:40 hostkey
    4 -rw- 8796 Aug 25 2001 00:58:20 ifindex.dat
    5 drw- - Jan 01 2001 00:14:14 license
    6 drw- - Jan 02 2001 00:08:30 logfile
    7 drw- - Mar 31 2001 01:28:39 pki
    8 drw- - Jan 01 2001 00:41:36 seclog
    9 -rw- 591 Mar 31 2001 01:28:40 serverkey
    10 -rw- 27558 Aug 25 2001 00:58:22 startup.cfg
    11 -rw- 535766 Aug 25 2001 00:58:22 startup.mdb
    12 drw- - Jan 01 2001 00:14:22 versionInfo

    Any help on how to fix this is much appreciated

     



  • 2.  RE: Slot 4 Save next configuration file failed

    Posted Feb 09, 2021 10:25 AM

    Hello,

     

    What is the 'display irf' output?

    I am not seeing 'startup.cfg' in slot 4 flash.

    Anything was deleted recently?

    Please check recycle-bin, what is inside that?

    Also console to slot 4 and try to 'save force' from there.

    Thanks!



  • 3.  RE: Slot 4 Save next configuration file failed

    Posted Feb 10, 2021 05:55 AM

    Hi there I do not see anything in the recycle bin,

    Here is the output of everything below.. This is strange no? Any deas welcomed!!

    SW--STK-01>dis irf co
    MemberID NewID IRF-Port1 IRF-Port2
    1 1 HundredGigE1/3/1 HundredGigE1/3/3
    HundredGigE1/3/2 HundredGigE1/3/4
    2 2 HundredGigE2/3/3 HundredGigE2/3/1
    HundredGigE2/3/4 HundredGigE2/3/2
    3 3 HundredGigE3/3/1 HundredGigE3/3/3
    HundredGigE3/3/2 HundredGigE3/3/4
    4 4 HundredGigE4/3/3 HundredGigE4/3/1
    HundredGigE4/3/4 HundredGigE4/3/2
    <SW--STK-01>save for
    Validating file. Please wait...
    Saved the current configuration to mainboard device successfully.
    Slot 2:
    Save next configuration file successfully.
    Slot 3:
    Save next configuration file successfully.
    Slot 4:
    Save next configuration file failed.
    Failed to save the current configuration.
    <SW--STK-01>dis irf
    MemberID Role Priority CPU-Mac Description
    *1 Master 32 00e0-fc0f-8c02 SW--STK-N07-1
    2 Standby 30 00e0-fc0f-8c03 SW-JR--SKT-Q07-2
    3 Standby 28 00e0-fc0f-8c04 SW-JR--STK-Q05-3
    +4 Standby 26 00e0-fc0f-8c05 SW-JR--STK-N05-4
    --------------------------------------------------
    * indicates the device is the master.
    + indicates the device through which the user logs in.

    The bridge MAC of the IRF is: 4cae-a3e7-f018
    Auto upgrade : yes
    Mac persistent : 12 min
    Domain ID : 0
    <SW-STK-01>di
    <SW-STK-01>dir?
    dir Display files and directories on the storage media

    <SW--STK-01>dir ?
    /all Display all files and directories in the current directory
    /all-filesystems Display the files and directories in the root directories of
    all storage media
    > Redirect it to a file
    >> Redirect it to a file in append mode
    STRING [drive][path][file name]
    flash: Device name
    slot1#flash: Device name
    slot2#flash: Device name
    slot3#flash: Device name
    slot4#flash: Device name
    | Matching output
    <cr>

    <SW--STK-01>dir /all
    Directory of flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:41:36 diagfile
    3 -rw- 735 Mar 31 2001 01:28:40 hostkey
    4 -rw- 8796 Aug 25 2001 23:07:45 ifindex.dat
    5 drw- - Jan 01 2001 00:14:14 license
    6 drw- - Jan 02 2001 00:08:30 logfile
    7 drw- - Mar 31 2001 01:28:39 pki
    8 drw- - Jan 01 2001 00:41:36 seclog
    9 -rw- 591 Mar 31 2001 01:28:40 serverkey
    10 -rw- 27558 Aug 25 2001 23:07:47 startup.cfg
    11 -rw- 535766 Aug 25 2001 23:07:47 startup.mdb
    12 drw- - Jan 01 2001 00:14:22 versionInfo
    13 -rwh 20 Mar 31 2001 02:12:15 .snmpboots

    3710740 KB total (3581020 KB free)

    <SW--STK-01>dir /all ?
    /all-filesystems Display the files and directories in the root directories of
    all storage media
    > Redirect it to a file
    >> Redirect it to a file in append mode
    STRING [drive][path][file name]
    flash: Device name
    slot1#flash: Device name
    slot2#flash: Device name
    slot3#flash: Device name
    slot4#flash: Device name
    | Matching output
    <cr>

    <SW--STK-01>dir /all slot4
    <SW--STK-01>dir /all slot4#flash:/ ?
    > Redirect it to a file
    >> Redirect it to a file in append mode
    | Matching output
    <cr>

    <SW--STK-01>dir /all slot4#flash:/
    Directory of slot4#flash:
    0 -rw- 18759680 Jun 10 2019 11:00:00 5945-cmw710-boot-r6555p01.bin
    1 -rw- 113064960 Jun 10 2019 11:00:00 5945-cmw710-system-r6555p01.bin
    2 drw- - Jan 01 2001 00:32:40 diagfile
    3 drw- - Jan 01 2001 00:14:06 license
    4 drw- - Jan 02 2001 00:07:32 logfile
    5 drw- - Jan 01 2001 00:32:40 seclog

    3710740 KB total (3581384 KB free)

    <SW--STK-01>



  • 4.  RE: Slot 4 Save next configuration file failed

    Posted Feb 10, 2021 05:52 PM

    Hello,

    Can you console slot 4 and try to save config from there? If you will get error from there then there might be issue wih slot 4 hardware.

    Check recycle-bin of slot 4.

     

    Thanks!



  • 5.  RE: Slot 4 Save next configuration file failed

    Posted Feb 11, 2021 09:39 AM

    Hi there,

     

    No that didnt work saveing from switch 4!! How do I check recyce bin in slot 4?
    I done a dir / all and cannot see anything in closed brackets etc (hopefully file deleted) How do I get this fixed as it looks like there is no config file or more files on slot 4 (switch).

    Any help much appreciated



  • 6.  RE: Slot 4 Save next configuration file failed

    Posted Feb 11, 2021 11:28 AM

    Hello,

    What is the software version on device?

    What are you seeing into logbuffer?

    Can you extract diagfile.log and logfile.log from slot4 flash?

    Steps to collect:

    Console slot 4 and go to directory:

    1. cd diagfile2. <hpe>logfile save
    3. <HPE>diagnostic-logfile save
    4. <HPE>cd diagfile
    5. <HPE>more <file name>   -->Log the session
    6. <HPE>cd ..
    7. <HPE>cd logfile
    8. <HPE>more <file name>   -->Log the session

    Thanks!



  • 7.  RE: Slot 4 Save next configuration file failed

    Posted Feb 15, 2021 05:26 PM

    Hello,

     

    HPE is awaiting your response. Please confirm status of your query.

     

    Thanks!



  • 8.  RE: Slot 4 Save next configuration file failed

    Posted Feb 15, 2021 06:57 PM

    Hi there,

     

    The issue was resolved by rebooting the stack.  Once it was rebooted the files saved fine in each slot. Thanks so much for all your help with this.