Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File system file corruption

Status
Not open for further replies.

fmaggio01

Technical User
Jan 25, 2013
2
US
Hello all,


On my AIX server there are some paths that include ? in them.


/backup/dbms/VP/P?/O
/backup/dbms/VP/P?/O-REC

I can back them up, but when I try to restore I get an error, are ? normal for AIX operating system paths. I've talked with two AIX people one says ? are normal to see, other one say they are not and a ? in the filepath is sign of file system corruption.


Can anyone confirm?
 
can it be your backup software/solution issue?

at least when I try to restore test-starnge-named files with GNU tar and rsyc, I get no errors, so you should also get no errors with "?" I think....

Code:
# ls -ld test
drwxr-xr-x    3 root     system          256 Jan 27 11:50 test
# find ./test -ls
24576    1 drwxr-xr-x  3 root      system         256 Jan 27 11:50 ./test
24586    1 drwxr-xr-x  3 root      system         256 Jan 27 11:50 ./test/sfs?45*^-@
24587    1 drwxr-xr-x  3 root      system         256 Jan 27 11:51 ./test/sfs?45*^-@/?34??@
24588    1 -rw-r--r--  1 root      system          29 Jan 27 11:51 ./test/sfs?45*^-@/?34??@/P?
24589    1 drwxr-xr-x  3 root      system         256 Jan 27 11:52 ./test/sfs?45*^-@/?34??@/PP?
24590    1 drwxr-xr-x  3 root      system         256 Jan 27 11:54 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||
24591    1 -rw-r--r--  1 root      system          29 Jan 27 11:52 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'
24592    1 -rw-r--r--  1 root      system          29 Jan 27 11:53 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'`
24593    1 drwxr-xr-x  2 root      system         256 Jan 27 11:55 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`
24594    1 -rw-r--r--  1 root      system          29 Jan 27 11:55 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`/P
24595    1 -rw-r--r--  1 root      system          29 Jan 27 11:55 ./test/sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`/P?
# pwd
/tmp
# cd test
# gtar czvf ../abc.tgz *
sfs?45*^-@/
sfs?45*^-@/?34??@/
sfs?45*^-@/?34??@/P?
sfs?45*^-@/?34??@/PP?/
sfs?45*^-@/?34??@/PP?/|||||||||||/
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'`
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/P
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/P?
# mkdir ../test2
# cd ../test2
# gtar zxvf ../abc.tgz
sfs?45*^-@/
sfs?45*^-@/?34??@/
sfs?45*^-@/?34??@/P?
sfs?45*^-@/?34??@/PP?/
sfs?45*^-@/?34??@/PP?/|||||||||||/
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'`
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/P
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\\~\\'`/P?
# mkdir ../test3
# rsync -avP * ../test3/
building file list ...
10 files to consider
sfs?45*^-@/
sfs?45*^-@/?34??@/
sfs?45*^-@/?34??@/P?
         29 100%    0.00kB/s    0:00:00  (1, 30.0% of 10)
sfs?45*^-@/?34??@/PP?/
sfs?45*^-@/?34??@/PP?/|||||||||||/
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'
         29 100%    0.79kB/s    0:00:00  (2, 60.0% of 10)
sfs?45*^-@/?34??@/PP?/|||||||||||/P?!(})'`
         29 100%    0.79kB/s    0:00:00  (3, 70.0% of 10)
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`/
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`/P
         29 100%    0.79kB/s    0:00:00  (4, 90.0% of 10)
sfs?45*^-@/?34??@/PP?/|||||||||||/~P?!(})'`\~\'`/P?
         29 100%    0.79kB/s    0:00:00  (5, 100.0% of 10)

wrote 583 bytes  read 120 bytes  1406.00 bytes/sec
total size is 145  speedup is 0.21
# pwd
/tmp/test2
# cd ..
# pwd
/tmp
# ls -ld ./test*
drwxr-xr-x    3 root     system          256 Jan 27 11:50 ./test
drwxr-xr-x    3 root     system          256 Jan 27 12:17 ./test2
drwxr-xr-x    3 root     system          256 Jan 27 12:17 ./test3
# for i in test test2 test3;do cd $i;printf "$(pwd) :: ";find . -type f -exec cksum {} \; | cksum;cd - 1>/dev/null;done
/tmp/test :: 4212399059 287
/tmp/test2 :: 4212399059 287
/tmp/test3 :: 4212399059 287
#
 
Thanks w5000!

I'll contact the backup vendor about the restore errors.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top