* A. Costa <[email protected]> [20090813 13:50]:

> Alas, 'gddrescue' can take down a system...

> I had about 250 megs free on my root file system, (which includes
> '/var/log'), and was using 'gddrescue' to rip a scratchy DVD, but NOT on
> this root file system.  The output was to be on an external USB
> HD with 10G free.  So far so good, or so it seemed.

> I'd tried 'dd_rescue' earlier this week, and had noticed a few hundred
> megs of HD space seemed missing, but hadn't gotten around to looking
> into it yet, or learned or suspected the cause.

> After 5 minutes of 'ddrescue' my '/' drive was 100% full and write only.
> I had to reboot in Knoppix, fix the file system and look around for what
> ate up the space.  I found this:

[...]
> Those last 5 are abnormally large.

>     % tail /mnt/hda3/var/log/messages
>     Jun  2 04:52:00 Arf kernel: ide: failed opcode was: 0xef
>     Jun  2 04:52:00 Arf kernel: hdc: drive_cmd: status=0x51 { DriveReady 
> SeekComplete Err
>     or }
>     Jun  2 04:52:00 Arf kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
>     Jun  2 04:52:00 Arf kernel: ide: failed opcode was: 0xe7
>     Jun  2 04:52:00 Arf kernel: hdc: drive_cmd: status=0x51 { DriveReady 
> SeekComplete Err
>     or }
>     Jun  2 04:52:00 Arf kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
>     Jun  2 04:52:00 Arf kernel: ide: failed opcode was: 0xec
>     Jun  2 04:52:14 Arf kernel: Kernel logging (proc) stopped.
>     Jun  2 04:52:14 Arf kernel: Kernel log daemon terminating.
>     Jun  2 04:52:15 Arf exiting on signal 15

[...]
> Suggested remedies, one, some or all of these might be good:

>     1) Selectively turn off kernel logging, if possible.

It's the kernel, not gddrescue. And logs are something you'd like to
get if you enabled them. If you don't want logging, then disable it. :)
So: no.

>     2) Measure the logging, then quit if it gets dangerous.

What if another program logs and that's by intention?
No.

>     3) Compress the logging, since it compresses well.

No, that's not an action you'd like to automatically execute.
Use logrotate if you'd like to compress your logs (or make sure
you've enough space available on your root-fs, I recommend booting a
live system for data rescue purposes though anyway).

>     4) At least warn users of their peril in the docs.

That's something I can provide. Will do.

thx && regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to