Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to simulate a disk failure
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
![]() |
![]() |