无
设备信息:CR16008 Version 7.1.045, Release 7115P02
问题描述:客户新的主控板在保存配置时,提示保存空间不足,无法保存配置(no space available on device,failed to save the current configuration)。Dir发现flash显示空间total为0 ,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 V5和Comware V7在Flash中采用了不同的文件系统,V5是VFS文件系统,V7是JFFS2文件系统,必须要重新格式化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.
该案例对您是否有帮助:
您的评价:1
若您有关于案例的建议,请反馈:
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作