xfs
[Top] [All Lists]

Re: Undeletable file

To: utz lehmann <xfs@xxxxxxxxxx>
Subject: Re: Undeletable file
From: Mihai RUSU <dizzy@xxxxxxxxx>
Date: Mon, 19 Nov 2001 20:53:06 +0200 (EET)
Cc: Vincent Bernat <bernat@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20011119194422.A18976@s2y4n2c.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Mon, 19 Nov 2001, utz lehmann wrote:
> First you should check the filesystem (xfs_check or xfs_repair -n). Maybe
> the lockups produced some filesystem corruption.
>
>
> The trick is to truncate the file below 2GB. Then your rm should work.
>
> Try ">emufs.s.out" on a shell. If this works, you have a 0 byte emufs.s.out.
>
> If this doesnt work, you could try the attached c program. It truncates a file
> to a given number of bytes:
>
> trunc 0 emufs.s.out
>
>
> Hope that helps.
>
> utz
>
Hi

probably im wrong but have you tried cat /dev/null > <myfile> first and
then try remove it ?

----------------------------
Mihai RUSU
"... and what if this is as good as it gets ?"


<Prev in Thread] Current Thread [Next in Thread>