This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

idea

首页 | 资源中心 | 管理控制台

« | »

请rejoice999版主看看

idea | 05 五月, 2007 20:01

请rejoice999版主看看
rejoice999版主您好:
在UNIX裸设备和文件系统之间移动ORACLE
http://www.ccw.com.cn/htm/center/skill/02_9_3_2.asp
这文章是您写的吗?
我现在按上面的方法和步骤作(oracle8.05 for aix):
2.2 在文件系统和裸设备之间移动数据文件
2.2.2 从裸设备到文件系统
c. 按下表公式确定dd的参数(如下图)
我的DATAFILE:
SQL> select bytes,blocks,bytes/blocks db_block_size,bytes+bytes/blocks file_size
2 from dba_data_files where file_name='/dev/rdbfoulv';

BYTES BLOCKS DB_BLOCK_SIZE FILE_SIZE
--------- ---------- ------------- ----------
401604608 98048 4096 401608704
我是这样计算COUNT的:
因为bs=4k 所以count=401608704 /4096=98049
但是
# dd if=/dev/rdbfoulv of=/scfs/dbfou.dbf bs=4k skip=1 count=98049
98049+0 records in.
98049+0 records out.
startup mount
rename后,出错:
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/scfs/dbfou.dbf'
能否解释一下这个公式,也许我领会错了。谢先!

发表评论

标题

在此添加评论

称呼

邮箱地址(可选)

个人主页(可选)




Valid XHTML 1.0 Strict and CSS.
Powered by pLog
Design by Book of Styles