cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27307
Views
25
Helpful
5
Replies

unable to stat flash/: permission denied

Hey trying to delete the config file on my Cisco 2950.

But i get this error Message: unable to stat flash/: permission denied after doin this commands   

switch: flash_init

Initializing Flash...

flashfs[0]: 410 files, 5 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 7741440

flashfs[0]: Bytes used: 4933632

flashfs[0]: Bytes available: 2807808

flashfs[0]: flashfs fsck took 7 seconds.

...done initializing flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

switch: load_helper

switch: dir flash

unable to stat flash/: permission denied

switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)

              xmodem[1]: (read-only)

                null[2]: (read-write)

                  bs[3]: (read-only)

switch: flash_init

Initializing Flash...

...The flash is already initialized.

intel_28fxxx_write_bytes: flash busy error

flashfs[0]: writing to flash handle 0x80c5c7e4, device 0, offset 0x40000, length 0x208: Operation Fa

iled

flashfs[0]: sector ptr: {0x2, 0x79}

flash:env_vars.tmp: I/O error

The filesystem containing the variables may not be initialized yet.

switch: dir flash

unable to stat flash/: permission denied

5 Replies 5

Arumugam Muthaiah
Cisco Employee
Cisco Employee

Hi Sebastian,

Please make sure to type a colon ":" after the dir flash.

The switch file system is displayed:

switch: dir flash:
Directory of flash:/
2    -rwx  1803357                  c3500xl-c3h2s-mz.120-5.WC7.bin

Refer:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_password_recovery09186a0080094184.shtml

Regards,

Aru

*** Please rate if the post is useful ***

Regards, Aru *** Please rate if the post useful ***

Hey i tried that now and i got this message back

switch: dir flash:

Unable to open flash:/: device busy

mahmoodmkl
Level 7
Level 7

Hi

i suggest tht u format u r flash reupload the image

Sent from Cisco Technical Support iPhone App

And how do i do that? Kinda new to this

Hi,

U need to enter format flash:

This will prompt you tht this will erase all the data on flash u need to confrim it.

Once the flash is formatted u need to upload the IOS through Xmodem which is to transfer the image through console cable.

Thanks

Review Cisco Networking for a $25 gift card