[nsp] Unable to delete file from disk

Tay Chee Yong tcy at pacific.net.sg
Fri May 23 14:14:14 EDT 2003


Hi,

I was tftp-ing a file from the tftp server to a C7200 router, somehow the
link dropped, and disrupted the tftp transfer.

I wanted to delete the file from the disk, to redo the tftp session again,
but it doesn't allow me to delete, and gave me the error message (File in
use in an incompatible mode)

Can't seems to find any info on CCO.

router#delete disk0:c7200-ik9s-mz.122-15.T2.bin
Delete filename [c7200-ik9s-mz.122-15.T2.bin]?
Delete disk0:/c7200-ik9s-mz.122-15.T2.bin? [confirm]
%Error deleting disk0:/c7200-ik9s-mz.122-15.T2.bin (File in use in an
incompatible mode)

Tried to do a tftp again, hoping that it will overwrite the incomplete
file, but failed also

router#copy tftp disk0:
Address or name of remote host []? 10.10.10.168
Source filename []? c7200-ik9s-mz.122-15.T2.bin
Destination filename [c7200-ik9s-mz.122-15.T2.bin]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]
Accessing tftp://10.10.10.168/c7200-ik9s-mz.122-15.T2.bin...
Loading c7200-ik9s-mz.122-15.T2.bin from 10.10.10.168 (via
FastEthernet1/0): !
%Error opening disk0:/c7200-ik9s-mz.122-15.T2.bin (File or directory
already in use)

Seems that the file had been "locked" on the disk, and i am not using the
image at all.

My current running IOS is c7200-k4p-mz.120-22.S1.bin, on the 7206 VXR NPE
300.

Any advise is very much appreciated.

Thanks.

Regards,
Cheeyong



More information about the cisco-nsp mailing list