[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Russian Progress User Group • восстановление из бэкапа . 9.1D , > 2GB
Страница 1 из 1

восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 16 янв 2016, 20:44
extAG
Добрый вечер всем.
Подскажите плз, что делаю не так. а то за 10 лет всё забыл :)
/************************/
Дано:
бэкап, прогресс 9.1D , redhat 4 на вритуалке.
prorest /mnt/hgfs/temp/progress/backup/alt5.bk -list
Area Name: Schema Area
Size: 25600, Records/Block: 64, Area Number: 6

Area Name: alt
Size: 204424448, Records/Block: 256, Area Number: 7

/***********************/
Процесс восстановления
1) просто prorest
[root@localhost home]# /usr/dlc/bin/prorest /home/1/bs /mnt/hgfs/temp/progress/backup/alt5.bk
Ошибка - SYSTEM ERROR: Attempted to exceed maximum size on file /home/bs_7.d1. (9452)

2) попытка prorest с st-файлом ,в нем прописал d "alt":7,256 . v 204424448
ошибка The maximum Area Size has been reached for Area:

3) создал пустую базу , сделал proutil <dbname> -C EnableLargeFiles
все равно ошибка по размеру.

Ткните плз мне, где я ошибаюсь и как нужно делать
Спасибо!

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 17 янв 2016, 17:07
George
1) Size в выводе prorest -list - это не размер области, а последний dbkey.

> Size: 204424448, Records/Block: 256, Area Number: 7

Размер области равен 204424448 / 256 * dbblocksize
Если размер блока базы равен 4K, то размер области чуть больше 3 GB.

> попытка prorest с st-файлом ,в нем прописал d "alt":7,256 . v 204424448

Это была попытка создать экстент размером 204 GB.

2) Файловая система поддерживает большие файлы?
3) Исполнимые модули принадлежат root'у и на них стоит set-userid бит? ls -l $DLC/bin/_*
4) На какой фазе прервалась работа утилиты prorest? Какие последние "нормальные" сообщения были выданы на экран и в лог базы? Какого размера были экстенты "недоделанной" базы?

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 17 янв 2016, 18:34
extAG
Спасибо
ответы
2) Файловая система поддерживает большие файлы?
Да, file size (blocks, -f) unlimited

3) Исполнимые модули принадлежат root'у и на них стоит set-userid бит?
Да

4)На какой фазе прервалась работа утилиты prorest?
Без st-файла и без пустой базы, просто prorest
[root@localhost bdd]# /usr/dlc/bin/prorest /usr/wrk/bdd/bs /mnt/hgfs/temp/progress/backup/alt5.bk
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Start of extending target DB to needed size...
SYSTEM ERROR: Attempted to exceed maximum size on file /usr/wrk/bdd/bs_7.d1. (9452)

Unable to extend data files enough to proceed. (6743)
Restore failed. (1618)
!!! ERROR - Database restore utility FAILED !!! (8564)

размеры

[root@localhost bdd]# ls -lh
total 2.2G
-rw-r--r-- 1 root root 2.0G Jan 17 07:27 bs_7.d1
-rw-r--r-- 1 root root 200M Jan 17 07:25 bs.b1
-rw-r--r-- 1 root root 3.2M Jan 17 07:27 bs.d1
-rw-r--r-- 1 root root 256K Jan 17 07:25 bs.db
-rw-r--r-- 1 root root 441 Jan 17 07:27 bs.lg
-rw-r--r-- 1 root root 96 Jan 17 07:25 bs.st


Еще раз спасибо за помощь

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 17 янв 2016, 19:37
George
Работа prorest прервалась на стадии форматирования большого экстента базы. Если я правильно помню, это ожидаемо для 9.1D, где флаг поддержки больших файлов автоматически не копировался из базы в бэкапе. Интереснее было бы увидеть есть ли ошибки при выполнении команды enableLargeFiles или при выполнении команды prorest на существующей базе с включенной поддержкой больших файлов. Установлена лицензия Enterprize DB? Многотомную базу можно использовать?

И стоит установить патч на Progress:
Getting warning about errno, h_errno when running Progress executables on RedHat Enterprise Linux 3
http://knowledgebase.progress.com/artic ... cle/P64374

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 17 янв 2016, 22:23
extAG

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 18 янв 2016, 12:45
Arelav
Попробовать создать БД с нуля из empty, предварительно создав такой структурный файл
#----------------------------------
#bs.st
#
b .
#
d "Schema Area":6,64 .
#
d "alt":7,256 . f 2000000
d "alt":7,256 . f 2000000
d "alt":7,256 .
#----------------------------------

procopy $DLC/empty /usr/wrk/bdd/bs

prorest /usr/wrk/bdd/bs /mnt/hgfs/temp/progress/backup/alt5.bk

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 18 янв 2016, 23:18
extAG

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 10:17
Arelav
На всякий случай, если планируется дальнейшая эксплуатация этой базы, то не забудьте включить поддержку больших файлов в ней.

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 11:59
George

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 16:58
Arelav

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 19:31
extAG
Поторопился. Ошибся в коммандах.
Все равно ошибка. Судя по ls -l нужно увеличивать число
d "alt":7,256 . f 2000000 итерационно по одному, пока не получится результат ?


/******************************************************************************/
[root@localhost bdd]# /usr/dlc/bin/proutil /usr/wrk/bdd/bs -C enableLargeFiles -cpinternal undefined -cpcoll basic
PROGRESS Version 9.1D as of Wed May 8 16:47:54 EDT 2002

Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Large database file access enabled for database /usr/wrk/bdd/bs. (9425)
[root@localhost bdd]# /usr/dlc/bin/prorest /usr/wrk/bdd/bs /mnt/hgfs/temp/progress/backup/alt5.bk
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
/usr/wrk/bdd/bs already exists.
Do you want to over write it? [y/n]: y
Start of extending target DB to needed size...
bkxtn: write error, file /usr/wrk/bdd/bs_7.d3 errno: 0. (3646)

Unable to extend data files enough to proceed. (6743)
Restore failed. (1618)
!!! ERROR - Database restore utility FAILED !!! (8564)
[root@localhost bdd]# ls -l
total 6310764
-rw-r--r-- 1 root root 2048000000 Jan 19 08:10 bs_7.d1
-rw-r--r-- 1 root root 2048000000 Jan 19 08:10 bs_7.d2
-rw-r--r-- 1 root root 2147483647 Jan 19 08:12 bs_7.d3
-rw-r--r-- 1 root root 208797696 Jan 19 08:10 bs.b1
-rw-r--r-- 1 root root 3276800 Jan 19 08:10 bs.d1
-rw-r--r-- 1 root root 262144 Jan 19 08:10 bs.db
-rw-r--r-- 1 root root 4301 Jan 19 08:12 bs.lg
-r--r--r-- 1 root root 38 Jan 19 08:10 bs.lk
-rw-r--r-- 1 root root 113 Jan 18 08:42 bs.st

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 19:37
extAG

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 21:48
George

Re: восстановление из бэкапа . 9.1D , > 2GB

Добавлено: 19 янв 2016, 22:59
extAG