|
|
呵呵,谢谢。
我。。我犯了个低级错误 (枉我做了n次,用尽想到的方法,就是没注意这个)
# dd if=/dev/rdbfoulv of=/scfs/dbfou.dbf bs=4k skip=1 count=98049
98049+0 records in.
98049+0 records out.
# ls -l dbfou.dbf
-rw-r--r-- 1 root dba 402653184 Nov 26 12:56 dbfou.dbf
# chown oracle dbfou.dbf[/COLOR]
#su - oracle
VRMGR> connect internal
Connected.
SVRMGR> startup mount
ORACLE instance started.
Total System Global Area 334088352 bytes
Fixed Size 47264 bytes
Variable Size 124153856 bytes
Database Buffers 209715200 bytes
Redo Buffers 172032 bytes
Database mounted.
SVRMGR> alter database rename file '/dev/rdbfoulv' to '/scfs/dbfou.dbf';
Statement processed.
SVRMGR> recover database;
Media recovery complete.
SVRMGR> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/scfs/dbfou.dbf |
|