LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2012, 04:30 AM   #1
Shnooter
Member
 
Registered: Sep 2005
Posts: 30

Rep: Reputation: 15
Unable to remove 2 files


Hi all,

I'll firstly give you the background. Basically I've been having issues with Valve's new SteamCMD for the gameserver Counter Strike : Global Offensive. So I decided to just remove all the files associated with it to do a fresh download. This is where I've ran into my problem.

There are 2 files that when I try to delete them I get the following errors:
Code:
rm: cannot remove `srv-counterstrikego/csgo/csgo/resource/csgo_german.txt': Input/output error
rm: cannot remove `srv-counterstrikego/csgo/csgo/resource/chat_swedish.txt': Input/output error
From searching around online most of the posts keep saying that the hard drive is failing although I'm not sure as this is the only incident that I've had and I'm thinking it might be a result of the buggy SteamCMD server client.

Does anyone have any ideas how I could go about removing these files please?

Any help would be greatly appreciated! Thanks
 
Old 06-09-2012, 04:33 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Can I know the command you are using to remove these files?
 
Old 06-09-2012, 05:07 AM   #3
Shnooter
Member
 
Registered: Sep 2005
Posts: 30

Original Poster
Rep: Reputation: 15
I'm using the command below:-
Code:
rm -rf srv-counterstrikego/*
I've also tried browsing to the directory and removing the file. Although one thing I did notice the first time is that is said the file was a directory at which point I used the below connect

Code:
rmdir filename.txt
Since then I just get the I/O error
 
Old 06-09-2012, 05:18 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I believe you have a corrupted superblock in your HDD
you can check using e2fsck or dumpe2fs

Code:
#e2fsck /path_to_partition

#dumpe2fs /path_to_partition | grep superblock
 
1 members found this post helpful.
Old 06-09-2012, 08:08 AM   #5
Shnooter
Member
 
Registered: Sep 2005
Posts: 30

Original Poster
Rep: Reputation: 15
I've rebooted the server and the 2 files are now gone so not sure what was going on there.

Thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to remove vavoom-1.33 Piyush M Linux - Software 2 02-27-2012 01:46 AM
Unable to remove directory twk Linux - Software 3 10-13-2009 08:12 PM
Unable to remove files solarize Linux - Software 6 08-20-2006 06:09 AM
Unable to remove usbcore MOHCTP Debian 4 07-08-2005 10:14 AM
unable to remove files/folders timsch75 Linux - Software 2 03-01-2004 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration