Unable to write new file to NVRAM on 2522

Unable to write new file to NVRAM on 2522

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Unable to write new file to NVRAM on 2522 Peter Danes 06-10-2008
Posted by Peter Danes on June 10, 2008, 6:14 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

Does anyone know why I am unable to write new files to the NVRAM?

R7/FR_SWITCH#sh ver | i IOS
IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3)T, RELEASE SOFTWARE
(fc1)

R7/FR_SWITCH#dir nvram:
Directory of nvram:/

1 -rw- 1923 <no date> startup-config
2 ---- 5 <no date> private-config

32762 bytes total (30839 bytes free)

R7/FR_SWITCH#copy start nvram:test
Destination filename [test]?
%Error opening nvram:test (No such file or directory)
R7/FR_SWITCH#

I have 2610XM's and 2611XM's that have no issue, its only my 2522 for
some reason and I can't figure out why.

Regards

Peter

Spring Sale Save 20% Banner - Sale Ended 5/3/07 So Updated to NonPromo Ad
Posted by Aaron Leonard on June 10, 2008, 1:05 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
~ Hi,
~
~ Does anyone know why I am unable to write new files to the NVRAM?
~
~ R7/FR_SWITCH#sh ver | i IOS
~ IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3)T, RELEASE SOFTWARE
~ (fc1)
~
~ R7/FR_SWITCH#dir nvram:
~ Directory of nvram:/
~
~ 1 -rw- 1923 <no date> startup-config
~ 2 ---- 5 <no date> private-config
~
~ 32762 bytes total (30839 bytes free)
~
~ R7/FR_SWITCH#copy start nvram:test
~ Destination filename [test]?
~ %Error opening nvram:test (No such file or directory)
~ R7/FR_SWITCH#
~
~ I have 2610XM's and 2611XM's that have no issue, its only my 2522 for
~ some reason and I can't figure out why.
~
~ Regards
~
~ Peter

I guess it's a limitation of the 2500 nvram: filesystem; my 2511 running
12.0(28) behaves
identically.

Aaron

Posted by Peter Danes on June 11, 2008, 11:38 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Ahh, that's a bit disappointing. I wonder if an IOS upgrade will help..
Hmm..

Aaron Leonard wrote:
> ~ Hi,
> ~
> ~ Does anyone know why I am unable to write new files to the NVRAM?
> ~
> ~ R7/FR_SWITCH#sh ver | i IOS
> ~ IOS (tm) 2500 Software (C2500-I-L), Version 12.1(3)T, RELEASE SOFTWARE
> ~ (fc1)
> ~
> ~ R7/FR_SWITCH#dir nvram:
> ~ Directory of nvram:/
> ~
> ~ 1 -rw- 1923 <no date> startup-config
> ~ 2 ---- 5 <no date> private-config
> ~
> ~ 32762 bytes total (30839 bytes free)
> ~
> ~ R7/FR_SWITCH#copy start nvram:test
> ~ Destination filename [test]?
> ~ %Error opening nvram:test (No such file or directory)
> ~ R7/FR_SWITCH#
> ~
> ~ I have 2610XM's and 2611XM's that have no issue, its only my 2522 for
> ~ some reason and I can't figure out why.
> ~
> ~ Regards
> ~
> ~ Peter
>
> I guess it's a limitation of the 2500 nvram: filesystem; my 2511 running
12.0(28) behaves
> identically.
>
> Aaron

Posted by Merv on June 11, 2008, 6:52 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Remember that the 2500 series are run from flash routers - thus you
cannot copy a file to flash unless you boot down to boot loader

I would be very surprised if the nvram or flash filesystem behaviour
changes with newer images


Posted by Aaron Leonard on June 12, 2008, 12:13 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
The always perspicacious Merv wrote:

~ Remember that the 2500 series are run from flash routers - thus you
~ cannot copy a file to flash unless you boot down to boot loader
~
~ I would be very surprised if the nvram or flash filesystem behaviour
~ changes with newer images

Yeah but nvram (on the 2500) is separate from flash, and is of course writeable
(else how would "write mem" work?)

(But anyway, I did a quick case search now, and does turn out that you can
create a new file in nvram only if you aren't running from flash. Still can't
think quite why.)

Cheers,

Aaron

Similar ThreadsPosted
WAFS file write issue with WCCP traffic interception February 28, 2007, 9:32 pm
FLASH file is corrupted ,, is there a way to load a new file via rommon 1 > June 3, 2006, 3:53 pm
NVRAM - how does it work March 6, 2008, 3:32 pm
Cisco 2522 as linux console server? January 2, 2005, 11:53 am
nvram bytes free March 17, 2005, 10:52 am
2522 Frame Relay Switch config - 2511 Term Server help needed February 12, 2006, 4:57 pm
I can't write ACLs June 26, 2008, 7:12 pm
RANCID show run or write net? October 20, 2006, 4:04 pm
How to write on syslog which users access via RAS. January 5, 2006, 11:12 am
How to write on syslog which users access via RAS. January 5, 2006, 11:46 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map