Hello,

sometimes it happens that file is locked. To see if there is any
process, execute:

fuser -mv [file_name]

- the output shows you PID. Then kill this process:
kill -9 [PID] as root user or use sudo.

The second options is that your file is corrupted on disk. Therefore
also try fsck.

Usage: fsck.ext3 [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]
                [-I inode_buffer_blocks] [-P process_inode_size]
                [-l|-L bad_blocks_file] [-C fd] [-j external_journal]
                [-E extended-options] device

Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to the
badblock list
 -f                   Force checking even if filesystem is marked
clean
 -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list


So good luck!

On Feb 3, 8:21 am, Sim Roo <[email protected]> wrote:
> I have rebooted and tried every method mentioned of rm....but the
> files are still there (taking up 4gb of space). I did another backup
> to a directory with a different name ..... so at least I have a
> backup ...... but removing a file should be a very basic operation.
> I originally formatted the drive under Windows using NTFS, perhaps
> this is a factor, though I thought that Linux could handle this.
>
> Is there a simple method of Formatting under Linux (that can also be
> read in Windows) to save me from booting in Windows ?
>
> On Feb 3, 7:46 am, Robert Smith <[email protected]> wrote:
>
> > On Mon, 2 Feb 2009 13:13:45 -0800 (PST)
>
> > linuxonbute <[email protected]> wrote:
>
> > > And if that doesn't work it might be that there are hidden characters
> > > in the .avi bit so you could try
> > > something like sudo rm para*
>
> > Might also be that a process has the file(s) locked through reboots.
> > Check the output of "ps aux | less" and look for a process that is using
> > "parachute.avi." If you find it in the list, issue the commend "sudo
> > kill (process ID#)", substituting (process ID#) for the actual PID of
> > the process as listed.
>
> > --
> > Rob Smith
> > Linux, because software, like people, deserves to exist in an open,
> > sharing environment. #!CrunchBang Linux v.8.10.01
> > Claws Mail 3.5.0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ubuntu Linux" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubuntulinux?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to