Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to simulate a disk failure

Re: How to simulate a disk failure

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Tue, 05 Feb 2002 19:57:08 +0000
Message-ID: <3C603914.7DB3@yahoo.com>


Leigh Gold wrote:
>
> We have a test machine which we use to test our backup and recovery
> procedure.
>
> I was trying to simulate a disk failure by deleting datafiles from a
> particular disk drive (D) but kept getting 'sharing violation' error. Oracle
> is running at that time and not other users are on. Any idea why I couldn't
> delete those files?
>
> It is Win NT 4.0 with oracle 8.1.6.
>
> Thanks,
>
> Leigh

'ocopy' is designed for backing up datafile whilst they are still open, ie, 'ocopy datafile-name backup-location'. I haven't tried, but maybe you could try 'ocopy piece-of-junk datafile-name'

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Tue Feb 05 2002 - 13:57:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US