[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail.c: 836: recheck: Assertion `valid_file_spec (f)' failed (linux, ke

From: Roberto Nibali
Subject: tail.c: 836: recheck: Assertion `valid_file_spec (f)' failed (linux, kernel 2.4.x, coreutils 5.2.1)
Date: Fri, 03 Dec 2004 14:33:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913


[please cc when replying as I'm not subscribed to this list]

I have a strange problem I'm trying to understand. I know in which lines of tail.c the code fails but I cannot imagine why valid_file_spec() returns false. It has something to do with large files (>2GB) and them being on a DRDB partition over md0.

A tail or tail -f on a 10GB file on a physical partition of a SCSI disk works like a charm, however if I run those commands on a DRDB mounted partition, I get a EX_IOERR for normal tail and this assertion failed for a tail -f plus an EX_IOERR.

aa: # tail /data/log/zurich/
error reading `/data/log/zurich/': Input/output error
aa: # tail -f /data/log/zurich/
error reading `/data/log/zurich/': Input/output error
tail: tail.c: 836: recheck: Assertion `valid_file_spec (f)' failed.
aa: #

Has anyone ever encoutered this before? It could be an issue with the rather strange entries I have in my kernlog:

Dec  3 00:00:02 aa attempt to access beyond end of device
Dec  3 00:00:02 aa 93:00: rw=0, want=72089604, limit=72072960
Dec 3 00:00:02 aa EXT3-fs error (device drbd(147,0)): read_block_bitmap: Cannot read block bitmap - block_group = 550, block_bitmap = 18022400

EXT3-fs warning: mounting fs with errors, running e2fsck is recommended CN aa

Best regards,
Roberto Nibali, ratz
addr://Rathausgasse 31, CH-5001 Aarau  tel://++41 62 823 9355
http://www.terreactive.com             fax://++41 62 823 9356
terreActive AG                       Wir sichern Ihren Erfolg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]