Print

某公司CR16008新主控板保存配置时提示flash total空间为0

组网及说明

问题描述

设备信息CR16008 Version 7.1.045, Release 7115P02

问题描述:客户新的主控板在保存配置时,提示保存空间不足,无法保存配置(no space available on devicefailed to save the current configuration)。Dir发现flash显示空间total0 free也为0,根据现场反馈的信息,以前flash中是已经保存过配置的。主控CR-MRP-I ,无软件已知问题。

<H3C>save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Validating file. Please wait...

No space available on device.

Failed to save the current configuration.

 

<CSR-VM-2.AM8>dir /all-filesystems

Directory of flash:

   0 -rw-      103531 May 16 2019 06:13:51   config.cfg

   1 -rw-      382140 May 16 2019 06:13:51   config.mdb

   2 -rw-     1211731 Mar 28 2019 12:17:33   diag.tar.gz

   3 -rw-         735 Mar 28 2019 02:14:23   hostkey

   4 -rw-        4152 May 17 2019 00:23:52   ifindex.dat

   5 -rw-           0 Mar 28 2019 12:15:55   lauth.dat

   6 drw-           - Dec 18 2014 07:57:57   license

   7 drw-           - Dec 18 2014 07:57:58   seclog

   8 -rw-         591 Mar 28 2019 02:14:23   serverkey

   9 -rw-      101416 Jul 20 2016 21:44:42   startup.cfg

  10 -rw-      382257 Jul 20 2016 21:44:45   startup.mdb

 

0 KB total (0 KB free)

 

Directory of slot0#flash:

   0 -rw-        4152 May 17 2019 00:23:52   ifindex.dat

   1 drw-           - May 16 2019 23:39:56   license

   2 drw-           - May 16 2019 23:39:58   seclog

 

0 KB total (0 KB free)

过程分析

原因说明:由于板卡发出默认是 CMW V5版本,现场使用软件版本是 CMW V7 版本。Comware V5Comware V7Flash中采用了不同的文件系统,V5VFS文件系统,V7JFFS2文件系统,必须要重新格式化Flash,才能正常使用Flash

 

备注说明:

1、该升级情况下只需要重新格式化flash卡,而不需要格式化CF卡。

2、后续有类似操作情景 即使用局点版本是v7的,建议首先重新格式化下flash卡,可以避免此类问题。

解决方法

<H3C>format flash:       # 重新格式化一下 flash 就可以进行读写了。

All data on flash: will be lost, continue?[Y/N]:y

Formatting flash:....................................................................................................................................................................................................................... Done.

<H3C>save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.