Given that dbv takes two key arguments, namely file=xxxx and blocksize=yyyy,
it's going to be difficult to work with raw, because you're not going to be
able to provide a file name for the first argument. But assuming you get
past that hurdle somehow, 'yyyy' needs to be your actual db_block_size.
Regards
HJR
DBVERIFY can verify just a segment. It would be interesting to see if
one can verify a segment on a raw device with this utility. I don't have
such disks available to me, otherwise I would test it out.
Cheers,
Brian
--
===================================================================
Brian Peasland
dba@remove_spam.peasland.com
Remove the "remove_spam." from the email address to email me.
"I can give it to you cheap, quick, and good. Now pick two out of
the three"
[root@oraserv ORA8]# dbv file=/dev/raw/raw16 blocksize=4096
DBVERIFY: Release 8.1.7.0.1 - Production on Wed Mar 24 21:51:58 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
DBV-00102: File I/O error on FILE (/dev/raw/raw16) during read operation
(-2)
root@oraserv ORA8]# dd if=/dev/raw/raw16 of=test.dbv bs=8192
6020+1 records in
6020+1 records out
[root@oraserv ORA8]# dbv file=test.dbv blocksize=8192
DBVERIFY: Release 8.1.7.0.1 - Production on Wed Mar 24 21:53:02 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
DBVERIFY - Verification starting : FILE = test.dbv
DBVERIFY - Verification complete
Total Pages Examined : 5120
Total Pages Processed (Data) : 34
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 2
Total Pages Failing (Index): 0
Total Pages Processed (Other): 97
Total Pages Empty : 4987
Total Pages Marked Corrupt : 0
Total Pages Influx : 0
I tried using a named pipe, but dbv doesn't take a pipe for input so it
seems :
[root@oraserv ORA8]# mkfifo dbpipe
[root@oraserv ORA8]# dd if=/dev/raw/raw16 of=dbpipe bs=8192 &
[1] 6313
[root@oraserv ORA8]# dbv file=dbpipe blocksize=8192
DBVERIFY: Release 8.1.7.0.1 - Production on Wed Mar 24 21:56:31 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
DBV-00100: Specified FILE (dbpipe) not accessible
"Forte Agent" <144...@usenetplanet.com> wrote in message
news:4hl360l597b39g5ad...@4ax.com...
>
DBVERIFY: Release 8.1.7.0.1 - Production on Wed Mar 24 22:00:13 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
DBV-00102: File I/O error on FILE (temp01.dbf) during read operation (-2)
"koert54" <nos...@spam.com> wrote in message
news:TDm8c.11488079$Id.19...@news.easynews.com...