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: TurkBear <jgreco1_at_mn.rr.com>
Date: Tue, 05 Feb 2002 15:35:24 -0600
Message-ID: <4uj06ucuv9fvo04tpuj9n7h8mvjptqtls5@4ax.com>


To answer you specific question, you can't delete them because Oracle is using them and NT ( or any other OS as far as I know) will not you delete a file that is in use...

Connor McDonald <connor_mcdonald_at_yahoo.com> wrote:

>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

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!  Check out our new Unlimited Server. No Download or Time Limits! -----== Over 80,000 Newsgroups - 19 Different Servers! ==----- Received on Tue Feb 05 2002 - 15:35:24 CST

Original text of this message

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