[Linux-cluster] GFS2 not able to remove a file

Marc Grimme grimme at atix.de
Thu Mar 8 20:33:11 UTC 2012


Hello,
Nothing.

# lsof -b +M -n -l 2>/dev/null | grep messagebus
#

The server/cluster was rebooted a few times. I'm pretty sure that no application is using this file.


Regards Marc.
----- Original Message -----
From: "Rajagopal Swaminathan" <raju.rajsand at gmail.com>
To: "linux clustering" <linux-cluster at redhat.com>
Sent: Donnerstag, 8. März 2012 18:40:57
Subject: Re: [Linux-cluster] GFS2 not able to remove a file

Greetings,

On Thu, Mar 8, 2012 at 8:34 PM, Marc Grimme <grimme at atix.de> wrote:
> Hello,
> I'm having a strange behavior of a GFS2 file system.
>
> I have a file I can write to and read from. But I cannot delete the file or move it.
> I've already done an fsck but with no effect.
>
> see below
> ---------------X8-------------
> [root at server run.old]# cat messagebus.pid
> 4000
> [root at server run.old]# echo 4001 > messagebus.pid
> [root at server run.old]# cat messagebus.pid
> 4001
> [root at server run.old]# rm messagebus.pid
> rm: remove regular file `messagebus.pid'? y
> rm: cannot remove `messagebus.pid': No such file or directory
> ---------------X8-------------
>

What does lsof <filename> says?

--
Regards,

Rajagopal

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list