Yvision.kzYvision.kz
kk
Разное
Разное
399 773 постов41 подписчиков
Всяко-разно
0
00:41, 19 октября 2011

Бакап SAP+Oracle+reiserfs

Не запускался бакап архивлогов - brarchive падал с ошибкой

BR0301E SQL error -27091 at location BrInitOraCreate-5, SQL statement:
'/* BRARCHIVE AT PROF_CONN */ CREATE PFILE = '/oracle/SID/102_64/dbs/sapSID.ora'
FROM SPFILE = '/oracle/SID/102_64/dbs/spfileSID.ora''
ORA-27091: unable to queue I/O
ORA-27072: File I/O error
Linux-x86_64 Error: 22: Invalid argument
Additional information: 4
Additional information: 1
Additional information: -1
BR0303E Determination of Oracle version failed

После различных проверок с полномочиями и поисков в интернете выяснилось, что есть нота 914177 - File system reiserfs Oracle parameter filesystemio_options. Присмотрелся - действительно оказалось, что Oracle лежит на reiserfs - причем дата-файлы на другом разделе с ext3.

Решение:

1. Change the default mount option for Reiserfs
Required mount option:  -o notail.
Sample rows for /etc/fstab:

/dev/sda1    /oracle   reiserfs  notail,acl,user_xattr   1 2

In addition, if you created the file system without the mount option  -o notail, errors may occur. This is because Reiserfs saves small files in the file system table rather that in the file system area itself. This results in the following problem:
Files specified with direct-I/O must be saved in the file system. Changing the mount option retroactively does not avoid this. In this case, you must copy the files into a different file system and then copy them back into the correctly mounted Reiserfs file system. Alternatively, you can use option two but this does not provide you with the optimal I/O performance.

2. Set the Oracle parameter FILESYSTEMIO_OPTIONS = NONE.
for async I/O, set the parameter to FILESYSTEMIO_OPTIONS = ASYNCH. This generally results in improved performance.

Так как дело было на действующей инстанции - в онлайне в качестве временного решения перенес каталог dbs на раздел с ext3 - бакап прошел нормально

0
394
0