[Ocfs-users] copy error + control file corruption in ocfs 1.10

Robert Blok robert.blok at logicacmg.com
Wed Mar 10 13:15:12 CST 2004


Wim,

Below are two problems I found in testing the newly released ocfs version.
Just for your information.

Gr,
Robert.

- Copying of multiple files gives errors

[oracle at prac01 test]$ cp --o_direct -R ./a2/* ./backup/a2/.
cp: writing `./backup/a2/./ccdata.dbf.bck': Invalid argument
cp: writing `./backup/a2/./ccindex.dbf': Invalid argument
cp: writing `./backup/a2/./control02.ctl': Invalid argument
cp: writing `./backup/a2/./system01.dbf': Invalid argument
cp: writing `./backup/a2/./temp01.dbf': Invalid argument
cp: writing `./backup/a2/./undotbs01.dbf': Invalid argument
cp: writing `./backup/a2/./undotbs01.dbf.bck': Invalid argument
cp: writing `./backup/a2/./undotbs02.dbf': Invalid argument
[oracle at prac01 test]$ for file in `ls ./a2/*`
> do
> cp --o_direct -Rp $file ./backup/a2
> done
[oracle at prac01 test]$ for file in `ls ./a1/*`; do cp --o_direct -Rp $file
./backup/a1; done
[oracle at prac01 test]$ for file in `ls ./r1/*`; do cp --o_direct -Rp $file
./backup/r1; done
[oracle at prac01 test]$ for file in `ls ./r2/*`; do cp --o_direct -Rp $file
./backup/r2; done

- Creating a corrupt control file

[oracle at prac01 a1]$ cp /dev/zero control01.ctl
cp: cannot create regular file `control01.ctl': Permission denied

--> both instances are crashed!

[oracle at prac01 a1]$ rm control01.ctl
[oracle at prac01 a1]$ cp ../a2/control02.ctl ./control01.ctl
[oracle at prac01 a1]$ svrctl start database -d test
bash: svrctl: command not found
[oracle at prac01 a1]$ srvctl start database -d test
PRKP-1005 : Failed to start up cluster database test
ORA-00227: corrupt block detected in controlfile: (block 315, # blocks 1)
ORA-00202: controlfile: '/oradata/test/a1/control01.ctl'


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


More information about the Ocfs-users mailing list