Ansicht
Dokumentation

Seem to be two copies of a UNIX file <br />Tip-No.: 2280 ( INFO2280 )

Seem to be two copies of a UNIX file
Tip-No.: 2280 ( INFO2280 )

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Seem to be two copies of a UNIX file
Tip-No.: 2280

Symptom

There seem to be two copies of a UNIX file. It could also be a DB file
in UNIX.

Cause

When creating the file, control characters like BACKSPACE or Cntrl T
were also entered.At the SHELL level, you then see the same file twice,
if it was created once with and once without the control characters.
The files are however actually different. This can be seen using the
command ls -li: both files have different I-node numbers.

Solution

If you wish to use a particular file of the pair, you must search with
ls -li for the relevant I-node number and then issue the following UNIX
command: rm `find . -inum Inode -print', where Inode is of course the
I-node of the desired file.
If it is a DB file we are dealing with, you should ensure that the file
to be deleted is no still active (time-stamp older than all other data
files in the DB - also check in the DBA_DATA_FILES with SQL means
whether the DB file really is unknown).






Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1184 Date: 20240426 Time: 094430     sap01-206 ( 13 ms )